[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to set "print PDF" work



--- Roberto D'Oliveira <rcdeoliveira@gmail.com> wrote:

> 2008/9/20 Stephen Liu <satimis@yahoo.com>:
> > Hi folks,
> >
> >
> > Debian Etch
> > CUPS PDF printer
> >
> >
> > I have cups-pdf installed.
> >
> > $ apt-cache policy cups-pdf
> > cups-pdf:
> >  Installed: 2.4.2-3
> >  Candidate: 2.4.2-3
> >  Version table:
> >  *** 2.4.2-3 0
> >        500 http://ftp.au.debian.org etch/main Packages
> >        100 /var/lib/dpkg/status
> >
> >
> > On Gnome desktop
> >
> > File -> Print > Create a PDF Document -> Print
> > popup "Generating PDF is not supported"
> >
> >
> > I tried to setup Printer
> > Deskstop -> Administrator -> Printing -> New Printer -> PDF Printer
> ->
> > Forward -> Install Driver
> >
> > No driver can be found there.
> >
> >
> > Please advise how to edit /etc/cups/cups-pdf.conf to make "print
> PDF"
> > work.  OR I have to going through a browser;
> > localhost:631
> >
> >
> > TIA
> >
> >
> > B.R.
> > Stephen L
> >
> 
> Firstly, you should see if you have the appropriate backend availble:
> lpinfo -v (If appears something like "file cups-pdf:/" it's ok)
> 
> After that, you have to setup the printer with:
>  lpadmin -p 2PDF -m lsb/usr/cups-pdf/CUPS-PDF.ppd -v cups-pdf:/ -D
> "PDF Printer" -E
> 
> And you are done!
> 
> -- 
> Saludos,


Hi Roberto,


Thanks for your advice.


# lpinfo -v
network socket
network beh
direct hp:/no_device_found
network http
network ipp
network lpd
file cups-pdf:/


# lpadmin -p 2PDF -m lsb/usr/cups-pdf/CUPS-PDF.ppd -v cups-pdf:/ -D
"PDF Printer" -E (one line)
lpadmin: Unable to copy PPD file!


# find / -name cups-pdf -type d
/var/spool/cups-pdf
/usr/share/doc/cups-pdf
/usr/share/ppd/cups-pdf


# locate CUPS-PDF.ppd
No printout


# ls /usr/share/ppd/cups-pdf/
PostscriptColor.ppd


B.R.
Stephen L




Send instant messages to your online friends http://uk.messenger.yahoo.com 


Reply to: