Sunteți pe pagina 1din 21

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

Ubuntu Blog
Not quite everything about Ubuntu, but close.

Print to PDF using cups-pdf

March 23, 2006

Posted by Carthik in ubuntu.


trackback
I have been looking for a solution to print any file to pdf using a pdf printer driver.
cups-pdf is the package I was looking for apparently. But unfortunately, this takes just a little setting up.
Install cups-pdf by using:
$sudo apt-get install cups-pdf
Edit /etc/cups/cupsd.conf and change the line that says:
RunAsUser Yes
to
RunAsUser No
Restart cupsys:
$sudo /etc/init.d/cupsys restart
Add a new printer (System->Administration->Printing) selecting the Local Printer PDF Printer
option. In the next step choose Generic Printer and then used the Postscript Color Printer (Ver 3)
driver.
Now you should be able to print to pdf by selecting the newly setup printer.
Cribs:
1) The output .pdf files are stored in your Home directory. I cant find a way to change this output
directory to something of my liking
2) The output files are named with pre-defined names (job_8-untitled_document.pdf is an example). It
would have been nice to select a name while printing.
3) One shouldnt have to edit the cupsd.conf file to enable printing! (I found that I might have to edit the
configuration file by visiting the homepage of the package, and trying out what I did). At the very least,
the README.Debian file for the package should have informed me of the need to edit the configuration
file.

1 de 21

27-11-2014 14:33

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

Comments
1. Andre - March 23, 2006
I use a somewhat different approach. When printing I substitute kprinter for lpr. This pops up the
KDE print dialog, which includes an option to produce PDF. It doesnt matter that I use GNOME
instead of KDE, it still works fine. You need to install the kdeprint package to do this.
Reply
2. ubuntonista - March 23, 2006
Andre, nice solution! Had I known of that, I peobably wouldnt have spent the time I did configuring
cups-pdf.
Reply
3. Marius - March 23, 2006
Just tried this, and the generated PDF is unreadable, the font seems to be messed up (way too small).
Also, the pdf file name is strange, the print dialog box (in Firefox) says one thing and then on the
filesystem there is some long strange file.
I am using Breezy. What version of Ubuntu did you use?
Reply
4. manuel - March 23, 2006
first id like to thank you for your great blog its always interesting to read and helps me a lot with
my newbies-day-to-day problemskeep up the excellent work :)
but i have some problems getting andres solution to work i installed kprinter, but what are the
next steps? when the print dialogue pops up there is no option for printing to pdfwhat else do i
have to do?
thanks,
manuel
Reply
5. Andre - March 24, 2006
Manuel,
Im using version 3.4.3 of kdeprint (the version in Breezy). The printer pull-down lets me choose
which printer to use. One of the printers is Print to File (PDF), which then lets you enter the file
name.
Reply
6. Stephen Paulger - March 31, 2006
I found this very useful, thank you. Now if I could figure out a way to share the pdf printer to make
a network PDF printer.
Reply
2 de 21

7. Kumbakara - April 8, 2006

27-11-2014 14:33

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

Good post..helped me to get cups-pdf installed on Ubuntu 5.10!


Editing the cupsd.conf..and restartinga confusing step to take in the overall good Gnome/Ubuntu
desktop support for adding printers in general
Anyway..tnx

