trying to print to NeXT Laser Printer = status 115

Gábor Sebestyén segabor at chello.hu
Wed Feb 23 11:10:21 PST 2005


> Gábor Sebestyén wrote:
> >
> > I use the latest cups on FreeBSD 5 and configured it to print to a remote OPENSTEP machine having a NeXT Laser Printer.
> > When I try to print something I get lpd_command status 115 (or 47).
> > The funny thing is that I can print from my iMac which uses CUPS too. But from FreeBSD I can't!
> >
> > Here's my printer.conf
> >
> > <Printer nxlaser>
> > Info NeXT Laser Printer
> > Location kisszoba
> > DeviceURI lpd://station.monarakh.hu/Local_Printer
> > State Stopped
> > StateMessage Connected to station.monarakh.hu...
> > Accepting Yes
> > JobSheets none none
> > QuotaPeriod 0
> > PageLimit 0
> > KLimit 0
> > </Printer>
> >
> > And a piece of log:
> >
> > D [23/Feb/2005:09:47:42 +0100] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
> > D [23/Feb/2005:09:47:42 +0100] StartJob: envp[2]="USER=root"
> > D [23/Feb/2005:09:47:42 +0100] StartJob: envp[3]="CHARSET=utf-8"
> > D [23/Feb/2005:09:47:42 +0100] StartJob: envp[4]="LANG=en_US"
> > D [23/Feb/2005:09:47:42 +0100] StartJob: envp[5]="PPD=/usr/local/etc/cups/ppd/nxlaser.ppd"
> > D [23/Feb/2005:09:47:42 +0100] StartJob: envp[6]="CUPS_SERVERROOT=/usr/local/etc/cups"
> > D [23/Feb/2005:09:47:42 +0100] StartJob: envp[7]="RIP_MAX_CACHE=8m"
> > D [23/Feb/2005:09:47:42 +0100] StartJob: envp[8]="TMPDIR=/var/spool/cups/tmp"
> > D [23/Feb/2005:09:47:42 +0100] StartJob: envp[9]="CONTENT_TYPE=application/vnd.cups-raw"
> > D [23/Feb/2005:09:47:42 +0100] StartJob: envp[10]="DEVICE_URI=lpd://station.monarakh.hu/Local_Printer"
> > D [23/Feb/2005:09:47:42 +0100] StartJob: envp[11]="PRINTER=nxlaser"
> > D [23/Feb/2005:09:47:42 +0100] StartJob: envp[12]="CUPS_DATADIR=/usr/local/share/cups"
> > D [23/Feb/2005:09:47:42 +0100] StartJob: envp[13]="CUPS_FONTPATH=/usr/local/share/cups/fonts"
> > D [23/Feb/2005:09:47:42 +0100] StartJob: envp[14]="CUPS_SERVER=localhost"
> > D [23/Feb/2005:09:47:42 +0100] StartJob: envp[15]="IPP_PORT=631"
> > d [23/Feb/2005:09:47:42 +0100] StartJob: Allocating status buffer...
> > D [23/Feb/2005:09:47:42 +0100] StartJob: statusfds = [ 9 11 ]
> > D [23/Feb/2005:09:47:42 +0100] StartJob: filterfds[1] = [ 12 -1 ]
> > D [23/Feb/2005:09:47:42 +0100] StartJob: backend = "/usr/local/libexec/cups/backend/lpd"
> > D [23/Feb/2005:09:47:42 +0100] StartJob: filterfds[0] = [ -1 13 ]
> > D [23/Feb/2005:09:47:42 +0100] start_process("/usr/local/libexec/cups/backend/lpd", 0xbfbeff90, 0xbfbef300, 12, 13, 11)
> > I [23/Feb/2005:09:47:42 +0100] Started backend /usr/local/libexec/cups/backend/lpd (PID 70033) for job 3.
> > d [23/Feb/2005:09:47:42 +0100] StartJob: Adding fd 9 to InputSet...
> > D [23/Feb/2005:09:47:42 +0100] ProcessIPPRequest: 7 status_code=0
> > d [23/Feb/2005:09:47:42 +0100] ProcessIPPRequest: Adding fd 7 to OutputSet...
> > I [23/Feb/2005:09:47:42 +0100] [Job 3] Attempting to connect to host station.monarakh.hu for printer Local_Printer
> > I [23/Feb/2005:09:47:42 +0100] [Job 3] Connected to station.monarakh.hu...
> > D [23/Feb/2005:09:47:42 +0100] [Job 3] Connected on ports 515 (local 0)...
> > D [23/Feb/2005:09:47:42 +0100] [Job 3] lpd_command 02 Local_Printer
> > D [23/Feb/2005:09:47:42 +0100] [Job 3] Sending command string (15 bytes)...
> > D [23/Feb/2005:09:47:42 +0100] [Job 3] Reading command status...
> > d [23/Feb/2005:09:47:42 +0100] WriteClient: Removing fd 7 from OutputSet...
> > d [23/Feb/2005:09:47:42 +0100] PID 70032 exited with no errors.
> > d [23/Feb/2005:09:47:42 +0100] DeleteCert: removing certificate for pid 70032
> > d [23/Feb/2005:09:47:42 +0100] ReadClient: 7, used=0, file=-1
> > d [23/Feb/2005:09:47:42 +0100] ReadClient: httpGets returned EOF...
> > D [23/Feb/2005:09:47:42 +0100] CloseClient: 7
> > d [23/Feb/2005:09:47:42 +0100] CloseClient: Removing fd 7 from InputSet and OutputSet...
> > d [23/Feb/2005:09:47:42 +0100] WriteClient: Removing fd 5 from OutputSet...
> > d [23/Feb/2005:09:47:42 +0100] WriteClient: Removing fd 8 from InputSet...
> > d [23/Feb/2005:09:47:42 +0100] WriteClient: 5 Closing data file 8.
> > d [23/Feb/2005:09:47:42 +0100] ReadClient: 5, used=0, file=-1
> > d [23/Feb/2005:09:47:42 +0100] ReadClient: httpGets returned EOF...
> > D [23/Feb/2005:09:47:42 +0100] CloseClient: 5
> > d [23/Feb/2005:09:47:42 +0100] CloseClient: Removing fd 5 from InputSet and OutputSet...
> > D [23/Feb/2005:09:47:42 +0100] [Job 3] lpd_command returning 115
> > E [23/Feb/2005:09:47:42 +0100] PID 70033 stopped with status 1!
> > D [23/Feb/2005:09:47:42 +0100] UpdateJob: job 3, file 0 is complete.
> > d [23/Feb/2005:09:47:42 +0100] UpdateJob: Removing fd 9 from InputSet...
> > D [23/Feb/2005:09:47:42 +0100] StopJob: id = 3, force = 0
> > I [23/Feb/2005:09:47:42 +0100] Saving printers.conf...
> > D [23/Feb/2005:09:47:42 +0100] StopJob: printer state is 5
> > d [23/Feb/2005:09:47:42 +0100] StopJob: Freeing status buffer...
> > d [23/Feb/2005:09:47:42 +0100] SaveJob: Closing file 5...
> >
> > Any idea?
> >
> > PS: I checked the print rights on OPENSTEP (the system controlling the printer) and I didn't forget to allow all my machines to print to NeXT Laser Printer
>
> What is the printer's name from your iMac? I suspect the LPD queue's
> name on your
> OPENSTEP box  is not LocalPrinter, is it?
By default it is Local_Printer (with underscore).






More information about the cups mailing list