administration mode

domesti.cat

Article: PDF Printing using Ubuntu »

ALEIX - MAR 13, 2007 (11:36:19 AM)

Installing Cups-pdf printer method #1

a. Install cups-pdf by running sudo apt-get install cups-pdf
b. Edit the configuration file by running sudo gedit /etc/cups/cupsd.conf
c. Change "RunAsUser Yes" to "RunAsUser No"
d. restart cups by running sudo /etc/init.d/cupsys restart
e. Goto the menu System>>Administration>>Printing and add a printer
f. Select the detected printer "PDF Printer"
g. Select the Generic, Postscript Color Printer (Rev 3b)
h. Give it a name, like PDF Printer
i. Right click on the newly created printer, and select Properties
j. Click "Print a Test Page"
k. The file should be in your Home folder, under the PDF folder

Note - in some cases this method will not work because as soon as you try to add aprinter it has not detected a pdf printer. Also, when I tried to edit the configuration file there was not a line that referenced RunAsUser so I eventually added that line but it still did not work. In come the Ubuntu forums to the rescue! I got further instructions and they are outlined below:

a. Install the cups-pdf package (I used version 2.2.0-1)
b. Go to System -> Administration -> Printing
c. Doubleclick "New Pinter"
d. Notice that there is no mention of a CUPS PDF printer
e. Open a terminal and tpe "sudo nautilus" and then your password
f. Go to Filesystem -> usr -> lib -> cups -> backend
g. Rightclick "cups-pdf" and select Properties
h. Go to the Permissions tab and click the "Set user ID" special flag
i. Again try to add a new printer
j. There is now a "PDF Printer" detected, select it
k. Select the Generic, Postscript Color Printer (Rev 3b)
l. Give it a name, like PDF Printer
m. Right click on the newly created printer, and select Properties
n. Click "Print a Test Page"
o. The file should be in your Home folder, under the PDF folder

This got the printer to show up and working;) Yes!
BOOKMARK THIS CONTENT
del.icio.us technorati digg Furl YahooMyWeb Reddit NewsVine
CREATE A NEW COMMENT
required field
required field HTML is not allowed. Hyperlinks will automatically be converted.
01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30