Archive for the 'Printing' Category

Exporting to PDF

Posted by Tips on November 18th, 2006

If you’ve ever used OS X there’s one great feature where you can print anything as a PDF file. To do this in Linux is easy as well but you need to configure your system properly. Thanks to Dave (dbott67)on Ubuntuforums for a great tutorial. This howto saved me from insanity. It also probably saved a few trees as well!
First you will need to install cups-pdf

apt-get install cups-pdf

There was a bug that required a special command for Ubuntu more can be read about it here. From the bug it seems the problem has been resolved for awhile. If you have not updated your system it’s possible you are still using the older package and a update should resolve any issues with selecting a pdf printer in cups.

- Select SYSTEM > ADMINISTRATION > PRINTERS > NEW PRINTER
- Select LOCAL PRINTER
- Use detected printer: PDF PRINTER
- Select Print Driver:
- Manufacturer: Generic
- Model: Postscript Color Printer
- Name: postscript-color-printer-rev3b
- Click APPLY

Also dowdberry has published a part to make the pdf printer default.


Edit the /etc/cups/cups-pdf.conf file
Code:gksudo gedit /etc/cups/cups-pdf.confSearch for:
Code:Out ${HOME}/PDFand change to something more meaningful:
Code:

Out ${HOME}/my_print_to_pdf_folder

and restart:
Code:

sudo /etc/init.d/cupsys restart

And that’s it!  Enjoy!