PDF backend for CUPS not working.

sandeep sandeep.cashyap at gmail.com
Tue Jul 26 23:02:53 PDT 2005


> sandeep wrote:
> >
> > Hi,
> >
> > I tried setting up a printer which prints to a pdf file. I copied the  pdfdistiller file as pdf in /usr/lib/cups/backend as shown in http://cups.org/links.php?V53+Q. However, when I try to add the printer,I get an error like this in the logs..
> >
> > I [26/Jul/2005:09:25:18 +0200] Listening to 0:631
> > I [26/Jul/2005:09:25:18 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
> > I [26/Jul/2005:09:25:18 +0200] Configured for up to 100 clients.
> > I [26/Jul/2005:09:25:18 +0200] Allowing up to 100 client connections per host.
> > I [26/Jul/2005:09:25:18 +0200] Full reload is required.
> > I [26/Jul/2005:09:25:20 +0200] LoadPPDs: Wrote "/etc/cups/ppds.dat", 3322 PPDs...
> > I [26/Jul/2005:09:25:20 +0200] Full reload complete.
> > E [26/Jul/2005:09:35:13 +0200] add_printer: bad device-uri attribute 'pdf:/root'!
> >
> > It is not accepting pdf:/root as the device URI...
> >
> > when I do a lpinfo -v, i get
> > network socket
> > network http
> > network ipp
> > network lpd
> > network novell
> > file pipe
> > direct scsi
> > serial serial:/dev/ttyS0?baud=230400
> > serial serial:/dev/ttyS1?baud=230400
> > serial serial:/dev/ttyS2?baud=230400
> > serial serial:/dev/ttyS3?baud=230400
> > serial serial:/dev/ttyS4?baud=230400
> > serial serial:/dev/ttyS5?baud=230400
> > serial serial:/dev/ttyS6?baud=230400
> > serial serial:/dev/ttyS7?baud=230400
> > direct usb:/dev/usblp0
> > direct usb:/dev/usblp1
> > direct usb:/dev/usblp2
> > direct usb:/dev/usblp3
> > direct usb:/dev/usblp4
> > direct usb:/dev/usblp5
> > direct usb:/dev/usblp6
> > direct usb:/dev/usblp7
> > direct usb:/dev/usblp8
> > direct usb:/dev/usblp9
> > direct usb:/dev/usblp10
> > direct usb:/dev/usblp11
> > direct usb:/dev/usblp12
> > direct usb:/dev/usblp13
> > direct usb:/dev/usblp14
> > direct usb:/dev/usblp15
> > network smb
> >
> > Obviously the pdf enrty is not found here.
> >
> > can anyone please tell me whats wrong here? any help would be greatly appriciated..
> >
> > Thanks and regards
> > Sandy
>
> (1) You need to make the script executable in your backend directory
> (2) You need to rename "pdfdistiller" to "pdf", as the script tells "pdf"
> when asked for the device info
> (3) You need to restart CUPS (or at least kill -HUP pidof cupsd), what you
> apparently did.
>
> Helge
>
> --
> Helge Blischke
> Softwareentwicklung
> SRZ Berlin | Firmengruppe besscom
> http://www.srz.de


Hi Helge,

The problem was as you rightly put it was tht I had not made the script executable. Thanks a million for your tip. Its working fine now.

Thanks and regards
Sandy




More information about the cups mailing list