[cups] problem with CUPS network printing and Zebra ZP505 label printer

Bond Masuda bond.masuda at jlbond.com
Tue Aug 1 21:55:39 PDT 2017


I have a Zebra ZP505 label printer that is connected to my computer via 
USB. I've setup CUPS as a local USB printer using the Zebra EPL2 driver 
and it appears to work just fine. I can print test pages and actual 
shipping labels from eBay, etc. So far so good. OS is Fedora 25 Linux, 
in case that matters.

Now, I'm trying to set it up so that I can print to this printer over 
the network using CUPS IPP interface on my Fedora 25 machine. On another 
networked machine, also running Fedora 25 Linux, I add a network printer 
and point it to device URI:

ipp://zebra-zp505/printers/Zebra_ZP_505

I choose the same printer driver, Zebra EPL2, etc. However, when I print 
from that 2nd remote machine over the network, I get an error "No pages 
were found." This is what I see from the error log:


E [02/Aug/2017:04:10:45 +0000] [Job 12] No pages were found.
E [02/Aug/2017:04:10:45 +0000] [Job 12] Job stopped due to filter 
errors; please consult the error_log file for details.
D [02/Aug/2017:04:10:45 +0000] [Job 12] The following messages were 
recorded from 04:10:45 to 04:10:45
D [02/Aug/2017:04:10:45 +0000] [Job 12] Adding start banner page "none".
D [02/Aug/2017:04:10:45 +0000] [Job 12] Queued on "Zebra_ZP_505" by 
"bmasuda".
D [02/Aug/2017:04:10:45 +0000] [Job 12] File of type 
application/vnd.cups-raster queued by "bmasuda".
D [02/Aug/2017:04:10:45 +0000] [Job 12] Adding end banner page "none".
D [02/Aug/2017:04:10:45 +0000] [Job 12] time-at-processing=1501647045
D [02/Aug/2017:04:10:45 +0000] [Job 12] 1 filters for job:
D [02/Aug/2017:04:10:45 +0000] [Job 12] rastertolabel 
(application/vnd.cups-raster to printer/Zebra_ZP_505, cost 50)
D [02/Aug/2017:04:10:45 +0000] [Job 12] job-sheets=none,none
D [02/Aug/2017:04:10:45 +0000] [Job 12] argv[0]="Zebra_ZP_505"
D [02/Aug/2017:04:10:45 +0000] [Job 12] argv[1]="12"
D [02/Aug/2017:04:10:45 +0000] [Job 12] argv[2]="bmasuda"
D [02/Aug/2017:04:10:45 +0000] [Job 12] argv[3]="Test Page"
D [02/Aug/2017:04:10:45 +0000] [Job 12] argv[4]="1"
D [02/Aug/2017:04:10:45 +0000] [Job 12] 
argv[5]="job-uuid=urn:uuid:f0f572c3-1ae8-3b5a-4f49-db47692ec606 
job-originating-host-name=192.168.0.29 time-at-creation=1501647045 
time-at-processing=1501647045"
D [02/Aug/2017:04:10:45 +0000] [Job 12] argv[6]="/var/spool/cups/d00012-001"
D [02/Aug/2017:04:10:45 +0000] [Job 12] 
envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [02/Aug/2017:04:10:45 +0000] [Job 12] 
envp[1]="CUPS_DATADIR=/usr/share/cups"
D [02/Aug/2017:04:10:45 +0000] [Job 12] 
envp[2]="CUPS_DOCROOT=/usr/share/cups/www"
D [02/Aug/2017:04:10:45 +0000] [Job 12] 
envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [02/Aug/2017:04:10:45 +0000] [Job 12] 
envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [02/Aug/2017:04:10:45 +0000] [Job 12] 
envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [02/Aug/2017:04:10:45 +0000] [Job 12] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [02/Aug/2017:04:10:45 +0000] [Job 12] 
envp[7]="CUPS_STATEDIR=/var/run/cups"
D [02/Aug/2017:04:10:45 +0000] [Job 12] envp[8]="HOME=/var/spool/cups/tmp"
D [02/Aug/2017:04:10:45 +0000] [Job 12] 
envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [02/Aug/2017:04:10:45 +0000] [Job 12] 
envp[10]="SERVER_ADMIN=root at zebra-zp505"
D [02/Aug/2017:04:10:45 +0000] [Job 12] envp[11]="SOFTWARE=CUPS/1.6.3"
D [02/Aug/2017:04:10:45 +0000] [Job 12] 
envp[12]="TMPDIR=/var/spool/cups/tmp"
D [02/Aug/2017:04:10:45 +0000] [Job 12] envp[13]="USER=root"
D [02/Aug/2017:04:10:45 +0000] [Job 12] envp[14]="CUPS_MAX_MESSAGE=2047"
D [02/Aug/2017:04:10:45 +0000] [Job 12] 
envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [02/Aug/2017:04:10:45 +0000] [Job 12] 
envp[16]="CUPS_ENCRYPTION=IfRequested"
D [02/Aug/2017:04:10:45 +0000] [Job 12] envp[17]="IPP_PORT=631"
D [02/Aug/2017:04:10:45 +0000] [Job 12] envp[18]="CHARSET=utf-8"
D [02/Aug/2017:04:10:45 +0000] [Job 12] envp[19]="LANG=en_US.UTF-8"
D [02/Aug/2017:04:10:45 +0000] [Job 12] 
envp[20]="PPD=/etc/cups/ppd/Zebra_ZP_505.ppd"
D [02/Aug/2017:04:10:45 +0000] [Job 12] envp[21]="RIP_MAX_CACHE=128m"
D [02/Aug/2017:04:10:45 +0000] [Job 12] 
envp[22]="CONTENT_TYPE=application/vnd.cups-raster"
D [02/Aug/2017:04:10:45 +0000] [Job 12] 
envp[23]="DEVICE_URI=usb://Zebra%20Technologies/ZTC%20ZP%20500%20(ZPL)?serial=27J144301776"
D [02/Aug/2017:04:10:45 +0000] [Job 12] envp[24]="PRINTER_INFO=Zebra 
Technologies ZTC ZP 500 (ZPL)"
D [02/Aug/2017:04:10:45 +0000] [Job 12] envp[25]="PRINTER_LOCATION=Main 
Office"
D [02/Aug/2017:04:10:45 +0000] [Job 12] envp[26]="PRINTER=Zebra_ZP_505"
D [02/Aug/2017:04:10:45 +0000] [Job 12] 
envp[27]="PRINTER_STATE_REASONS=none"
D [02/Aug/2017:04:10:45 +0000] [Job 12] envp[28]="CUPS_FILETYPE=document"
D [02/Aug/2017:04:10:45 +0000] [Job 12] envp[29]="AUTH_I****"
D [02/Aug/2017:04:10:45 +0000] [Job 12] Started filter 
/usr/lib/cups/filter/rastertolabel (PID 3262)
D [02/Aug/2017:04:10:45 +0000] [Job 12] Started backend 
/usr/lib/cups/backend/usb (PID 3263)
D [02/Aug/2017:04:10:45 +0000] [Job 12] Set job-printer-state-message to 
"No pages were found.", current level=ERROR
D [02/Aug/2017:04:10:45 +0000] [Job 12] Printing on printer with URI: 
usb://Zebra%20Technologies/ZTC%20ZP%20500%20(ZPL)?serial=27J144301776
D [02/Aug/2017:04:10:45 +0000] [Job 12] PID 3262 
(/usr/lib/cups/filter/rastertolabel) stopped with status 1.
D [02/Aug/2017:04:10:45 +0000] [Job 12] Hint: Try setting the LogLevel 
to "debug" to find out more.
D [02/Aug/2017:04:10:45 +0000] [Job 12] libusb_get_device_list=4
D [02/Aug/2017:04:10:45 +0000] [Job 12] STATE: +connecting-to-device
D [02/Aug/2017:04:10:45 +0000] [Job 12] STATE: -connecting-to-device
D [02/Aug/2017:04:10:45 +0000] [Job 12] Printer found with device ID: 
MANUFACTURER:Zebra Technologies;COMMAND SET:ZPL;MODEL:ZTC ZP 500 
(ZPL);CLASS:PRINTER;PROTOCOLS:IEEE1284.4;OPTIONS:INTPSRVR; Device URI: 
usb://Zebra%20Technologies/ZTC%20ZP%20500%20(ZPL)?serial=27J144301776
D [02/Aug/2017:04:10:45 +0000] [Job 12] Device protocol: 2
D [02/Aug/2017:04:10:45 +0000] [Job 12] Printer reports bi-di support 
but in reality works only uni-directionally
D [02/Aug/2017:04:10:45 +0000] [Job 12] Uni-directional USB 
communication only!
D [02/Aug/2017:04:10:45 +0000] [Job 12] Uni-directional device/mode, 
back channel deactivated.
D [02/Aug/2017:04:10:45 +0000] [Job 12] Sending data to printer.
D [02/Aug/2017:04:10:45 +0000] [Job 12] Sent 0 bytes...
D [02/Aug/2017:04:10:45 +0000] [Job 12] PID 3263 
(/usr/lib/cups/backend/usb) exited with no errors.
D [02/Aug/2017:04:10:45 +0000] [Job 12] End of messages
D [02/Aug/2017:04:10:45 +0000] [Job 12] printer-state=3(idle)
D [02/Aug/2017:04:10:45 +0000] [Job 12] printer-state-message="Sending 
data to printer."
D [02/Aug/2017:04:10:45 +0000] [Job 12] printer-state-reasons=none
E [02/Aug/2017:04:15:49 +0000] [Job 12] Stopping unresponsive job.


The line that seems revealing, to me at least, is:

D [02/Aug/2017:04:10:45 +0000] [Job 12] PID 3262 
(/usr/lib/cups/filter/rastertolabel) stopped with status 1.

Can anyone help me troubleshoot this further to see why rastertolabel 
stopped with status 1?

Is there a problem with my configuration or setup here? Why is it that i 
can print locally, but not remotely?

Thanks for any help...
Bond




More information about the cups mailing list