Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to install a printer that prints to pdf?

There's a lot of discussions about this in the web foruns, but none seens to work.

share|improve this question
up vote 14 down vote accepted

Ubuntu ships with this functionality. Try opening gedit Install gedit or another GUI text editor and clicking the print button:

enter image description here

When the Print dialog appears, select the "Print to File" printer and select a location for the PDF. After clicking Print, you should end up with a PDF file in that location containing an identical copy of what would have printed on a sheet of paper.

enter image description here

share|improve this answer
It's correct, the problem is with wine! Apps running under wine will not have access to this printer.. :( – Tom Brito Nov 22 '11 at 19:44
The cups-pdf printer is available also for applications running under wine. – tohuwawohu Nov 23 '11 at 8:55
a lot of other image and text viewers and editors have this option – cipricus Jun 7 '12 at 15:55
This built in printer only shows up in certain applications... For example, it doesn't show up in Thunderbird or LibreOffice. – foobarbecue Sep 14 '15 at 9:45

If you've CUPS installed, you can easily add a "PDF Printer" by installing the cups-pdf Install cups-pdf package:

$ apt-get install cups-pdf

The pdf printer provided by that package will "print" the resulting PDFs into the /home/[user]/PDF directory.

share|improve this answer

Whenever you print , there is already an option for "print to file". I hope you are talking about that.. if not then please elaborate your question

share|improve this answer
Yes, depending on the software you are using there's already this option. But for Astah UML, for example, there isn't. I would like something like the "print2pdf" software (this one, for Windows). – Tom Brito Nov 22 '11 at 19:28

protected by Community Jan 27 at 21:14

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.