Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

3 Answers 3

up vote 8 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
1  
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

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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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