How to Create PDF Documents in Ubuntu
Posted by admin on May 6th, 2007
Email This Post
We need to install cups-pdf this software is designed to produce PDF files in a heterogeneous network by providing a PDF printer on the central fileserver. It is available under the GPL and is packaged for many different distributions or can be built directly out of the source files.
Install cups-pdf
sudo apt-get install cups-pdf
You need to chnage the following file permissions
sudo chmod +s /usr/lib/cups/backend/cups-pdf
Configure CUPS for the PDF printer.
- 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
When printing from any application, select the newly created postscript-color-printer-rev3b printer to generate PDF files.
Output files are stored in your home directory under /PDF subirectory.
To change the default location of the PDF output
Edit the /etc/cups/cups-pdf.conf file
gksudo gedit /etc/cups/cups-pdf.conf
look for
Out ${HOME}/PDF
and change to something like below
Out ${HOME}/my_print_to_pdf_folder
and restart
sudo /etc/init.d/cupsys restart
If you want to be notified the next time we write something please subscribe to our RSS feed.Thanks for Visiting!


May 12th, 2007 at 1:03 am
Thanks a lot bro, works like a charm!
May 17th, 2007 at 3:35 am
Installed perfectly, but have a problem in printing Pages from Firefox. It prints pages frame by frame not exactly how it’s layout.
Before Installing the printer, the Print Preview was generating pages as displayed, but not now. How can I avoid this
July 3rd, 2007 at 12:58 am
Anyone got directions on how to do this under KDE? I’ve installed CUPS-PDF package, but it isn’t allowing me to install a local printer. =/
July 22nd, 2007 at 8:42 pm
Man , this is magic ? works perfect my sons and daughters ::who needs windows ? LOL
August 10th, 2007 at 4:11 am
Flawless. Thanks!
September 3rd, 2007 at 3:46 pm
Nice….it is very wonderfull, and right now I don’t need windows again…:)
January 26th, 2008 at 12:29 am
For some reason I can only get ps output from this? Obviously I’m doing something dumb (and I can always use ps2pdf to convert, just want to know what I might be missing!)
April 9th, 2008 at 4:50 pm
Excellent! works great. Thank for the tips.