apple / cups

Apple CUPS Sources
https://www.cups.org
Apache License 2.0
1.85k stars 452 forks source link

Xprinter420B(usb) filter failed error(os -- armbian) #6151

Open slty7 opened 7 months ago

slty7 commented 7 months ago

E [13/Oct/2023:10:31:23 +0800] [Job 9] Job stopped due to filter errors; please consult the /var/log/cups/error_log file for details. D [13/Oct/2023:10:31:23 +0800] [Job 9] The following messages were recorded from 10:31:14 AM to 10:31:23 AM D [13/Oct/2023:10:31:23 +0800] [Job 9] Applying default options... D [13/Oct/2023:10:31:23 +0800] [Job 9] Adding start banner page "none". D [13/Oct/2023:10:31:23 +0800] [Job 9] Adding end banner page "none". D [13/Oct/2023:10:31:23 +0800] [Job 9] File of type application/vnd.cups-pdf-banner queued by "root". D [13/Oct/2023:10:31:23 +0800] [Job 9] hold_until=0 D [13/Oct/2023:10:31:23 +0800] [Job 9] Queued on "Xprinter_XP-420B" by "root". D [13/Oct/2023:10:31:23 +0800] [Job 9] time-at-processing=1697164274 D [13/Oct/2023:10:31:23 +0800] [Job 9] 4 filters for job: D [13/Oct/2023:10:31:23 +0800] [Job 9] bannertopdf (application/vnd.cups-pdf-banner to application/pdf, cost 32) D [13/Oct/2023:10:31:23 +0800] [Job 9] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66) D [13/Oct/2023:10:31:23 +0800] [Job 9] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99) D [13/Oct/2023:10:31:23 +0800] [Job 9] xprinter (application/vnd.cups-raster to printer/Xprinter_XP-420B, cost 0) D [13/Oct/2023:10:31:23 +0800] [Job 9] job-sheets=none,none D [13/Oct/2023:10:31:23 +0800] [Job 9] argv[0]="Xprinter_XP-420B" D [13/Oct/2023:10:31:23 +0800] [Job 9] argv[1]="9" D [13/Oct/2023:10:31:23 +0800] [Job 9] argv[2]="root" D [13/Oct/2023:10:31:23 +0800] [Job 9] argv[3]="Test Page" D [13/Oct/2023:10:31:23 +0800] [Job 9] argv[4]="1" D [13/Oct/2023:10:31:23 +0800] [Job 9] argv[5]="job-uuid=urn:uuid:d63335e6-6b9b-3dbc-5e31-e63a083461f8 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1697164274 time-at-processing=1697164274" D [13/Oct/2023:10:31:23 +0800] [Job 9] argv[6]="/var/spool/cups/d00009-001" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[0]="CUPS_CACHEDIR=/var/cache/cups" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[1]="CUPS_DATADIR=/usr/share/cups" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[5]="CUPS_SERVERBIN=/usr/lib/cups" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[6]="CUPS_SERVERROOT=/etc/cups" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[7]="CUPS_STATEDIR=/run/cups" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[8]="HOME=/var/spool/cups/tmp" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[10]="SERVER_ADMIN=root@armbian" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[11]="SOFTWARE=CUPS/2.3.3op2" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[12]="TMPDIR=/var/spool/cups/tmp" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[13]="USER=root" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[14]="CUPS_MAX_MESSAGE=2047" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[15]="CUPS_SERVER=/run/cups/cups.sock" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[16]="CUPS_ENCRYPTION=IfRequested" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[17]="IPP_PORT=631" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[18]="CHARSET=utf-8" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[19]="LANG=zh_CN.UTF-8" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[20]="PPD=/etc/cups/ppd/Xprinter_XP-420B.ppd" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[21]="RIP_MAX_CACHE=128m" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[22]="CONTENT_TYPE=application/vnd.cups-pdf-banner" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[23]="DEVICE_URI=usb://Xprinter/XP-420B?serial=S420BUH239040240" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[24]="PRINTER_INFO=Xprinter XP-420B" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[25]="PRINTER_LOCATION=xprinter-420b" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[26]="PRINTER=Xprinter_XP-420B" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[27]="PRINTER_STATE_REASONS=none" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[28]="CUPS_FILETYPE=document" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-raster" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[30]="AUTH_I****" D [13/Oct/2023:10:31:23 +0800] [Job 9] Started filter /usr/lib/cups/filter/bannertopdf (PID 950288) D [13/Oct/2023:10:31:23 +0800] [Job 9] Started filter /usr/lib/cups/filter/pdftopdf (PID 950289) D [13/Oct/2023:10:31:23 +0800] [Job 9] Started filter /usr/lib/cups/filter/gstoraster (PID 950290) D [13/Oct/2023:10:31:23 +0800] [Job 9] Started filter /usr/lib/cups/filter/xprinter (PID 950291) D [13/Oct/2023:10:31:23 +0800] [Job 9] Started backend /usr/lib/cups/backend/usb (PID 950292) D [13/Oct/2023:10:31:23 +0800] [Job 9] PID 950291 (/usr/lib/cups/filter/xprinter) stopped with status 108 (Exec format error) D [13/Oct/2023:10:31:23 +0800] [Job 9] Hint: Try setting the LogLevel to "debug" to find out more. D [13/Oct/2023:10:31:23 +0800] [Job 9] execv failed: Exec format error D [13/Oct/2023:10:31:23 +0800] [Job 9] PDF template file doesn\'t have form. It\'s okay. D [13/Oct/2023:10:31:23 +0800] [Job 9] OUTFORMAT=\"\", so output format will be CUPS/PWG Raster D [13/Oct/2023:10:31:23 +0800] [Job 9] Loading USB quirks from \"/usr/share/cups/usb\". D [13/Oct/2023:10:31:23 +0800] [Job 9] Bad line: \n0x2D37 no-reattach soft-reset unidir\n D [13/Oct/2023:10:31:23 +0800] [Job 9] Bad line: \n0x2D84 no-reattach soft-reset unidir\n D [13/Oct/2023:10:31:23 +0800] [Job 9] Loaded 98 quirks. D [13/Oct/2023:10:31:23 +0800] [Job 9] Printing on printer with URI: usb://Xprinter/XP-420B?serial=S420BUH239040240 D [13/Oct/2023:10:31:23 +0800] [Job 9] pdftopdf: Last filter determined by the PPD: xprinter; FINAL_CONTENT_TYPE: application/vnd.cups-raster => pdftopdf will not log pages in page_log. D [13/Oct/2023:10:31:23 +0800] [Job 9] PID 950288 (/usr/lib/cups/filter/bannertopdf) exited with no errors. D [13/Oct/2023:10:31:23 +0800] [Job 9] libusb_get_device_list=3 D [13/Oct/2023:10:31:23 +0800] [Job 9] STATE: +connecting-to-device D [13/Oct/2023:10:31:23 +0800] [Job 9] PDF interactive form and annotation flattening done via QPDF D [13/Oct/2023:10:31:23 +0800] [Job 9] STATE: -connecting-to-device D [13/Oct/2023:10:31:23 +0800] [Job 9] Printer found with device ID: MFG:Xprinter;CMD:CEZD;MDL:XP-420B;CLS:PRINTER; Device URI: usb://Xprinter/XP-420B?serial=S420BUH239040240 D [13/Oct/2023:10:31:23 +0800] [Job 9] Device protocol: 2 D [13/Oct/2023:10:31:23 +0800] [Job 9] 正在向打印机发送数据。 D [13/Oct/2023:10:31:23 +0800] [Job 9] Sent 0 bytes... D [13/Oct/2023:10:31:23 +0800] [Job 9] PID 950289 (/usr/lib/cups/filter/pdftopdf) exited with no errors. D [13/Oct/2023:10:31:23 +0800] [Job 9] Color Manager: Calibration Mode/Off D [13/Oct/2023:10:31:23 +0800] [Job 9] Calling FindDeviceById(cups-Xprinter_XP-420B) D [13/Oct/2023:10:31:23 +0800] [Job 9] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files D [13/Oct/2023:10:31:23 +0800] [Job 9] Failed to get find device cups-Xprinter_XP-420B D [13/Oct/2023:10:31:23 +0800] [Job 9] Calling FindDeviceById(cups-Xprinter_XP-420B) D [13/Oct/2023:10:31:23 +0800] [Job 9] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files D [13/Oct/2023:10:31:23 +0800] [Job 9] Failed to get device cups-XprinterXP-420B D [13/Oct/2023:10:31:23 +0800] [Job 9] Color Manager: no profiles specified in PPD D [13/Oct/2023:10:31:23 +0800] [Job 9] Color Manager: ICC Profile: None D [13/Oct/2023:10:31:23 +0800] [Job 9] Ghostscript using Any-Part-of-Pixel method to fill paths. D [13/Oct/2023:10:31:23 +0800] [Job 9] Ghostscript command line: gs -dQUIET -dSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dShowAcroForm -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=cups -r203x203 -dDEVICEWIDTHPOINTS=144 -dDEVICEHEIGHTPOINTS=288 -dcupsBitsPerColor=1 -dcupsColorOrder=0 -dcupsColorSpace=3 -dcupsRowCount=8 -scupsPageSizeName=w2h4 -I/usr/share/cups/fonts -c \'<</.HWMargins[0.000000 0.000000 0.000000 0.000000] /Margins[0 0]>>setpagedevice\' -f - D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[0]=\"CUPS_CACHEDIR=/var/cache/cups\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[1]=\"CUPS_DATADIR=/usr/share/cups\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[2]=\"CUPS_DOCROOT=/usr/share/cups/doc-root\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[3]=\"CUPS_FONTPATH=/usr/share/cups/fonts\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[4]=\"CUPS_REQUESTROOT=/var/spool/cups\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[5]=\"CUPS_SERVERBIN=/usr/lib/cups\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[6]=\"CUPS_SERVERROOT=/etc/cups\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[7]=\"CUPS_STATEDIR=/run/cups\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[8]=\"HOME=/var/spool/cups/tmp\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[9]=\"PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[10]=\"SERVER_ADMIN=root@armbian\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[11]=\"SOFTWARE=CUPS/2.3.3op2\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[12]=\"TMPDIR=/var/spool/cups/tmp\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[13]=\"USER=root\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[14]=\"CUPS_MAX_MESSAGE=2047\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[15]=\"CUPS_SERVER=/run/cups/cups.sock\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[16]=\"CUPS_ENCRYPTION=IfRequested\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[17]=\"IPP_PORT=631\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[18]=\"CHARSET=utf-8\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[19]=\"LANG=zh_CN.UTF-8\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[20]=\"PPD=/etc/cups/ppd/Xprinter_XP-420B.ppd\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[21]=\"RIP_MAX_CACHE=128m\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[22]=\"CONTENT_TYPE=application/vnd.cups-pdf-banner\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[23]=\"DEVICE_URI=usb://Xprinter/XP-420B?serial=S420BUH239040240\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[24]=\"PRINTER_INFO=Xprinter XP-420B\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[25]=\"PRINTER_LOCATION=xprinter-420b\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[26]=\"PRINTER=Xprinter_XP-420B\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[27]=\"PRINTER_STATE_REASONS=none\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[28]=\"CUPS_FILETYPE=document\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[29]=\"FINAL_CONTENT_TYPE=application/vnd.cups-raster\" D [13/Oct/2023:10:31:23 +0800] [Job 9] envp[30]=\"AUTH_INFO_REQUIRED=none\" D [13/Oct/2023:10:31:23 +0800] [Job 9] Start rendering... D [13/Oct/2023:10:31:23 +0800] [Job 9] Processing page 1... D [13/Oct/2023:10:31:23 +0800] [Job 9] Error: /ioerror in --showpage-- D [13/Oct/2023:10:31:23 +0800] [Job 9] Operand stack: D [13/Oct/2023:10:31:23 +0800] [Job 9] true (/var/spool/cups/tmp/gs_6nYmSt) --nostringval-- 1 true D [13/Oct/2023:10:31:23 +0800] [Job 9] Execution stack: D [13/Oct/2023:10:31:23 +0800] [Job 9] %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 [13/Oct/2023:10:31:23 +0800] [Job 9] Dictionary stack: D [13/Oct/2023:10:31:23 +0800] [Job 9] --dict:741/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 [13/Oct/2023:10:31:23 +0800] [Job 9] Current allocation mode is local D [13/Oct/2023:10:31:23 +0800] [Job 9] Last OS error: Broken pipe D [13/Oct/2023:10:31:23 +0800] [Job 9] GPL Ghostscript 9.53.3: Unrecoverable error, exit code 1 D [13/Oct/2023:10:31:23 +0800] [Job 9] Rendering completed D [13/Oct/2023:10:31:23 +0800] [Job 9] PID 950290 (/usr/lib/cups/filter/gstoraster) stopped with status 1. D [13/Oct/2023:10:31:23 +0800] [Job 9] Hint: Try setting the LogLevel to "debug" to find out more. D [13/Oct/2023:10:31:23 +0800] [Job 9] Waiting for read thread to exit... D [13/Oct/2023:10:31:23 +0800] [Job 9] Read thread still active, aborting the pending read... D [13/Oct/2023:10:31:23 +0800] [Job 9] PID 950292 (/usr/lib/cups/backend/usb) exited with no errors. D [13/Oct/2023:10:31:23 +0800] [Job 9] End of messages D [13/Oct/2023:10:31:23 +0800] [Job 9] printer-state=3(idle) D [13/Oct/2023:10:31:23 +0800] [Job 9] printer-state-message="Rendering completed" D [13/Oct/2023:10:31:23 +0800] [Job 9] printer-state-reasons=none E [13/Oct/2023:10:31:31 +0800] [Client 254] Unable to encrypt connection: A TLS fatal alert has been received. E [13/Oct/2023:15:39:41 +0800] [Client 280] Unable to encrypt connection: A TLS fatal alert has been received.