Printing Via LPD in CUPS

Suresh accetsuresh at rediffmail.com
Tue Jun 14 04:07:27 PDT 2005


Thanks for your response Helge. I have forgotten to mention one thing. The log file mentioned below is obtained after executed the following command.
          lpr /etc/cups/printer.conf
Sending the printer.conf file from Red Hat 9.0 PC to the remote host having IP 10.10.30.93 with printer queue lp.

My detailed error_log file with debug2 mode
-------------------------------------------
D [14/Jun/2005:11:07:54 +0530] AddLocation: added location '/admin'
D [14/Jun/2005:11:07:54 +0530] DenyIP: /admin deny 00000000/00000000
D [14/Jun/2005:11:07:54 +0530] AllowIP: /admin allow 7f000001/ffffffff
D [14/Jun/2005:11:07:54 +0530] AllowIP: /admin allow 0a0a1e5d/ffffffff
D [14/Jun/2005:11:07:54 +0530] AddLocation: added location '/printers/net'
D [14/Jun/2005:11:07:54 +0530] DenyIP: /printers/lp deny 00000000/00000000
D [14/Jun/2005:11:07:54 +0530] AllowIP: /printers/lp allow 7f000001/ffffffff
D [14/Jun/2005:11:07:54 +0530] AddLocation: added location '/'
D [14/Jun/2005:11:07:54 +0530] DenyIP: / deny 00000000/00000000
D [14/Jun/2005:11:07:54 +0530] AllowIP: / allow 7f000001/ffffffff
D [14/Jun/2005:11:07:54 +0530] AddLocation: added location 'CUPS_INTERNAL_BROWSE_ACL'
D [14/Jun/2005:11:07:54 +0530] AllowHost: CUPS_INTERNAL_BROWSE_ACL allow @LOCAL
I [14/Jun/2005:11:07:54 +0530] Listening to 7f000001:631
D [14/Jun/2005:11:07:54 +0530] ReadConfiguration() ConfigurationFile="/etc/cups/cupsd.conf"
I [14/Jun/2005:11:07:54 +0530] Configured for up to 100 clients.
I [14/Jun/2005:11:07:54 +0530] Allowing up to 10 client connections per host.
D [14/Jun/2005:11:07:54 +0530] LoadAllPrinters: Loading printer lpd21...
D [14/Jun/2005:11:07:54 +0530] LoadAllPrinters: Loading printer lpdtest...
I [14/Jun/2005:11:07:54 +0530] LoadPPDs: Read "/etc/cups/ppds.dat", 17 PPDs...
I [14/Jun/2005:11:07:54 +0530] LoadPPDs: No new or changed PPDs...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "parallel:/dev/lp0"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "http"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "ipp"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "lpd"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "smb"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "scsi"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS0?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS1?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS2?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS3?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS4?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS5?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS6?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS7?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS8?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS9?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS10?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS11?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS12?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS13?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS14?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS15?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS16?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS17?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS18?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS19?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS20?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS21?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS22?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS23?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS24?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS25?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS26?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS27?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS28?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS29?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS30?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "serial:/dev/ttyS31?baud=115200"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "socket"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "usb:/dev/usb/lp0"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "usb:/dev/usb/lp1"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "usb:/dev/usb/lp2"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "usb:/dev/usb/lp3"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "usb:/dev/usb/lp4"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "usb:/dev/usb/lp5"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "usb:/dev/usb/lp6"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "usb:/dev/usb/lp7"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "usb:/dev/usb/lp8"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "usb:/dev/usb/lp9"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "usb:/dev/usb/lp10"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "usb:/dev/usb/lp11"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "usb:/dev/usb/lp12"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "usb:/dev/usb/lp13"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "usb:/dev/usb/lp14"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "usb:/dev/usb/lp15"...
D [14/Jun/2005:11:07:54 +0530] LoadDevices: Added device "lpd"...
D [14/Jun/2005:11:07:54 +0530] StartListening: NumListeners=1
D [14/Jun/2005:11:07:54 +0530] StartListening: address=7f000001 port=631
D [14/Jun/2005:11:07:54 +0530] ResumeListening: setting input bits...
D [14/Jun/2005:11:07:54 +0530] LoadAllJobs: Scanning /var/spool/cups...
D [14/Jun/2005:11:07:54 +0530] LoadAllJobs: Loading attributes for job 19...
D [14/Jun/2005:11:07:54 +0530] LoadAllJobs: Loading attributes for job 23...
D [14/Jun/2005:11:07:54 +0530] LoadAllJobs: Loading attributes for job 26...
D [14/Jun/2005:11:07:54 +0530] LoadAllJobs: Loading attributes for job 24...
D [14/Jun/2005:11:07:54 +0530] LoadAllJobs: Loading attributes for job 25...
D [14/Jun/2005:11:07:54 +0530] LoadAllJobs: Loading attributes for job 20...
D [14/Jun/2005:11:07:54 +0530] LoadAllJobs: Loading attributes for job 21...
D [14/Jun/2005:11:07:54 +0530] LoadAllJobs: Loading attributes for job 22...
D [14/Jun/2005:11:07:55 +0530] AcceptClient() 3 from localhost:631.
D [14/Jun/2005:11:07:55 +0530] ReadClient() 3 POST / HTTP/1.1
D [14/Jun/2005:11:07:55 +0530] ProcessIPPRequest: 3 status_code=1
D [14/Jun/2005:11:07:56 +0530] CloseClient() 3
D [14/Jun/2005:11:08:00 +0530] AcceptClient() 3 from localhost:631.
D [14/Jun/2005:11:08:00 +0530] ReadClient() 3 POST / HTTP/1.1
D [14/Jun/2005:11:08:00 +0530] ProcessIPPRequest: 3 status_code=1
D [14/Jun/2005:11:08:00 +0530] CloseClient() 3
D [14/Jun/2005:11:08:05 +0530] AcceptClient() 3 from localhost:631.
D [14/Jun/2005:11:08:05 +0530] ReadClient() 3 POST / HTTP/1.1
D [14/Jun/2005:11:08:05 +0530] ProcessIPPRequest: 3 status_code=1
D [14/Jun/2005:11:08:05 +0530] CloseClient() 3
D [14/Jun/2005:11:08:08 +0530] AcceptClient() 3 from localhost:631.
D [14/Jun/2005:11:08:08 +0530] ReadClient() 3 POST / HTTP/1.1
D [14/Jun/2005:11:08:08 +0530] ProcessIPPRequest: 3 status_code=0
D [14/Jun/2005:11:08:08 +0530] AcceptClient() 5 from localhost:631.
D [14/Jun/2005:11:08:08 +0530] CloseClient() 3
D [14/Jun/2005:11:08:08 +0530] ReadClient() 5 POST / HTTP/1.1
D [14/Jun/2005:11:08:08 +0530] ProcessIPPRequest: 5 status_code=0
D [14/Jun/2005:11:08:08 +0530] AcceptClient() 3 from localhost:631.
D [14/Jun/2005:11:08:08 +0530] CloseClient() 5
D [14/Jun/2005:11:08:08 +0530] ReadClient() 3 POST / HTTP/1.1
D [14/Jun/2005:11:08:08 +0530] ProcessIPPRequest: 3 status_code=0
D [14/Jun/2005:11:08:08 +0530] ReadClient() 3 POST /printers/lpdtest HTTP/1.1
D [14/Jun/2005:11:08:08 +0530] print_job: auto-typing file...
D [14/Jun/2005:11:08:08 +0530] print_job: request file type is text/plain.
D [14/Jun/2005:11:08:08 +0530] check_quotas: requesting-user-name = 'root'
D [14/Jun/2005:11:08:08 +0530] print_job: requesting-user-name = 'root'
D [14/Jun/2005:11:08:08 +0530] check_quotas: requesting-user-name = 'root'
D [14/Jun/2005:11:08:08 +0530] print_job: requesting-user-name = 'root'
I [14/Jun/2005:11:08:08 +0530] Job 27 queued on 'lpdtest' by 'root'.
D [14/Jun/2005:11:08:08 +0530] Job 27 hold_until = 0
D [14/Jun/2005:11:08:08 +0530] StartJob(27, 0x8092d10)
D [14/Jun/2005:11:08:08 +0530] StartJob() id = 27, file = 0/1
D [14/Jun/2005:11:08:08 +0530] job-sheets=none,none
D [14/Jun/2005:11:08:08 +0530] banner_page = 0                                                                                  D [14/Jun/2005:11:08:08 +0530] StartJob: argv = "lpdtest","27","root","printers.conf","1","page-bottom=36 cpi=12 lpi=7 scaling=100 page-right=36 page-left=36 wrap page-top=36","/var/spool/cups/d00027-001"                                                    D [14/Jun/2005:11:08:08 +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/lpdtest.ppd","CUPS_SERVERROOT=/etc/cups","RIP_MAX_CACHE=8m","TMPDIR=/var/spool/cups/tmp","CONTENT_TYPE=text/plain","DEVICE_URI=lpd://10.10.30.93/lp","PRINTER=lpdtest","CUPS_DATADIR=/usr/share/cups","CUPS_FONTPATH=/usr/share/cups/fonts","","",""
D [14/Jun/2005:11:08:08 +0530] StartJob: statusfds = 5, 6
D [14/Jun/2005:11:08:08 +0530] StartJob: filterfds[1] = 7, -1
D [14/Jun/2005:11:08:08 +0530] StartJob: filter = "/usr/lib/cups/filter/texttops"
D [14/Jun/2005:11:08:08 +0530] StartJob: filterfds[0] = 8, 9
D [14/Jun/2005:11:08:08 +0530] start_process("/usr/lib/cups/filter/texttops", 0xbfff07b0, 0xbffefc60, 7, 9, 6)
I [14/Jun/2005:11:08:08 +0530] Started filter /usr/lib/cups/filter/texttops (PID 5664) for job 27.
D [14/Jun/2005:11:08:08 +0530] StartJob: filter = "/usr/lib/cups/filter/pstops"
D [14/Jun/2005:11:08:08 +0530] StartJob: filterfds[1] = 7, 10
D [14/Jun/2005:11:08:08 +0530] start_process("/usr/lib/cups/filter/pstops", 0xbfff07b0, 0xbffefc60, 8, 10, 6)
I [14/Jun/2005:11:08:08 +0530] Started filter /usr/lib/cups/filter/pstops (PID 5665) for job 27.
D [14/Jun/2005:11:08:08 +0530] StartJob: filter = "/usr/lib/cups/filter/cupsomatic"
D [14/Jun/2005:11:08:08 +0530] StartJob: filterfds[0] = 8, 9
D [14/Jun/2005:11:08:08 +0530] start_process("/usr/lib/cups/filter/cupsomatic", 0xbfff07b0, 0xbffefc60, 7, 9, 6)
I [14/Jun/2005:11:08:08 +0530] Started filter /usr/lib/cups/filter/cupsomatic (PID 5666) for job 27.
D [14/Jun/2005:11:08:08 +0530] StartJob: backend = "/usr/lib/cups/backend/lpd"
D [14/Jun/2005:11:08:08 +0530] StartJob: filterfds[1] = -1, 7
D [14/Jun/2005:11:08:08 +0530] start_process("/usr/lib/cups/backend/lpd", 0xbfff07b0, 0xbffefc60, 8, 7, 6)
I [14/Jun/2005:11:08:08 +0530] Started backend /usr/lib/cups/backend/lpd (PID 5667) for job 27.
D [14/Jun/2005:11:08:08 +0530] ProcessIPPRequest: 3 status_code=0
D [14/Jun/2005:11:08:08 +0530] [Job 27] Page = 612x792; 36,36 to 576,756
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->num_fonts = 35
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->fonts[0] = AvantGarde-Book
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->fonts[1] = AvantGarde-BookOblique
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->fonts[2] = AvantGarde-Demi
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->fonts[3] = AvantGarde-DemiOblique
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->fonts[4] = Bookman-Demi
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->fonts[5] = Bookman-DemiItalic
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->fonts[6] = Bookman-Light
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->fonts[7] = Bookman-LightItalic
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->fonts[8] = Courier
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->fonts[9] = Courier-Bold
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->num_fonts = 35
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->fonts[0] = AvantGarde-Book
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->fonts[1] = AvantGarde-BookOblique
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->fonts[2] = AvantGarde-Demi
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->fonts[3] = AvantGarde-DemiOblique
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->fonts[4] = Bookman-Demi
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->fonts[5] = Bookman-DemiItalic
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->fonts[6] = Bookman-Light
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->fonts[7] = Bookman-LightItalic
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd->fonts[8] = Courier
D [14/Jun/2005:11:08:08 +0530] [Job 27] Page = 612x792; 36,36 to 576,756
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%BoundingBox: 0 0 612 792
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%Creator: texttops/CUPS v1.1.17
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%CreationDate: Tue 14 Jun 2005 11:08:08 AM IST
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%Title: printers.conf
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%For: root
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%Pages: (atend)
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%DocumentNeededResources: font Courier-Bold
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%+ font Courier
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%DocumentSuppliedResources: procset texttops 1.1 0
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%+ font Courier-Bold
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%+ font Courier
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%EndComments
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%BeginProlog
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%BeginResource: font Courier-Bold
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%CreationDate: Wed Dec 22 1999
D [14/Jun/2005:11:08:08 +0530] [Job 27] Filename is
D [14/Jun/2005:11:08:08 +0530] CloseClient() 3
D [14/Jun/2005:11:08:08 +0530] [Job 27] Cupsomatic backend version $Revision: 2.13 $ running...
D [14/Jun/2005:11:08:08 +0530] [Job 27] ppd=/etc/cups/ppd/lpdtest.ppd
D [14/Jun/2005:11:08:08 +0530] [Job 27] Pondering option `page-bottom=36'
D [14/Jun/2005:11:08:08 +0530] [Job 27] Unknown option page-bottom=36.
D [14/Jun/2005:11:08:08 +0530] [Job 27] Pondering option `cpi=12'
D [14/Jun/2005:11:08:08 +0530] [Job 27] Unknown option cpi=12.
D [14/Jun/2005:11:08:08 +0530] [Job 27] Pondering option `lpi=7'
D [14/Jun/2005:11:08:08 +0530] [Job 27] Unknown option lpi=7.
D [14/Jun/2005:11:08:08 +0530] [Job 27] Pondering option `scaling=100'
D [14/Jun/2005:11:08:08 +0530] [Job 27] Unknown option scaling=100.
D [14/Jun/2005:11:08:08 +0530] [Job 27] Pondering option `page-right=36'
D [14/Jun/2005:11:08:08 +0530] [Job 27] Unknown option page-right=36.
D [14/Jun/2005:11:08:08 +0530] [Job 27] Pondering option `page-left=36'
D [14/Jun/2005:11:08:08 +0530] [Job 27] Unknown option page-left=36.
D [14/Jun/2005:11:08:08 +0530] [Job 27] Pondering option `wrap'
D [14/Jun/2005:11:08:08 +0530] [Job 27] Unknown bool? option wrap.
D [14/Jun/2005:11:08:08 +0530] [Job 27] Pondering option `page-top=36'
D [14/Jun/2005:11:08:08 +0530] [Job 27] Unknown option page-top=36.
D [14/Jun/2005:11:08:08 +0530] [Job 27] Seaerching job for option settings ...
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%EndResource
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%BeginResource: font Courier
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%CreationDate: Wed Dec 22 1999
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%EndResource
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%BeginResource: procset texttops 1.1 0
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%EndResource
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%EndProlog
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%Page: 1 1
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%Page: 1 1
D [14/Jun/2005:11:08:08 +0530] [Job 27] pw = 540.0, pl = 720.0
D [14/Jun/2005:11:08:08 +0530] [Job 27] PageLeft = 36.0, PageRight = 576.0
D [14/Jun/2005:11:08:08 +0530] [Job 27] PageTop = 756.0, PageBottom = 36.0
D [14/Jun/2005:11:08:08 +0530] [Job 27] PageWidth = 612.0, PageLength = 792.0
D [14/Jun/2005:11:08:08 +0530] [Job 27] 0 %%Trailer
D [14/Jun/2005:11:08:08 +0530] [Job 27] Saw Trailer!
D [14/Jun/2005:11:08:08 +0530] [Job 27] Saw EOF!
D [14/Jun/2005:11:08:08 +0530] [Job 27] Found: %%BeginFeature: *Resolution 60x60
D [14/Jun/2005:11:08:08 +0530] [Job 27] Option: Resolution=60x60 --> Setting option
D [14/Jun/2005:11:08:08 +0530] [Job 27] Found: %% FoomaticOpt: Resolution=60x60
D [14/Jun/2005:11:08:08 +0530] [Job 27] Option: Resolution=60x60 --> Setting option
D [14/Jun/2005:11:08:08 +0530] [Job 27] Found: %%BeginFeature: *PageSize Letter
D [14/Jun/2005:11:08:08 +0530] [Job 27] Option: PageSize=Letter --> Option will be set by PostScript interpreter
D [14/Jun/2005:11:08:08 +0530] [Job 27] /usr/lib/cups/filter/cupsomatic: inserted option PS code:
D [14/Jun/2005:11:08:08 +0530] [Job 27] gs PID pid2=5669
D [14/Jun/2005:11:08:08 +0530] [Job 27] gs command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=epsonc -r60x60 -sOutputFile=- -
D [14/Jun/2005:11:08:08 +0530] [Job 27] foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=epsonc' '-r60x60' '-sOutputFile=/dev/fd/3' '/dev/fd/0' 3>&1 1>&2
D [14/Jun/2005:11:08:08 +0530] [Job 27] tail process done writing data to *main::STDOUT
D [14/Jun/2005:11:08:08 +0530] [Job 27] KID4 finished
D [14/Jun/2005:11:08:08 +0530] [Job 27] KID3 finished
D [14/Jun/2005:11:08:08 +0530] [Job 27] Main process finished
D [14/Jun/2005:11:08:08 +0530] [Job 27] LPD  File Descriptor = 3, Port = 515INFO: Connected from port 515...
D [14/Jun/2005:11:08:08 +0530] [Job 27] LPD printer = lpDEBUG: lpd_command 02 lp
D [14/Jun/2005:11:08:08 +0530] [Job 27] Sending command string (4 bytes)...
D [14/Jun/2005:11:08:08 +0530] [Job 27] Reading command status...
D [14/Jun/2005:11:08:09 +0530] [Job 27] lpd_command returning 0
D [14/Jun/2005:11:08:09 +0530] [Job 27] Control file is:
D [14/Jun/2005:11:08:09 +0530] [Job 27] HQute
D [14/Jun/2005:11:08:09 +0530] [Job 27] Proot
D [14/Jun/2005:11:08:09 +0530] [Job 27] Jprinters_conf
D [14/Jun/2005:11:08:09 +0530] [Job 27] ldfA667Qute
D [14/Jun/2005:11:08:09 +0530] [Job 27] UdfA667Qute
D [14/Jun/2005:11:08:09 +0530] [Job 27] Nprinters_conf
D [14/Jun/2005:11:08:09 +0530] [Job 27] lpd_command 02 66 cfA667Qute
D [14/Jun/2005:11:08:09 +0530] [Job 27] Sending command string (15 bytes)...
D [14/Jun/2005:11:08:09 +0530] [Job 27] Reading command status...
D [14/Jun/2005:11:08:09 +0530] [Job 27] lpd_command returning 1
E [14/Jun/2005:11:08:09 +0530] [Job 27] LPD, Error No. = 0ERROR: Remote host did not accept control file (1)
--------------------------------------------------------------------

My printer.conf file is
-----------------------
<DefaultPrinter network>
Info Created by redhat-config-printer 0.6.x
DeviceURI lpd://10.10.30.93/lp
Location
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>

After executed the above command i checked the error_log file in Red Hat 9 PC. It shows the error message "Remote Host did not accept the control file".

Regards,
K. Suresh

> Suresh wrote:
> >
> > 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: 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
> > [...]
> >
> > 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
>
> According to your log file, the CUPS scheduler tries to start the backend directory as an
> executable program - this cannot work.
>
> Review your printer configuration.
>
> Helge
>
> --
> Helge Blischke
> Softwareentwicklung
> SRZ Berlin | Firmengruppe besscom
> http://www.srz.de





More information about the cups mailing list