[RndTbl] Request for HELP! Solaris 11 printing (CUPS)

Kevin McGregor kevin.a.mcgregor at gmail.com
Wed Jan 13 11:48:47 CST 2016


I just don't understand Unix printing, I guess. We had it working on
Solaris 10 using the old standby lp printing system. Solaris 11 now uses
CUPS, and I can't find a reference anywhere that is helpful.

On the old/current Solaris 10 system, we have:
$ lpstat -t
scheduler is running
no system default destination
system for cowsvpprmom: 192.168.59.113 (as lpd://
192.168.59.113/printers/GENERAL_ENTRY#Solaris)
system for cowsvdprmom: 172.17.176.58 (as lpd://
172.17.176.58/printers/GENERAL_ENTRY#Solaris)
cowsvpprmom accepting requests since Fri Jan 08 12:09:10 2016
cowsvdprmom accepting requests since Fri Jan 08 12:09:10 2016
printer cowsvpprmom disabled since Fri Jan 08 12:09:11 2016. available.
printer cowsvdprmom disabled since Fri Jan 08 12:09:11 2016. available.


On the new Solaris 11 system (zone) I tried:
# lpadmin -p cowsvdprmom -E -v lpd://cowsvdprmom/printers/GENERAL_ENTRY
# lpadmin -p cowsvpprmom -E -v lpd://cowsvpprmom/printers/GENERAL_ENTRY

...which doesn't seem to work, because I couldn't print anything (the lpr
command works, but then the print queue gets disabled) and this shows up in
the CUPS error log:

D [13/Jan/2016:11:18:20 +0600] [Job 3] Connecting to printer...
D [13/Jan/2016:11:18:20 +0600] [Job 3] STATE: -connecting-to-device
D [13/Jan/2016:11:18:20 +0600] [Job 3] Connected to printer...
D [13/Jan/2016:11:18:20 +0600] [Job 3] Connected to 192.168.59.113:515
(IPv4) (local port 1015)...
D [13/Jan/2016:11:18:20 +0600] [Job 3] lpd_command 02 printers/GENERAL_ENTRY
D [13/Jan/2016:11:18:20 +0600] [Job 3] Sending command string (24 bytes)...
D [13/Jan/2016:11:18:20 +0600] [Job 3] Reading command status...
D [13/Jan/2016:11:18:20 +0600] [Job 3] lpd_command returning 1
D [13/Jan/2016:11:18:20 +0600] [Job 3] Backend returned status 1 (failed)
D [13/Jan/2016:11:18:20 +0600] [Job 3] Printer stopped due to backend
errors; please consult the error_log file for details.
D [13/Jan/2016:11:18:20 +0600] [Job 3] End of messages
D [13/Jan/2016:11:18:20 +0600] [Job 3] printer-state=5(stopped)
D [13/Jan/2016:11:18:20 +0600] [Job 3]
printer-state-message="/usr/lib/cups/backend/lpd failed"
D [13/Jan/2016:11:18:20 +0600] [Job 3] printer-state-reasons=paused


Have I just got the queue name wrong or something? Or should I be doing
something completely different in defining the queue/printer?

Thanks for any help you can provide!
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.muug.mb.ca/pipermail/roundtable/attachments/20160113/dd429f3b/attachment.html>


More information about the Roundtable mailing list