thorrak/rpi-tspl-cups-driver

error PID 1189 (/usr/lib/cups/filter/raster-tspl) stopped with status 102 (No such file or directory)

Opened this issue · 14 comments

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:

PID 1189 (/usr/lib/cups/filter/raster-tspl) stopped with status 102 (No such file or directory)
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=none

what is the problem?

What do you see if you execute ls -la /usr/lib/cups/filter/ ?

ls -la /usr/lib/cups/filter/
This is list of cups filters:

-rwxr-xr-x  1 root root  55552 Mar 15  2022 bannertopdf
-rwxr-xr-x  1 root root   2003 Mar 15  2022 brftoembosser
-rwxr-xr-x  1 root root   3476 Mar 15  2022 brftopagedbrf
lrwxrwxrwx  1 root root     11 Mar 15  2022 cgmtopdf -> vectortopdf
lrwxrwxrwx  1 root root     11 Mar 15  2022 cmxtopdf -> vectortopdf
-rwxr-xr-x  1 root root  10344 Apr 24  2021 commandtocanon
-rwxr-xr-x  1 root root  10344 Apr 24  2021 commandtoepson
-rwxr-xr-x  1 root root  10328 Mar 15  2022 commandtoescpx
-rwxr-xr-x  1 root root  10328 Mar 15  2022 commandtopclx
-rwxr-xr-x  1 root root  14432 May 24  2022 commandtops
lrwxrwxrwx  1 root root     11 Mar 15  2022 emftopdf -> vectortopdf
-rwxr-xr-x  1 root root 117904 Mar 15  2022 foomatic-rip
-rwxr-xr-x  1 root root    555 Mar 15  2022 gstopdf
-rwxr-xr-x  1 root root    558 Mar 15  2022 gstopxl
-rwxr-xr-x  1 root root  59648 Mar 15  2022 gstoraster
-rwxr-xr-x  1 root root  10336 May 24  2022 gziptoany
-rwxr-xr-x  1 root root   3759 Mar 15  2022 imagetobrf
-rwxr-xr-x  1 root root  43152 Mar 15  2022 imagetopdf
-rwxr-xr-x  1 root root    988 Mar 15  2022 imagetops
-rwxr-xr-x  1 root root  56768 Mar 15  2022 imagetoraster
lrwxrwxrwx  1 root root     10 Mar 15  2022 imagetoubrl -> imagetobrf
-rwxr-xr-x  1 root root   6580 Mar 15  2022 imageubrltoindexv3
-rwxr-xr-x  1 root root   6648 Mar 15  2022 imageubrltoindexv4
-rwxr-xr-x  1 root root  14424 Mar 15  2022 mupdftoraster
-rwxr-xr-x  1 root root   1873 Mar 15  2022 musicxmltobrf
-rwxr-xr-x  1 root root 153976 Mar 15  2022 pdftopdf
-rwxr-xr-x  1 root root  72272 Mar 15  2022 pdftops
-rwxr-xr-x  1 root root  39192 Mar 15  2022 pdftoraster
-rwxr-xr-x  1 root root  51328 May 24  2022 pstops
-rwxr-xr-x  1 root root  53952 May 21 12:31 raster-tspl
-rwxr-xr-x  1 root root  18512 May 24  2022 rastertoepson
-rwxr-xr-x  1 root root  30808 Mar 15  2022 rastertoescpx
-rwxr-xr-x  1 root root  43176 Apr 24  2021 rastertogutenprint.5.3
-rwxr-xr-x  1 root root  18512 May 24  2022 rastertohp
-rwxr-xr-x  1 root root  22608 May 24  2022 rastertolabel
-rwxr-xr-x  1 root root    563 Mar 15  2022 rastertopclm
-rwxr-xr-x  1 root root  30824 Mar 15  2022 rastertopclx
-rwxr-xr-x  1 root root  80072 Mar 15  2022 rastertopdf
-rwxr-xr-x  1 root root  14440 Mar 15  2022 rastertops
-rwxr-xr-x  1 root root  14416 May 24  2022 rastertopwg
lrwxrwxrwx  1 root root     11 Mar 15  2022 svgtopdf -> vectortopdf
-rwxr-xr-x  1 root root  26832 Mar 15  2022 sys5ippprinter
-rwxr-xr-x  1 root root   4911 Mar 15  2022 textbrftoindexv3
lrwxrwxrwx  1 root root     16 Mar 15  2022 textbrftoindexv4 -> textbrftoindexv3
-rwxr-xr-x  1 root root   9289 Mar 15  2022 texttobrf
-rwxr-xr-x  1 root root  58704 Mar 15  2022 texttopdf
-rwxr-xr-x  1 root root    982 Mar 15  2022 texttops
-rwxr-xr-x  1 root root  22616 Mar 15  2022 texttotext
-rwxr-xr-x  1 root root   2588 Mar 15  2022 vectortobrf
-rwxr-xr-x  1 root root   2177 Mar 15  2022 vectortopdf
lrwxrwxrwx  1 root root     11 Mar 15  2022 vectortoubrl -> vectortobrf
lrwxrwxrwx  1 root root     11 Mar 15  2022 wmftopdf -> vectortopdf
lrwxrwxrwx  1 root root     11 Mar 15  2022 xfigtopdf -> vectortopdf

my cups version is 2.3.3.
I can do print by the "Zebra ZPL Label Printer" driver model, But I can not with your own PPD.

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?

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.

which CUPS version do you recommend?

With that in mind - what version of RPi OS are you running, and 32 or 64 bit?

uname -a :
Linux raspberrypi 5.15.61-v8+ #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 aarch64 GNU/Linux

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.

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:
I don't know why after one or two successful print, next lp command results in multiple white label (for example 20cm) comes out from printer. (while I have no error in /var/log/cups/error_log).
do you know what is its problem?

That’s not something I’ve experienced, unfortunately, so I have no recommendations for that. Sorry about that.

The default one that comes with RPi OS

My raspberry-pi OS is raspbian-bullseye-arm64-lite and does not have default cups.
I was already installing cups by the sudo apt install cups simply and now I don't know how install it from source code:) (They have poor documentation)