Problem in printing from LPD

Suresh accetsuresh at rediffmail.com
Mon Jun 13 21:53:45 PDT 2005


Hai,

I am developing an embedded product. Recently i migrated printing system from LPRng spooler to CUPS. I am using CUPS 1.1.17 in my product.

Facing problem with LPD printing from Red Hat 9 to the product. When printing via Network Unix(LPD) from Red Hat 9 PC to the embeddded product, the PC shows the error that "Remote host did not accept control file".

Part of Error log file in PC after print out has been given.
------------------------------------------------------------

D [14/Jun/2005:09:56:41 +0530] StartJob: argv = "lpd","15","root","printers.conf","1","job-sheets=none,none page-bottom=36 cpi=12 lpi=7 scaling=100 page-right=36 page-left=36 wrap page-top=36 job-priority=50 job-hold-until=no-hold","/var/spool/cups/d00015-001"
D [14/Jun/2005:09:56:41 +0530] StartJob: envp = "PATH=/usr/lib/cups/filter:/bin:/usr/bin","SOFTWARE=CUPS/1.1","USER=root","CHARSET=iso-8859-1","LANG=en_US","","PPD=/etc/cups/ppd/lpd.ppd","CUPS_SERVERROOT=/etc/cups","RIP_MAX_CACHE=8m","TMPDIR=/var/spool/cups/tmp","CONTENT_TYPE=text/plain","DEVICE_URI=","PRINTER=lpd","CUPS_DATADIR=/usr/share/cups","CUPS_FONTPATH=/usr/share/cups/fonts","","",""
D [14/Jun/2005:09:56:41 +0530] StartJob: statusfds = 5, 7
D [14/Jun/2005:09:56:41 +0530] StartJob: filterfds[1] = 8, -1
D [14/Jun/2005:09:56:41 +0530] StartJob: backend = "/usr/lib/cups/backend/"
D [14/Jun/2005:09:56:41 +0530] StartJob: filterfds[0] = -1, 9
D [14/Jun/2005:09:56:41 +0530] start_process("/usr/lib/cups/backend/", 0xbfff9d40, 0xbfff91f0, 8, 9, 7)
E [14/Jun/2005:09:56:41 +0530] PID 4007 stopped with status 22!
I [14/Jun/2005:09:56:41 +0530] Started backend /usr/lib/cups/backend/ (PID -4007) for job 15.
D [14/Jun/2005:09:56:41 +0530] [Job 15] /usr/lib/cups/backend/: Permission denied
D [14/Jun/2005:09:56:41 +0530] [Job 19] Control file is:
D [14/Jun/2005:09:56:41 +0530] [Job 19] HQute
D [14/Jun/2005:09:56:41 +0530] [Job 19] Proot
D [14/Jun/2005:09:56:41 +0530] [Job 19] Jtestprint_ps
D [14/Jun/2005:09:56:41 +0530] [Job 19] ldfA002Qute
D [14/Jun/2005:09:56:41 +0530] [Job 19] UdfA002Qute
D [14/Jun/2005:09:56:41 +0530] [Job 19] Ntestprint_ps
D [14/Jun/2005:09:56:41 +0530] [Job 19] lpd_command 02 64 cfA002Qute
D [14/Jun/2005:09:56:41 +0530] [Job 19] Sending command string (15 bytes)...
D [14/Jun/2005:09:56:41 +0530] [Job 19] Reading command status...
D [14/Jun/2005:09:56:41 +0530] [Job 19] lpd_command returning 1
E [14/Jun/2005:09:56:41 +0530] [Job 19] LPD, Error No. = 0ERROR: Remote host did not accept control file (1)

I tried with strace, cups 1.1.17 source code, but i did not find any clue on this issue. LPD printing is one of the basic requirement of my product. Kindly help me in this regard. Also guide me in what way i can proceed further.

With Thakns & Regards,
K. Suresh




More information about the cups mailing list