Re: How to set "print PDF" work (SOLVED)
Hi Roberto,
I got my problem solved as follows;
On browser
http://localhost:631
-> Add Printer ->
Add New Printer
Filling in;
Name: PDF_Printer
Location: Local
Description: blank
-> Continue -> Select "Virtual Printer (PDF Printer)" -> Continue ->
Browse ... ->
File Upload;
/usr/share/ppd/cups-pdf/PostscriptColor.ppd
-> Open
That is all.
Now I can print .pdf files. The only drawback is I can't add a
filename before clicking "Print". The file is saved on
/home/user/PDF/__.pdf.
I must change the filename afterwards.
Anyway thanks again for your assistance.
B.R.
Stephen L
--- Roberto D'Oliveira <rcdeoliveira@gmail.com> wrote:
> 2008/9/21 Stephen Liu <satimis@yahoo.com>:
> >
> > --- 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
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> >
> >
>
> Maybe you have the ppd file in other place... try with this:
> lpinfo -m | grep -i pfd
>
> That command (lpinfo -m) shows you "drivers" availables in your
> computer, the first column is the FILE that you should use as
> argument
> for the "-m" switch in lpadmin when you are installing a printer.
> After find the right driver you have to execute:
> lpadmin -p 2PDF -m FILE -v cups-pdf:/ -D "PDF Printer" -E
>
> --
> Saludos,
> Roberto D'Oliveira
>
Send instant messages to your online friends http://uk.messenger.yahoo.com
Reply to: