The new version 10.04 Lucid Lynx of Ubuntu is probably the best to date. Among the highlights are the amazing boot and shutdown speed (less than 30 seconds to be ready for use and almost instantaneous shutdown on my current PC!), a very easy installation that is a snap even for a "normal" user, an improved and nicer-looking desktop theme, a great Software Center that is much more user-friendly than Synaptic and quickly helps you find the application you're looking for, and more... This version is surely a big step toward the vulgarization of the Linux desktop for the non-geek user community.
However, as it is customary with Linux distros, there are still some glitches that can be quite frustrating. One of them, that I found very soon, has to do with printing: the PDF printer (so useful) was not initially defined and the system wide paper size was set to US Letter (I live in Europe, where the metric system rules and the standard paper size is A4). Fixing these issues turned out to be a bigger job than I thought, especially the paper size problem. I had to go through many forums and blogs to find the proper fixes, and to have it completely solved I needed to go through several steps. Since these steps are scattered all over, no where to be found together, I will list them all here for the convenience of Ubuntu users that may find themselves in the same situation. It is important that the steps are executed in the order that I list them:
1) Defining A4 as system wide standard paper size
In a Terminal window, type "sudo dpkg-reconfigure libpaper1". You have to enter your password (for users not very familiar with the Terminal, note that the password is not echoed when typed!).
Select "a4" with the space bar, tab to "OK" and hit "Enter". This will replace the "letter' size to "a4" in the system file /etc/papersize.
After doing this, restart the PC to ensure that the new standard paper size is correctly propagated.
Select "a4" with the space bar, tab to "OK" and hit "Enter". This will replace the "letter' size to "a4" in the system file /etc/papersize.
After doing this, restart the PC to ensure that the new standard paper size is correctly propagated.
2) Defining and adding the PDF printer
In a Terminal window, type "sudo apt-get install cups-pdf". You may have to enter your password as in step 1 above.
After the script has finished, go to System->Administration->Printing. You should see there the added PDF printer.
To check that the standard paper size is indeed A4, right-click on the PDF printer icon and select "Properties". In the properties window, click "Printer Options".
Finally, go to your home directory and create a folder named "PDF" if it is not there. This folder will hold all the printed PDFs.
In a Terminal window, type "sudo apt-get install cups-pdf". You may have to enter your password as in step 1 above.
After the script has finished, go to System->Administration->Printing. You should see there the added PDF printer.
To check that the standard paper size is indeed A4, right-click on the PDF printer icon and select "Properties". In the properties window, click "Printer Options".
Finally, go to your home directory and create a folder named "PDF" if it is not there. This folder will hold all the printed PDFs.
3) Defining A4 paper size for a installed printer
If an existing printer was already added to the system before executing step 1, you will need to re-install it so that the new paper size "sticks".
So, remove your printer and add it again. Open up the "Properties" window as explained above and check the "Printer Options" for A4.
If an existing printer was already added to the system before executing step 1, you will need to re-install it so that the new paper size "sticks".
So, remove your printer and add it again. Open up the "Properties" window as explained above and check the "Printer Options" for A4.
4) Defining A4 paper size in Firefox
On the address bar type "about:config". Acknowledge the warning that appears.
The entire Firefox config is displayed. On the "Filter" box, type "letter". Now, only the config items with the paper size letter will appear.
Right-click on each one of them, select "Modify", type "A4" in the text box and click OK.
On the address bar type "about:config". Acknowledge the warning that appears.
The entire Firefox config is displayed. On the "Filter" box, type "letter". Now, only the config items with the paper size letter will appear.
Right-click on each one of them, select "Modify", type "A4" in the text box and click OK.
5) Defining A4 paper size for OpenOffice
Press Alt-F2. Enter in the text box the following command: "gksudo gedit /etc/openoffice/psprint.conf". Check the box "Run in terminal" and click Run.
After entering your password, the editor window will pop up showing the contents of the /etc/openoffice/psprint.conf file.
Look for the string "PPD_PageSize=A4" (in my system it's on line 45). Uncomment this line, i.e., delete the first two columns (semi-colon + space).
Save the file.
Press Alt-F2. Enter in the text box the following command: "gksudo gedit /etc/openoffice/psprint.conf". Check the box "Run in terminal" and click Run.
After entering your password, the editor window will pop up showing the contents of the /etc/openoffice/psprint.conf file.
Look for the string "PPD_PageSize=A4" (in my system it's on line 45). Uncomment this line, i.e., delete the first two columns (semi-colon + space).
Save the file.
6) Defining A4 paper size for Abiword
Press Alt-F2. Enter in the text box the following command: "gksudo nautilus". Check the box "Run in terminal" and click Run.
After entering your password, the file manger will open in root mode.
Navigate to the folder /usr/share/abiword-xx/templates where xx is the installed version of Abiword. In my system the folder is located at /usr/share/abiword-2.8/templates.
Copy the file "A4.awt" and paste it on the same window. You end up with a new file "A4(copy).awt".
Delete the file "normal.awt". Finally, rename "A4(copy).awt" to "normal.awt".
Press Alt-F2. Enter in the text box the following command: "gksudo nautilus". Check the box "Run in terminal" and click Run.
After entering your password, the file manger will open in root mode.
Navigate to the folder /usr/share/abiword-xx/templates where xx is the installed version of Abiword. In my system the folder is located at /usr/share/abiword-2.8/templates.
Copy the file "A4.awt" and paste it on the same window. You end up with a new file "A4(copy).awt".
Delete the file "normal.awt". Finally, rename "A4(copy).awt" to "normal.awt".
7) Defining A4 paper size for Gnumeric
Open Gnumeric. Go to File->Page Setup. In the first tab (Page), click "Change Paper Type".
In the "Paper Size" dropdown list, select A4, then click Apply.
Back to the Page tab, check the box "Save as default settings" and click OK.
Open Gnumeric. Go to File->Page Setup. In the first tab (Page), click "Change Paper Type".
In the "Paper Size" dropdown list, select A4, then click Apply.
Back to the Page tab, check the box "Save as default settings" and click OK.
You may skip the steps for the applications you don't use. After those steps I was able to print PDFs and not to worry about resetting the paper size every time.
Hope it will work for you too. If not, feel free to comment and share your own experience with me...





