Ubuntu Geek

Ubuntu Linux Tips,Howtos&Tutorials|Edgy,Feisty,Gutsy,Hardy

  • RSS Feed

    subscribe to the ubuntu Geek RSS feed




  • Sponsor

  • Categories

  • Meta

  • Sponsor

  • Archives



  • WidgetBucks - Trend Watch - WidgetBucks.com

How to Create PDF Documents in Ubuntu

Posted by admin on May 6th, 2007 Email This Post Email This Post

If you are using OpenOffice it is very easy to create documents there is an option in the File menu ‘Export as PDF’.For other applications, you will need to do the following procedure

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!

Related Articles

8 Responses to “How to Create PDF Documents in Ubuntu”

  1. Bernardo Says:

    Thanks a lot bro, works like a charm!

  2. Abhishek Says:

    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

  3. Sean Says:

    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. =/

  4. dechef Says:

    Man , this is magic ? works perfect my sons and daughters ::who needs windows ? LOL

  5. Herati Says:

    Flawless. Thanks!

  6. Beben Says:

    Nice….it is very wonderfull, and right now I don’t need windows again…:)

  7. Ken Says:

    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!)

  8. steven Says:

    Excellent! works great. Thank for the tips.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>