-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error PID 1189 (/usr/lib/cups/filter/raster-tspl) stopped with status 102 (No such file or directory) #1
Comments
What do you see if you execute |
|
my cups version is 2.3.3. |
That may be why (the higher cups version). I’m not at home and thus don’t have access to a RPi at the moment, but I can try recompiling when I’m back next week. |
With that in mind - what version of RPi OS are you running, and 32 or 64 bit? |
which CUPS version do you recommend? |
|
Recommend is a strong word. ;) Cups 2.2.10 came bundled with Buster which is what is still installed on the Pi I have my label printers connected to. |
I will try with cusp 2.2.10 now and report its result :) |
another problem: |
That’s not something I’ve experienced, unfortunately, so I have no recommendations for that. Sorry about that. |
are you using OpenPrinting Cups or Apple Cups? |
The default one that comes with RPi OS |
My raspberry-pi OS is |
Hello @thorrak
I have an "IDPRT IT4B" label printer.
I did install it by your PPD file and then added "raster-tspl" to the "/usr/lib/cups/filter" directory.
But I will receive the below error when I attempt to do a test print:
full log from /var/log/cups/error_log :
E [21/May/2023:12:33:43 +0330] [Job 2] Unable to open raster stream - : Broken pipe E [21/May/2023:12:33:43 +0330] [Job 2] Job stopped due to filter errors; please consult the /var/log/cups/error_log file for details. D [21/May/2023:12:33:43 +0330] [Job 2] The following messages were recorded from 12:33:42 to 12:33:43 D [21/May/2023:12:33:43 +0330] [Job 2] Applying default options... D [21/May/2023:12:33:43 +0330] [Job 2] Adding start banner page "none". D [21/May/2023:12:33:43 +0330] [Job 2] Adding end banner page "none". D [21/May/2023:12:33:43 +0330] [Job 2] File of type application/vnd.cups-pdf-banner queued by "anonymous". D [21/May/2023:12:33:43 +0330] [Job 2] hold_until=0 D [21/May/2023:12:33:43 +0330] [Job 2] Queued on "iDPRT_iT4B3" by "anonymous". D [21/May/2023:12:33:43 +0330] [Job 2] time-at-processing=1684659822 D [21/May/2023:12:33:43 +0330] [Job 2] 4 filters for job: D [21/May/2023:12:33:43 +0330] [Job 2] bannertopdf (application/vnd.cups-pdf-banner to application/pdf, cost 32) D [21/May/2023:12:33:43 +0330] [Job 2] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66) D [21/May/2023:12:33:43 +0330] [Job 2] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99) D [21/May/2023:12:33:43 +0330] [Job 2] raster-tspl (application/vnd.cups-raster to printer/iDPRT_iT4B3, cost 0) D [21/May/2023:12:33:43 +0330] [Job 2] job-sheets=none,none D [21/May/2023:12:33:43 +0330] [Job 2] argv[0]="iDPRT_iT4B3" D [21/May/2023:12:33:43 +0330] [Job 2] argv[1]="2" D [21/May/2023:12:33:43 +0330] [Job 2] argv[2]="anonymous" D [21/May/2023:12:33:43 +0330] [Job 2] argv[3]="Test Page" D [21/May/2023:12:33:43 +0330] [Job 2] argv[4]="1" D [21/May/2023:12:33:43 +0330] [Job 2] argv[5]="job-uuid=urn:uuid:f4a9c443-09f0-32ff-6681-d0269113acbd job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1684659822 time-at-processing=1684659822" D [21/May/2023:12:33:43 +0330] [Job 2] argv[6]="/var/spool/cups/d00002-001" D [21/May/2023:12:33:43 +0330] [Job 2] envp[0]="CUPS_CACHEDIR=/var/cache/cups" D [21/May/2023:12:33:43 +0330] [Job 2] envp[1]="CUPS_DATADIR=/usr/share/cups" D [21/May/2023:12:33:43 +0330] [Job 2] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root" D [21/May/2023:12:33:43 +0330] [Job 2] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" D [21/May/2023:12:33:43 +0330] [Job 2] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [21/May/2023:12:33:43 +0330] [Job 2] envp[5]="CUPS_SERVERBIN=/usr/lib/cups" D [21/May/2023:12:33:43 +0330] [Job 2] envp[6]="CUPS_SERVERROOT=/etc/cups" D [21/May/2023:12:33:43 +0330] [Job 2] envp[7]="CUPS_STATEDIR=/run/cups" D [21/May/2023:12:33:43 +0330] [Job 2] envp[8]="HOME=/var/spool/cups/tmp" D [21/May/2023:12:33:43 +0330] [Job 2] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" D [21/May/2023:12:33:43 +0330] [Job 2] envp[10]="SERVER_ADMIN=root@raspberrypi" D [21/May/2023:12:33:43 +0330] [Job 2] envp[11]="SOFTWARE=CUPS/2.3.3op2" D [21/May/2023:12:33:43 +0330] [Job 2] envp[12]="TMPDIR=/var/spool/cups/tmp" D [21/May/2023:12:33:43 +0330] [Job 2] envp[13]="USER=root" D [21/May/2023:12:33:43 +0330] [Job 2] envp[14]="CUPS_MAX_MESSAGE=2047" D [21/May/2023:12:33:43 +0330] [Job 2] envp[15]="CUPS_SERVER=/run/cups/cups.sock" D [21/May/2023:12:33:43 +0330] [Job 2] envp[16]="CUPS_ENCRYPTION=IfRequested" D [21/May/2023:12:33:43 +0330] [Job 2] envp[17]="IPP_PORT=631" D [21/May/2023:12:33:43 +0330] [Job 2] envp[18]="CHARSET=utf-8" D [21/May/2023:12:33:43 +0330] [Job 2] envp[19]="LANG=en_US.UTF-8" D [21/May/2023:12:33:43 +0330] [Job 2] envp[20]="PPD=/etc/cups/ppd/iDPRT_iT4B3.ppd" D [21/May/2023:12:33:43 +0330] [Job 2] envp[21]="RIP_MAX_CACHE=128m" D [21/May/2023:12:33:43 +0330] [Job 2] envp[22]="CONTENT_TYPE=application/vnd.cups-pdf-banner" D [21/May/2023:12:33:43 +0330] [Job 2] envp[23]="DEVICE_URI=usb://iDPRT/iT4B3?serial=iT4B0022020030XX" D [21/May/2023:12:33:43 +0330] [Job 2] envp[24]="PRINTER_INFO=iDPRT iT4B3" D [21/May/2023:12:33:43 +0330] [Job 2] envp[25]="PRINTER_LOCATION=" D [21/May/2023:12:33:43 +0330] [Job 2] envp[26]="PRINTER=iDPRT_iT4B3" D [21/May/2023:12:33:43 +0330] [Job 2] envp[27]="PRINTER_STATE_REASONS=none" D [21/May/2023:12:33:43 +0330] [Job 2] envp[28]="CUPS_FILETYPE=document" D [21/May/2023:12:33:43 +0330] [Job 2] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-raster" D [21/May/2023:12:33:43 +0330] [Job 2] envp[30]="AUTH_I****" D [21/May/2023:12:33:43 +0330] [Job 2] Started filter /usr/lib/cups/filter/bannertopdf (PID 1186) D [21/May/2023:12:33:43 +0330] [Job 2] Started filter /usr/lib/cups/filter/pdftopdf (PID 1187) D [21/May/2023:12:33:43 +0330] [Job 2] Started filter /usr/lib/cups/filter/gstoraster (PID 1188) D [21/May/2023:12:33:43 +0330] [Job 2] Started filter /usr/lib/cups/filter/raster-tspl (PID 1189) D [21/May/2023:12:33:43 +0330] [Job 2] Started backend /usr/lib/cups/backend/usb (PID 1190) D [21/May/2023:12:33:43 +0330] [Job 2] PID 1189 (/usr/lib/cups/filter/raster-tspl) stopped with status 102 (No such file or directory) D [21/May/2023:12:33:43 +0330] [Job 2] Hint: Try setting the LogLevel to "debug" to find out more. D [21/May/2023:12:33:43 +0330] [Job 2] execv failed: No such file or directory D [21/May/2023:12:33:43 +0330] [Job 2] pdftopdf: Last filter determined by the PPD: raster-tspl; FINAL_CONTENT_TYPE: application/vnd.cups-raster => pdftopdf will not log pages in page_log. D [21/May/2023:12:33:43 +0330] [Job 2] OUTFORMAT=\"\", so output format will be CUPS/PWG Raster D [21/May/2023:12:33:43 +0330] [Job 2] Loading USB quirks from \"/usr/share/cups/usb\". D [21/May/2023:12:33:43 +0330] [Job 2] Loaded 98 quirks. D [21/May/2023:12:33:43 +0330] [Job 2] Printing on printer with URI: usb://iDPRT/iT4B3?serial=iT4B0022020030XX D [21/May/2023:12:33:43 +0330] [Job 2] PDF template file doesn\'t have form. It\'s okay. D [21/May/2023:12:33:43 +0330] [Job 2] libusb_get_device_list=5 D [21/May/2023:12:33:43 +0330] [Job 2] STATE: +connecting-to-device D [21/May/2023:12:33:43 +0330] [Job 2] STATE: -connecting-to-device D [21/May/2023:12:33:43 +0330] [Job 2] Printer found with device ID: MANUFACTURER:iDPRT;MODEL:iT4B3;ACTIVE COMMAND:ZPL Device URI: usb://iDPRT/iT4B3?serial=iT4B0022020030XX D [21/May/2023:12:33:43 +0330] [Job 2] Device protocol: 2 D [21/May/2023:12:33:43 +0330] [Job 2] PID 1186 (/usr/lib/cups/filter/bannertopdf) exited with no errors. D [21/May/2023:12:33:43 +0330] [Job 2] PDF interactive form and annotation flattening done via QPDF D [21/May/2023:12:33:43 +0330] [Job 2] Sending data to printer. D [21/May/2023:12:33:43 +0330] [Job 2] Sent 0 bytes... D [21/May/2023:12:33:43 +0330] [Job 2] PID 1187 (/usr/lib/cups/filter/pdftopdf) exited with no errors. D [21/May/2023:12:33:43 +0330] [Job 2] Color Manager: Calibration Mode/Off D [21/May/2023:12:33:43 +0330] [Job 2] Calling FindDeviceById(cups-iDPRT_iT4B3) D [21/May/2023:12:33:43 +0330] [Job 2] Found device /org/freedesktop/ColorManager/devices/cups_iDPRT_iT4B3 D [21/May/2023:12:33:43 +0330] [Job 2] Calling org.freedesktop.ColorManager.Device.Get(ProfilingInhibitors) D [21/May/2023:12:33:43 +0330] [Job 2] Calling FindDeviceById(cups-iDPRT_iT4B3) D [21/May/2023:12:33:43 +0330] [Job 2] Found device /org/freedesktop/ColorManager/devices/cups_iDPRT_iT4B3 D [21/May/2023:12:33:43 +0330] [Job 2] Calling GetProfileForQualifiers(Gray..203dpi...) D [21/May/2023:12:33:43 +0330] [Job 2] Found profile /org/freedesktop/ColorManager/profiles/iDPRT_iT4B3_Gray__ D [21/May/2023:12:33:43 +0330] [Job 2] Calling org.freedesktop.ColorManager.Profile.Get(Filename) D [21/May/2023:12:33:43 +0330] [Job 2] Use profile filename: \'\' D [21/May/2023:12:33:43 +0330] [Job 2] Color Manager: ICC Profile: D [21/May/2023:12:33:43 +0330] [Job 2] Ghostscript using Any-Part-of-Pixel method to fill paths. D [21/May/2023:12:33:43 +0330] [Job 2] Ghostscript command line: gs -dQUIET -dSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dShowAcroForm -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=cups -r203x203 -dDEVICEWIDTHPOINTS=42 -dDEVICEHEIGHTPOINTS=28 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=3 -scupsPageSizeName=Custom -I/usr/share/cups/fonts -c \'<>setpagedevice\' -f -_ D [21/May/2023:12:33:43 +0330] [Job 2] envp[0]=\"CUPS_CACHEDIR=/var/cache/cups\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[1]=\"CUPS_DATADIR=/usr/share/cups\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[2]=\"CUPS_DOCROOT=/usr/share/cups/doc-root\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[3]=\"CUPS_FONTPATH=/usr/share/cups/fonts\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[4]=\"CUPS_REQUESTROOT=/var/spool/cups\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[5]=\"CUPS_SERVERBIN=/usr/lib/cups\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[6]=\"CUPS_SERVERROOT=/etc/cups\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[7]=\"CUPS_STATEDIR=/run/cups\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[8]=\"HOME=/var/spool/cups/tmp\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[9]=\"PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[10]=\"SERVER_ADMIN=root@raspberrypi\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[11]=\"SOFTWARE=CUPS/2.3.3op2\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[12]=\"TMPDIR=/var/spool/cups/tmp\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[13]=\"USER=root\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[14]=\"CUPS_MAX_MESSAGE=2047\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[15]=\"CUPS_SERVER=/run/cups/cups.sock\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[16]=\"CUPS_ENCRYPTION=IfRequested\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[17]=\"IPP_PORT=631\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[18]=\"CHARSET=utf-8\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[19]=\"LANG=en_US.UTF-8\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[20]=\"PPD=/etc/cups/ppd/iDPRT_iT4B3.ppd\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[21]=\"RIP_MAX_CACHE=128m\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[22]=\"CONTENT_TYPE=application/vnd.cups-pdf-banner\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[23]=\"DEVICE_URI=usb://iDPRT/iT4B3?serial=iT4B0022020030XX\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[24]=\"PRINTER_INFO=iDPRT iT4B3\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[25]=\"PRINTER_LOCATION=\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[26]=\"PRINTER=iDPRT_iT4B3\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[27]=\"PRINTER_STATE_REASONS=none\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[28]=\"CUPS_FILETYPE=document\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[29]=\"FINAL_CONTENT_TYPE=application/vnd.cups-raster\" D [21/May/2023:12:33:43 +0330] [Job 2] envp[30]=\"AUTH_INFO_REQUIRED=none\" D [21/May/2023:12:33:43 +0330] [Job 2] Start rendering... D [21/May/2023:12:33:43 +0330] [Job 2] Processing page 1... D [21/May/2023:12:33:43 +0330] [Job 2] Error: /ioerror in --showpage-- D [21/May/2023:12:33:43 +0330] [Job 2] Operand stack: D [21/May/2023:12:33:43 +0330] [Job 2] true (/var/spool/cups/tmp/gs_lUdqOw) --nostringval-- 1 true D [21/May/2023:12:33:43 +0330] [Job 2] Execution stack: D [21/May/2023:12:33:43 +0330] [Job 2] %interp_exit .runexec2 --nostringval-- showpage --nostringval-- 2 %stopped_push --nostringval-- showpage showpage false 1 %stopped_push 1990 2 3 %oparray_pop 1989 2 3 %oparray_pop 1977 2 3 %oparray_pop showpage 1978 4 3 %oparray_pop showpage showpage 2 1 1 showpage %for_pos_int_continue 1981 4 7 %oparray_pop showpage showpage 1840 3 9 %oparray_pop showpage showpage D [21/May/2023:12:33:43 +0330] [Job 2] Dictionary stack: D [21/May/2023:12:33:43 +0330] [Job 2] --dict:740/1123(ro)(G)-- --dict:1/20(G)-- --dict:80/200(L)-- --dict:80/200(L)-- --dict:133/256(ro)(G)-- --dict:320/325(ro)(G)-- --dict:33/64(L)-- --dict:6/9(L)-- --dict:7/20(L)-- D [21/May/2023:12:33:43 +0330] [Job 2] Current allocation mode is local D [21/May/2023:12:33:43 +0330] [Job 2] Last OS error: Broken pipe D [21/May/2023:12:33:43 +0330] [Job 2] GPL Ghostscript 9.53.3: Unrecoverable error, exit code 1 D [21/May/2023:12:33:43 +0330] [Job 2] Rendering completed D [21/May/2023:12:33:43 +0330] [Job 2] PID 1188 (/usr/lib/cups/filter/gstoraster) stopped with status 1. D [21/May/2023:12:33:43 +0330] [Job 2] Hint: Try setting the LogLevel to "debug" to find out more. D [21/May/2023:12:33:43 +0330] [Job 2] Waiting for read thread to exit... D [21/May/2023:12:33:43 +0330] [Job 2] PID 1190 (/usr/lib/cups/backend/usb) exited with no errors. D [21/May/2023:12:33:43 +0330] [Job 2] End of messages D [21/May/2023:12:33:43 +0330] [Job 2] printer-state=3(idle) D [21/May/2023:12:33:43 +0330] [Job 2] printer-state-message="Rendering completed" D [21/May/2023:12:33:43 +0330] [Job 2] printer-state-reasons=nonewhat is the problem?
The text was updated successfully, but these errors were encountered: