Home‎ > ‎Posts‎ > ‎Posts - Oldest‎ > ‎

Setting up PDF Printer

posted Dec 21, 2009, 1:39 AM by Thiyagaraaj M   [ updated Dec 21, 2009, 1:43 AM ]

Not everyone has a printer at home and many of you must be printing files at some internet cafe. It helps to get the document converted to PDF before taking it for printing.
Although OpenOffice.org has a export to PDF option it may not be useful always. ex. If you want to print a webpage, you will need to save it, open in OpenOffice.org and then export it to PDF.
At times you may not have OpenOffice.org installed on your system.

Following procedure helps you set up a PDF printer which can be used from print dialogs in any application.

  1. Install cups-pdf by using:
    $sudo apt-get install cups-pdf
  2. Ubuntu 5.10 and older versions only - Edit /etc/cups/cupsd.conf and change the line that says:
    RunAsUser Yes
    RunAsUser No
  3. Restart cupsys:
    $sudo /etc/init.d/cupsys restart
  4. Add a new printer (System->Administration->Printing) selecting the “Local Printer”->“PDF Printer” option.
  5. In the next step choose “Generic Printer” and then use the “Postscript Color Printer (Ver 3)” driver. Version may differ depending on your Ubuntu version.
  6. Leave the driver set to “Standard (suggested)”
  7. Provide a name for printer, something like PDF_Local_Printer
Now you should be able to print to pdf by selecting the newly setup printer.
The output .pdf files are stored in your “Home” directory in PDF subdirectory.
You can edit /etc/cups/cups-pdf.conf to change different options related to cups-pdf
All contents are under GNU Free Documentation Licence
Source : http://ubuntu-in.info/wiki/index.php/Setting_up_PDF_printer