Reply
8. Brian Dailey - April 28, 2006
Another (easier for the rare occasion) way is to use the default Ubuntu install, choose the
Postscript/default printer, then print to a file. Then in terminal use ps2pdf to convert the postscript
document into a PDF.
Reply
9. Ricardo Yanez - May 6, 2006
cups-pdf didnt work right with firefox until I installed xprint (Breeze Badger).
Reply
10. Casey Watson - May 9, 2006
I followed these steps, but I had to use the Postscript Printer instead of Postscript Color Printer
(Ver 3). I still get color though.
Also the pdfs are placed into ~/PDF on dapper.
Reply
11. Allan - May 13, 2006
I cheated nd printed to a file as pdf, then run the following shell script every minute or so, saving the
pdf version to workarea/pdf:
#!/bin/sh
# -*- shell-script -*OLD_WD=${PWD}
cd ${HOME}/workarea/pdf/
for f in ${HOME}/*.ps
do
if [ -f $f ]; then
RES=$(tail -n1 ${f} | grep -q %%EOF ; echo $?)
if [[ ${RES} -eq 0 ]]; then
ps2pdf14 $f && rm -f $f
fi
fi
done
cd ${OLD_WD}
Reply
12. evershade - May 25, 2006
unfortunately ive had no luck with either the blog method or the kprinter method on dapper.
but it looks like you can change the output location in:
/etc/cups/cups-pdf.conf
Reply
3 de 21

27-11-2014 14:33

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

13. Simon - May 27, 2006


As one can read on CUPS-PDF the RunAsUser option is not anymore awailable in CUPS version 1.2
(which is used in UBUNTU 6.06 dapper drake).

It says on the amove mentioned webpage that: Starting with version 1.2.0 CUPS implements the
RunAsOption no longer. In order to ensure CUPS-PDF is running with the required root privileges
you have to make root the owner of the cups-pdf backend and set the file permissions of the
backend to 0700 (root only).
the cups-pdf backend is at /usr/lib/cups/backend/
Ive tried to sudo chmod 0700 cups-pdf but without success. Is there anyone who know who to deal
with this?
Simon
Reply
14. Simon - May 27, 2006
Ok. Finally found out how it works (here):
Simply do a sudo chmod +s /usr/lib/cups/backend/cups-pdf.
Good luck
Simoin
Reply
15. Brian - June 12, 2006
For those who like everything in once place, following method worked great for me on Dapper
Thanks for the tips!
In a terminal:
sudo apt-get install cups-pdf
(You can use synaptic to install cups-pdf too if you like)
sudo chmod +s /usr/lib/cups/backend/cups-pdf
In Gnome:
System > Administration > Printing
New Printer
Local Printer & Use A Detected Printer click on PDF Printer
Choose Generic as the manufacturer
Choose postscript color printer rev3b
Leave the driver set to Standard (suggested)
Too bad you cant choose a name & location for it to save too, but at least its in a sensible location
(~/PDF)
Too bad this isnt enables by default, I love KDEs built-in PDF printer.
Reply
4 de 21

16. Tobias - June 12, 2006

27-11-2014 14:33

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

In my /etc/cups/cups-pdf.conf on my debian box I can find this:


### Key: Out
## CUPS-PDF output directory
## special qualifiers:
## ${HOME} will be expanded to the users home directory
## ${USER} will be expanded to the user name
## in case it is an NFS export make sure it is exported without
## root_squash!
### Default: /var/spool/cups-pdf/${USER}
Out ${HOME}/PDF

Changing the value should help. There are also options for changing the output name. Without
having changed anything in my cups-pdf.conf file I get the webpage or document title as pdf title.
Reply
17. Deborah - June 21, 2006
Thanks, Brian, for the pdf printer info! Worked like a champ!
Reply
18. HeXonX - June 24, 2006
Im Running Dapper and followed Brians example and have perfect PDF printing. Thanks for the
insight. I really dont mind that it creates a PDF folder in your home directory. This keeps me
organized, besides Ive created a sym link to it in my Documents folder.
Reply
19. Russell - June 26, 2006
This will not work to use pdf printer for OpenOffice Impress handouts.
use instead:
1) install cups-pdf
2) run from cli /usr/lib/openoffice/program/spadmin
3) click New Printer
4) select Connect a PDF converter -> Next
5) select The default driver -> Next
6) for command line select line beginning with /usr/bin/gs
7) change PDF target directory to suit -> Next
8) Change the name or Finish
9) if OO is open then close it, then reopen OO
10) open Impress file
11) to print to pdf: File -> Print
12) select printer name PDF converter
13) check print to file
14) click options -> in contents, check handouts, clear the rest: click OK
15) in print dialog OK
16) select file name and location -> OK
thats it!
Reply
20. Gustavo Vega - July 26, 2006

5 de 21

27-11-2014 14:33

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

OpenOffice can export directly to pdf format. Its not necesary to use cups-pdf printer generated.

Reply
21. Andreas - July 31, 2006
Thanks Simon you have the solution of my Problem . . .
:-)
Reply
22. Noble Baker - July 31, 2006
If two web pages have the same title, printing the second one will overwrite the first. the following
setting in /etc/cups/cups-pdf.conf will prepend a job number on the file:
### Key: Label
## label all jobs with a unique job-id in order to avoid overwriting old
## files in case new ones with identical names are created; always true for
## untitled documents
## 0: label untitled documents only, 1: label all documents
### Default: 0
Label 1
Reply
23. henk - August 2, 2006
help!
I cant choose kprinter! The ONLY options I get when clicking on properties is page size, color or
grayscale and margins. No other options whatsoever!
Reply
24. triple DDD - August 13, 2006
Hi
I thought I would add my two cents. At least when you are browsing in Firefox you can save to a pdf
by simply clicking the print to file option in the print dialogue window ( I hate that word
window!). It provides an empty area for typing a title and magically saves it as a pdf. I am using
Kubuntu, kdeprint was installed as part of the system. I am assuming that it is the same in the
Ubuntu system as well. I hope this helps.
Dave
Reply
25. Robertjm - August 14, 2006
Thanks Brian! That worked great and I didnt have to edit the CUPS file at all. Now if there was a
way to rename the ugly name it installed as to simply Cups-PDF, or something like that!!
Reply
26. Peter Anderson - August 16, 2006
Thanks everyone,
However, there is always a kill-joy'; all these PDF printing options seem to work well with the
limited testing I have done EXCEPT for THIS page! When I try to print THIS page (either as a PDF, a
6 de 21
27-11-2014 14:33
file or to hard copy using my laser printer I only get two pages of which only the first has any

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

content. Printing stops after the first line of 3. Marius March 23, 2006
Very strange!
But thanks anyhow for the great ideas.
Regards,
Peter

Reply
27. Mac 2 Ubuntu Ubuntu does everything my Mac did but better! - September 1, 2006
[] install cups-pdf sudo chmod +s /usr/lib/cups/backend/cups-pdf Go to System >
Administration > Printing Double-Click New Printer Use the detected PDF Printer and click
Forward Select Generic for the manufacture and click Forward Give it a more informative name such
as Print-PDF (sorry, no spaces) and click Apply Now when you print, select your Print-PDF
printer, and print! Your PDF will be saved in the PDF directory in your Home directory. Thanks to
Brians comment on this ubuntu blog entry. The body of this post does not contain up-to-date
directions. Follow mine! []
Reply
28. Ted Roche - October 3, 2006
A minor correction to the original post: the URL for cups-pdf is:
http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/
Great post! Thanks for the tips and thanks to the commenters for the help!
Reply
29. Sergio Ruiz - November 1, 2006
Thanks Russell. PDF export didnt work for me as I was using a PostScript font, now it is perfect
with your solution THANK YOU!!!
Reply
30. Biosphere.silene Blog Archive Add a PDF printer - November 17, 2006
[] Bron: http://ubuntu.wordpress.com/2006/03/23/print-to-pdf-using-cups-pdf/ []
Reply
31. Craigs Blog cups-pdf installing - November 17, 2006
[] The following steps are by Brian for cups-pdf version 1.2 at http://ubuntu.wordpress.com
/2006/03/23/print-to-pdf-using-cups-pdf/#comment-2233 []
Reply
32. krishan - November 21, 2006
Responding to Brian (comment 8), one can use ps2pdf directly for the print
print instead of using the default lpr
choose the Postscript/default printer -> properties
Then, in the print command box, use the following command
ps2pdf
7 de 21

> $HOME/mozillaprint_$$.pdf

27-11-2014 14:33

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

this creates a pdf file in your home directory called mozillaprint_$$


the $$ means to tag in the pid of the ps2pdf process, which is unique every time
you run it. Which means you get a different pdf file for each job.
The downside of this method is that whenever you press the print button, you
ALWAYS end up with a pdf file.
krishan

Reply
33. denise - December 20, 2006
Thanks for info.
I always seem to have a problem printing from WordPress sites in Firefox. For example, I printed
this blog page using CUPS-PDF. Two pages were created, but only the first had the text block. This
text block bleeds off the page cutting off the text at the third comment.
No text appears on page two.
Anything that can be done about printing WordPress pages such as this page?
Reply
34. bubu - January 1, 2007
Instead of
sudo chmod +s /usr/lib/cups/backend/cups-pdf
use
sudo dpkg-statoverride update add root root 4755 /usr/lib/cups/backend/cups-pdf
This will ensure correct permissions even after update.
Reply
35. JMarie - February 1, 2007
I have exactly the same problem as Denise and Peter Anderson; THIS page does not print entirely
with cups-pdf: only the 1st page prints and the 2nd is blank.
Reply
36. Making PDFs with free software - PureTalkForum.com - Talk about anything community, arcade
& more! - February 10, 2007
[] versatile as PDFCreator, it provides the base functionality needed to be effective. Check out the
Print to PDF using cups-pdf blog entry for installation and usage tips; read through the comments
for some additional use scenarios and []
Reply
37. RinkleFree.com - Sam Daouds Personal Website Making PDFs with free software - February 12,
2007
[] versatile as PDFCreator, it provides the base functionality needed to be effective. Check out the
Print to PDF using cups-pdf blog entry for installation and usage tips; read through the comments
for some additional use scenarios and []
Reply
38. Drakke - February 13, 2007
8 de 21
27-11-2014 14:33
The problem printing this page (and some others) is not cups-pdf. I can print all the pages (about 6)

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

using cups-pdf and Konqueror; with Iceweasel 2.0.0.1 (Firefox for non-Debian distros) was imposible
for me. I thing that maybe is some strange behavior in the way that firefox parses CSS.
If you try the print preview, you can see than the frame that had the content dont break at the end
of the page, it continue, go on behind of the next page I dont know if the problem is only in this
version or only in the Debian distro
P.D. My english is bad, so Im sorry if I write something strange o wrong ;)

Reply
39. Ike Hall - February 27, 2007
Brian, your solution worked brilliantly. Im running Ubuntu Edgy. Thanks to everyone for their
suggestions!
Reply
40. dmom - March 4, 2007
Thanks for this !
I followed the steps you outline here generally, but I used the Synaptic GUI and the CUPS web
interface, and didnt change system settings (run as user). These were all there already on a default
install of Ubuntu (6.10/Edgy).
I think this might be a little more friendly for some people, if so, you can see my description and
some screen shots @ http://cuasan.wordpress.com/2007/03/01/print-anything-to-a-pdf-documentin-gnulinux/
Thanks again for outlining this !
Reply
41. Print anything to a PDF Document in GNU/Linux An Cuasn - March 4, 2007
[] however, to find that Envince wouldnt output Postscript to PDF. A quick search showing this
made me happy again. Its a more elegant solution in that it goes directly to PDF rather []
Reply
42. shiva - March 11, 2007
OK I can find the .pdf in the ~/pdf directory. But my printer (Canon S330) doesnt churn out a hard
copy. It otherwise works out well from OpenOffice
Reply
43. Wydruk do pdf przy uyciu cups-pdf Bazyl 2.0 - March 18, 2007
[] Posted marzec 18, 2007 Poradnik ten jest praktycznie wiernym tumaczeniem tekstu ze strony
ubuntu.wordpress.com , poprawionym na moje wasne []
Reply
44. Maurice Fellay - April 4, 2007
Hey, regarding where to put the pdf file, on the print screen (besides the printer selected) there is a
check mark to print to a file, using that option it is quite easy to tell cups-pdf where to send and how
to name the generated PDF.
Reply
45. forum - April 8, 2007
9 de 21
Its really works for me.Thanks dude.

27-11-2014 14:33

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

Reply
46. Receptes Linux Imprimir a fitxer PDF - April 11, 2007
[] la primera pedra).Com que no hi havia versi per a gnu/linux, vaig buscar a St. Google i vaig
veure que era molt simple:En un terminal, cal cridar la segent comanda:sudo aptitude install []

Reply
47. Pavel Chovank | BLOG Blog Archive Tisk dokument do PDF v Ubuntu 6.06 Dapper a 6.10
Edgy Eft - April 14, 2007
[] Ubuntu Linux Lovers Blog []
Reply
48. Wendell - May 2, 2007
FWIW, this solution works great in Feisty Fawn.
Reply
49. Lord Xyrer - May 12, 2007
the kdeprint solutions is cleaner and the easiest, just change the postcript/default printer command
to kdeprint stdin an its done, it pops out the kde printing dialogue with the option to select print to
pdf file and where to save it.
Thanks a lot for this, I have been looking for it a while.
Reply
50. Creating PDF's with Free, Open Source and Commercial Apps Linux In Novells East Region May 22, 2007
[] Another possibility in the print driver replacement side of things is CUPS (Common Unix
Printing System), and in particular the CUPS-PDF module that effectively gives you a network
printer that produces PDFs on demand. Here is a link to the documentation that explains how this
all works. Someone blogged about this too, nice helpful post. []
Reply
51. Imprimir a PDF (o Como guardar a PDF cualquier documento, pagina o imagen) Leonardo
Andrs Gallego - June 6, 2007
[] Fuente de la versin cups-pdf []
Reply
52. MICHAEL PERMANA - June 16, 2007
lpadmin -x NAMEYOURPRINTER
lpadmin -p NAMEYOURPRINTER -v cups-pdf -P /usr/share/ppd/cups-pdf/PostscriptColor.ppd
cupsenable NAMEYOURPRINTER
accept NAMEYOURPRINTER
Reply
53. [Chicche] Stampa in PDF per le vostre pagine P o l l o S k y - June 28, 2007
[] ho trovato questo post in cui si spiega come fare: http://ubuntu.wordpress.com/2006/03
/23/print-to-pdf-using-cups-pdf/ []
Reply
54. Dave - August 1, 2007
Thanks folks found the solution on Fiesty http://cuasan.wordpress.com/2007/03/01/print10 de 21
27-11-2014 14:33
anything-to-a-pdf-document-in-gnulinux/

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

Reply
55. Guru - August 14, 2007
Hi, I am using the PDF Converter option in the Print button to convert the Webpage to a PDF. Can
anyone tell me how can i add a default name to the page that i am going to to PDF? My PDF
Converter name is Amyuni PDF Coverter.
Thanks in Advance.

Reply
56. Marwan ALJu'beh - August 22, 2007
its also a good idea to actually replace the PDF folder in the home directory with a symbolic link to
the folder where you place your pdf files i find this a much better way than running a script
Reply
57. JS - September 4, 2007
From Kubuntu, I did not have to change the config file. RunAsUser was not even there.
Reply
58. kill_u - September 7, 2007
Thanks
Reply
59. joypadeux - September 14, 2007
excellent it works great!!
Reply
60. bgtroll - September 28, 2007
Great new,
In the Gutsy Gabon it is installed by default :) :) :) :) :) :)
When you go to System->Administration->Printing, you can find PDF under Local Printers :) :) .
Tested with Firefox and its working yes, there are some minor problems with some colors, but
atleast is preinstalled :)
Reply
61. PDF creation Azitech - October 9, 2007
[] PDF creation All information is a summary from this article. []
Reply
62. print to pdf Azitech - October 9, 2007
[] print to pdf All information is a summary from this article. []
Reply
63. OSX Troubleshooting: PrintJobMgr exited unexpectedly with code 105 | Rick Tech - October 12,
2007
[] a large number of their printers are not postscript compatible. The driver bypasses the CUPS
printing daemon. Locally this is fine because the driver is providing the translation. But when you
throw it []
Reply
64. Cymen - October 17, 2007
Good post! My CUPS installation is running on another server though. I run KDE so I modifed
my14:33
11 de 21
27-11-2014

Print to PDF using cups-pdf | Ubuntu Blog

Firefox configuration like so:

unmht:///file.5/media/HOME/user/Print to PDF using ...

http://ubuntuforums.org/showthread.php?t=205050
But I setup CUPS to print to PDF too as a backup. Thanks!
Reply
65. DDT-MODELS - October 21, 2007
How about addressing the mess of STREAMS. And why dont some channels show up, like mine!?
Reply
66. DDT-WEBKINZ - October 22, 2007
We wanted to clear up a misconception about the nine localized sites we launched on June 19: the
content has not been broken down by region. All of your videos are available to everyone, no
matter which site you set as your default. So even if you choose a particular country as your
preference, the content available to you is still the same.
Reply
67. TvAddicted - November 22, 2007
Wow, im impressed. Your blog is very well structured and one can find alot of useful info here.
Keep it up!
Reply
68. vaquerito - November 30, 2007
Andre. What a hack. THANK you man!!!
Reply
69. rytis - December 14, 2007
To simply make cups do what it ought after typing something like
lpr -Ppdf somefile,
First cups-pdf should be present. Then you might add a cups-pdf printer in cups configuration, and
add in /etc/cups/client.conf a line
ServerName 127.0.0.1
Should work
Reply
70. octoberdan - December 18, 2007
Now prints to ~/PDF by default. You dont need to manually restart the service or manually install
the printer. the apt-get is enough. To configure:
/etc/cups/cups-pdf.conf
I then used imagemagick to convert the pdf to jpg
sudo apt-get install imagemagick
convert ~/PDF/foo.pdf foo.jpg
Reply
71. michael - December 20, 2007
I visit the blog,I find the life interesting,and I will not be upset.
Reply
72. Daniel - December 31, 2007

12 de 21

27-11-2014 14:33

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

To print to a specific localtion, just select Print to File when you print it, give him a name and
select location where you want the pdf saved. Thats all. THANKS for this wunderfull and easy PDF
Printer setup guide.

Reply
73. Fake - January 12, 2008
Select the print as a file option dont create a PDF file but a PS file even when the cups-pdf printer
is selected.
Reply
74. Mime to PDF - January 30, 2008
Does it offer server-side PDF conversion like Adlib Software products?
Reply
75. jesus - April 1, 2008
hi everybody,
Theres another way, just print document to PS format and once done open it up using kpdf,once
done if you go ahead and print the file it will automatically convert file from ps to pdf
Reply
76. Folder Printing - April 22, 2008
Thanks for this information.
In my /etc/cups/cups-pdf.conf on my debian box I can find this:
### Key: Out
## CUPS-PDF output directory
## special qualifiers:
## ${HOME} will be expanded to the users home directory
## ${USER} will be expanded to the user name
## in case it is an NFS export make sure it is exported without
## root_squash!
### Default: /var/spool/cups-pdf/${USER}
Out ${HOME}/PDF
Changing the value should help. There are also options for changing the output name. Without
having changed anything in my cups-pdf.conf file I get the webpage or document title as pdf title.
Reply
77. demard - June 4, 2008
How about addressing the mess of STREAMS. And why dont some channels show up, like mine!?
Reply
78. Greg - July 15, 2008
I have managed to share the PDF printer from my Ubuntu box to a Windows box. When adding the
printer to windows, I used the following print driver
http://www.pdfhacks.com/virtual_printer/
13 de 21

Printing to the shared printer results in a pdf being created in the default pdf location.

27-11-2014 14:33

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

Reply
79. Micheil - October 11, 2008
hmm.. I used a similar method to print svgs from Inkscape out as pdfs, although, I also used pdftk
to burst and concatenate the files as they came out, due to it being a multi-document document.. If
that makes sense.
Reply
80. Alex - February 18, 2009
Maybe you like Printruler (http://code.google.com/p/printruler/) for formatting, etc
Reply
81. Marcus - March 9, 2009
In my /etc/cups/cups-pdf.conf on my debian box I can find this:
### Key: Out
## CUPS-PDF output directory
## special qualifiers:
## ${HOME} will be expanded to the users home directory
## ${USER} will be expanded to the user name
## in case it is an NFS export make sure it is exported without
## root_squash!
### Default: /var/spool/cups-pdf/${USER}
Out ${HOME}/PDF
Dont forget to create this directory in ${HOME} otherwise it will continue to fail!!!
Reply
82. Prefabrik - August 7, 2009
It is wonderful and successfully! Perfect izahing. Thanks you all.
Reply
83. - December 17, 2009
: !!

Reply
84. miki - December 17, 2009
installed cups-pdf just fine and without any change to cupsd.conf it works.only that it does not ask
me for a name of a documentit just puts a file in pdf folder in my home folder
Reply
85. Larry Bradley - January 1, 2010
All this terminal stuff is a totally unnecessary if you are running ubuntu 9.10 (why would you NOT
be?). Open the Synaptics Package Manager, search for cups-pdf, click to mark it for installation, click
apply. Thats it. As one commentor pointed out, look for your printed pages at /home/pdf. Thats all
there is to it.
Reply
86. Stefaan - February 8, 2010
This all does not work for my Koala (Ubuntu 9.10) :-(
Whatever I tried
14 de 21

27-11-2014 14:33

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

Reply
87. Stefaan - February 8, 2010
Sorry for my former message, I was to fast in showing my discourage. But now I followed, at the
finally end, the wonderful advice of Larry Bradley and this finally works to have a pdf-file printer!!
Thanks a lot Larry! I cannot be made easier.
Reply
88. Artem - March 1, 2010
If cups-pdf error saying cups-insecure-filter,
type:
sudo chown -hR root /usr/lib/cups/filter
sudo chown -hR root /usr/lib/cups/backend
sudo chgrp -hR root /usr/lib/cups/filter
sudo chgrp -hR root /usr/lib/cups/backend
Doing this solved problem.

Reply
89. Alquiler de yates - April 23, 2010
regarding where to put the pdf file, on the print screen (besides the printer selected) there is a check
mark to print to a file, using that option it is quite easy to tell cups-pdf where to send and how to
name the generated PDF.
Reply
90. algdfa - April 28, 2010
Subject Mfbd can not forget the experience, thank you
Reply
91. Alquiler de barcos en Ibiza - May 10, 2010
To print to a specific localtion, just select Print to File when you print it, give him a name and
select location where you want the pdf saved.
Reply
92. Alquiler de barcos en Ibiza - May 29, 2010
Editing the cupsd.conf..and restartinga confusing step to take in the overall good Gnome/Ubuntu
desktop support for adding printers in general
Reply
93. bayu suwarning hadi - June 9, 2010
I really successfully print with my documents but i cant print to pdf from flash web :(
Reply
94. Leaflet Printing - July 12, 2010
Cups-pdf works really well, admittedly there is some setting up but once youve done so its great.
Reply
95. BETA Weblog, educacin y tecnologa en Argentina - July 23, 2010
[] posterior: Tambin es posible agregar una impresora que cree archivos PDF, pero no es lo que yo
estaba necesitando en este []
15 de 21
27-11-2014 14:33

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

Reply
96. rwrick44 - July 27, 2010
your nice blog post
Houston Website Design, Web Design Houston, Search Engine Optimization,
Optimization of a Business when coupled with a strategic plan for Website and Internet Marketing
Optimization leads to better results.
thanks
Reply
97. Ypho - July 29, 2010
I always used fpdf, but it was too limited. Will try this one.
Reply
98. rwrick44 rwrick44 - August 9, 2010
this is a good blog.
Oil and Filter Change Service, Scheduled Factory Maintenance, Engine Service & Repairs

When your Porsche, Ferrari, BMW or Mercedes Benz needs service or repairs, you want top-quality
and professional work performed right the first time and done at a reasonable price. TruSpeed
Motorwerks provides an alternative to the high priced automobile dealership and service facility.
http://www.truspeedoc.com/
Reply
99. e-k-o - August 28, 2010
hi,
cups-pdf works fine, but any links/hyperlinks in pdf file doenst work. any idea?
Reply
100. porno siki - September 27, 2010
Good post..helped me to get cups-pdf installed on Ubuntu 5.10!
Editing the cupsd.conf..and restartinga confusing step to take in the overall good Gnome/Ubuntu
desktop support for adding printers in general
Reply
101. sex siki - September 28, 2010
Thanks, Brian, for the pdf printer info! Worked like a champ!
Reply
102. Graphic Design Evesham - October 7, 2010
I agree with eko, any links that are in the pdf do not work when using cups-pdf, unless im doing
something wrong?
Reply
test king - December 23, 2010
testking 640-863
Reply
103. Sr. Dorothy Robinson - October 7, 2010
Ive been struggling with the pdf thing for a good while; the pdf export in oo.org just doesnt
always
16 de 21
27-11-2014
14:33
do what I want, especially with Presentation. I had used cups-pdf on other computers, but somehow

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

forgotten that this was what made the print to pdf magic. thank you!

Reply
104. Sr. Dorothy Robinson - October 7, 2010
Another note: Im using Presentation as a DT Publisher yes, I know it isnt meant for that, but it is
so much easier to place elements on the page than with Writer. And finding the best way to print to
pdf may be the last barrier! thanks again
Reply
105. Print to PDF using cups-pdf Ubuntu Blog . - October 23, 2010
[] Print to PDF using cups-pdf Ubuntu Blog. : C , Linux,
[]
Reply
106. arlen - December 23, 2010
like to free goood
Reply
107. leaflet printing - April 29, 2011
This is nice effort to get things done from conversion.Printing to pdf has been difficult to work but
this post makes it done easily.
Reply
108. Sticker Printing - June 7, 2011
this post is a new information and that is certainly going to help people using cups pdf
Reply
109. - September 12, 2011
looks good i tell you
Reply
110. vodkanockers - October 25, 2011
thanks 88. worked for me updating to 11.10
Reply
111. Kvisoft - December 1, 2011
Thats good, thanks for sharing!
Reply
112. news blog - December 21, 2011
You really make it seem so easy with your presentation however I to find this topic to be really
something which I feel Id by no means understand. It kind of feels too complicated and very
extensive for me. I am having a look forward for your subsequent publish, I will try to get the dangle
of it!
Reply
113. Sinhala MP3 - March 15, 2012
GREAT ARTICLE..!!
THANK YOU FOR SHARING THIS..!!
17 de 21

Reply

27-11-2014 14:33

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

114. RafaLinux Instalar impresora virtual PDF en GNU/Linux - May 1, 2012


[] http://embraceubuntu.com/2006/03/23/print-to-pdf-using-cups-pdf/ []
Reply
115. Nicholas - December 25, 2012
In the final result, we realize this metallic in addition
degrades prefer other materials for you a
variety of new ways to eliminate in which. Skype 2.
However she mentions that she was not happy and yearned for more
in life.

Reply
Phillip - January 1, 2013
Tried this in Mint 14 and installing the cups-pdf package was all you needed to do :) .
The PDF printer is automatically added and configured.
Reply
116. balloons games - February 9, 2013
Hi there! This is my first visit to your blog! We are a team of volunteers and starting a new project in
a community in
the same niche. Your blog provided us valuable information to work on.
You have done a wonderful job!
Reply
117. opuntia opus opuscule oquassa or ora ora pro nobis oracle oracular oral orang orange orange
blossom orange pekoe orangeade orangery orangewood orangutan orangy orate oration orator
oratorical oratorio oratory orb orbicular orbiculate orbit orbital orbital - July 22, 2013
I have a keen analytical vision intended for fine detail and may
anticipate complications before these people occur.
Reply
118. studio reklamy lubin - July 22, 2013
I just like the helpful information you supply for your articles.
Ill bookmark your blog and test again right here frequently. Im slightly sure I will be told a lot of
new stuff right
right here! Good luck for the next!
Reply
119. real estate rapper real estate rapper san diego real estate records real estate records brooklyn ny
real estate records california real estate records denver real estate records el paso county real estate
records florida real estate records for hudson cou - July 25, 2013
I like to share information that will I have built up through the 12 months to help improve group
functionality.
Reply
120. Executive Travel Ware - December 29, 2013
Heyy there! This post couldnt be written any better! Reading this post reminds me of my good old
room mate!
He always kept talking about this. I will forward this post to
18 de 21
27-11-2014 14:33
him. Fairly certain he will have a good read. Many thanks for sharing!

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

Reply
121. NHSEO Honest Review - January 24, 2014
With No Hands SEO I have been having hundreds of high PR links every day without needing to
elevate a finger, for only $77 pricey overall great buy.

Reply
122. epil.io - January 30, 2014
Hello superb website! Does running a blog similar to this take a great
deal off work? I have virtually no understanding of oding however I
was hoping to start my own blog iin tthe near future. Anyway, shokuld you have any suggestions
oor techniques
for new blog owners please share. I understand this is off subjec but I simply had to ask.
Cheers!
Reply
123. kliknij aby zobaczy rdo - February 20, 2014
Greetings! This is my first visit to your blog!
We are a team of volunteers and starting a new initiative in a community in the same niche.
Your blog provided us useful information to work on.
You have done a extraordinary job!
Reply
124. web design london - March 7, 2014
whoah this weblog is wonderful i like reading your articles.
Keep up the great work! You know, a lot of persons are looking around
for this info, you can help them greatly.
Reply
125. greymare.org - March 13, 2014
Right here is the perfect blog for everyone who wishes to understand this topic.
You know a whole lot its almost tough to argue with you
(not that I personally would want toHaHa). You definitely put a fresh spin on a topic
which has been written about for years. Great stuff,
just great!
Reply
126. http://oo-gierkach.pl - April 12, 2014
Its actually a nice and helpful piece of info. Im happy that you just shared this helpful information
with us.
Please stay us up to date like this. Thanks for sharing.
Reply
127. - May 20, 2014
I have got read some great products listed here. Absolutely benefit book-marking to get returning to.
I ponder just how much hard work you place to create this type of superb insightful web page.
Reply
128.
19 de 21Jill Rivas - June 27, 2014

27-11-2014 14:33

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

Good ideas very helpful. I was able to fill out a form online yesterday (http://goo.gl/Quzpgh) you
might want to try. It was easy and it works for me.

Reply
129. wohnzimmer einrichten ikea - August 2, 2014
I was pretty pleased to find this website. I
wanted to thank you for ones time just for this wonderful read!!
I definitely savored every little bit of it and I have you book-marked to look at new things on your
blog.
Reply
130. more length and girth - August 19, 2014
Whatt i dont realize is actually how youre now not actually much more well-preferred than you
may be now.
You are vedy intelligent. You understand therefore considerably with regardxs to this subject,
produced me individually imagine it from a lot of various angles.
Its like men and women dont seem to be involved unless it iss one thing to do with Girl gaga!
Your own stuffs great. Always deal with it up!
Reply
131. jual hijab online - August 26, 2014
what if using CLI with ubuntu server?
Reply
132. referat nasza galaktyka i inne galaktyki - September 26, 2014
My family members always say that I am killing my time here at web, but I know I am
getting know-how every day by reading thes pleasant articles or
reviews.
Reply
133. Bogowie zobacz online za darmo 2014 - November 21, 2014
Marvelous, what a web site it is! This weblog presents useful facts to us, keep it up.
Reply

The Regulus Theme.


Create a free website or blog at WordPress.com.
Top
Follow

Follow Ubuntu Blog


20 de 21

27-11-2014 14:33

Print to PDF using cups-pdf | Ubuntu Blog

unmht:///file.5/media/HOME/user/Print to PDF using ...

Build a website with WordPress.com

21 de 21

27-11-2014 14:33

S-ar putea să vă placă și