Tuesday, September 21, 2010

PDF and Printing

Install Network Printer:
System > Administration > Printing
Add > Network Printer
select HP Printer on network, choose Forward (to find drivers), change the name and location if desired and apply
select yes to print test page

Install cup-pdf (version 2.5.0-12):
create a 'PDF' folder in the home directory (otherwise this won't work)
type 'mkdir ~/PDF'

method1:
open terminal
type 'sudo aptitude install cups-pdf'

method2:
open synaptic package manager
find cups
select cups-pdf (version 2.5.0.12)

by default on this Lucid install, the permissions for /usr/lib/cups/backend/cups-pdf show:
-rwx------
this translates to owner having read, write and execute permissions (7), group and other have no permissions (both are 0)

i ran this on 9.10 (Karmic) but haven't need it for 10.04 (Lucid):
sudo chmod 700 /usr/lib/cups/backend/cups-pdf

Alternatively to print to PDF:
from the application, select Print
in the print window, choose 'Print to File'
for output format, select 'PDF'
in the name area, give the file a name

other programs like OpenOffice allow an 'Export to PDF' option

to view cups info go to http://localhost:631/

No comments:

Post a Comment