Printing PDFs in Gnome
May 26th, 2007 — maxwellGnome printing doesn’t seem to have a way to print to a PDF directly, although KDE does. It’s getting annoying to save a document as PS, then use ps2pdf to change it. Apparently this is a common package, but I never knew it existed. I found a package that finally works on CentOS 4.5, it’s actually a FC4 package.
The maintainer is Remi
Install that, it’ll add a “Cups-PDF” printer automatically and restart
cups. After that:
mkdir /home/user/cups-pdf
vim /etc/cups/cups-pdf.conf
#change linux 44 to your out directory
Out ${HOME}/cups-pdf
Now when you go to print a file, you can choose cups-pdf and it’ll automatically convert it for you. This time it seems to work well. Of course if we go to CentOS5, then we’ll have to pick a FC package 5 or 6 that will work correctly. I know you can use KDE’s printing menu just fine, but I’ve always had problems making Firefox use KDE’s printing menus over Gnome.





