Hi guys,
Sorry for not answering... Thanks you for your answers.
I'm still in troubles with that printer. Here is where I am no :
- I installed cups (most recent version) on my pi
- I successfully installed the driver for the printer
But it does not work when I try to print anything or even to print the test page (error log below).
Now I try to install cups 1.5.4, but it constantly fail, and I don't understand why.
I found some guys in troubles with that printer on github but no solutions :
https://github.com/IntegersOfK/Hoin-POS-58-80/issues
@rpdom
You said that there is a modified driver for the 80 mm printers. Could you share it with me ?
Thanks a lot
Error log :
Code: Select all
E [31/Jan/2019:13:59:51 +0100] [Job 17] Unable to open raster stream - : Broken pipe
E [31/Jan/2019:13:59:53 +0100] [Job 17] Job stopped due to filter errors; please consult the error_log file for details.
D [31/Jan/2019:13:59:53 +0100] [Job 17] The following messages were recorded from 13:59:49 to 13:59:53
D [31/Jan/2019:13:59:53 +0100] [Job 17] Adding start banner page "none".
D [31/Jan/2019:13:59:53 +0100] [Job 17] Adding end banner page "none".
D [31/Jan/2019:13:59:53 +0100] [Job 17] File of type application/vnd.cups-pdf-banner queued by "anonymous".
D [31/Jan/2019:13:59:53 +0100] [Job 17] hold_until=0
D [31/Jan/2019:13:59:53 +0100] [Job 17] Queued on "POS-80-Series" by "anonymous".
D [31/Jan/2019:13:59:53 +0100] [Job 17] time-at-processing=1548939589
D [31/Jan/2019:13:59:53 +0100] [Job 17] 4 filters for job:
D [31/Jan/2019:13:59:53 +0100] [Job 17] bannertopdf (application/vnd.cups-pdf-banner to application/pdf, cost 32)
D [31/Jan/2019:13:59:53 +0100] [Job 17] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [31/Jan/2019:13:59:53 +0100] [Job 17] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99)
D [31/Jan/2019:13:59:53 +0100] [Job 17] rastertopos (application/vnd.cups-raster to printer/POS-80-Series, cost 0)
D [31/Jan/2019:13:59:53 +0100] [Job 17] job-sheets=none,none
D [31/Jan/2019:13:59:53 +0100] [Job 17] argv[0]="POS-80-Series"
D [31/Jan/2019:13:59:53 +0100] [Job 17] argv[1]="17"
D [31/Jan/2019:13:59:53 +0100] [Job 17] argv[2]="anonymous"
D [31/Jan/2019:13:59:53 +0100] [Job 17] argv[3]="Test Page"
D [31/Jan/2019:13:59:53 +0100] [Job 17] argv[4]="1"
D [31/Jan/2019:13:59:53 +0100] [Job 17] argv[5]="job-uuid=urn:uuid:f667d104-55cb-3e04-5602-33d7260e9e57 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1548939589 time-at-processing=1548939589"
D [31/Jan/2019:13:59:53 +0100] [Job 17] argv[6]="/var/spool/cups/d00017-001"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[8]="HOME=/var/spool/cups/tmp"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[10]="SERVER_ADMIN=root@raspberrypi"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[11]="SOFTWARE=CUPS/2.2.1"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[13]="USER=root"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[14]="CUPS_MAX_MESSAGE=2047"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[17]="IPP_PORT=631"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[18]="CHARSET=utf-8"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[19]="LANG=fr_FR.UTF-8"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[20]="PPD=/etc/cups/ppd/POS-80-Series.ppd"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[21]="RIP_MAX_CACHE=128m"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[22]="CONTENT_TYPE=application/vnd.cups-pdf-banner"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[23]="DEVICE_URI=socket://192.168.1.100:9100"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[24]="PRINTER_INFO=POS-80-Series"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[25]="PRINTER_LOCATION="
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[26]="PRINTER=POS-80-Series"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[27]="PRINTER_STATE_REASONS=none"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[28]="CUPS_FILETYPE=document"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-raster"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[30]="AUTH_I****"
D [31/Jan/2019:13:59:53 +0100] [Job 17] Started filter /usr/lib/cups/filter/bannertopdf (PID 21261)
D [31/Jan/2019:13:59:53 +0100] [Job 17] Started filter /usr/lib/cups/filter/pdftopdf (PID 21262)
D [31/Jan/2019:13:59:53 +0100] [Job 17] Started filter /usr/lib/cups/filter/gstoraster (PID 21263)
D [31/Jan/2019:13:59:53 +0100] [Job 17] Started filter /usr/lib/cups/filter/rastertopos (PID 21264)
D [31/Jan/2019:13:59:53 +0100] [Job 17] Started backend /usr/lib/cups/backend/socket (PID 21265)
D [31/Jan/2019:13:59:53 +0100] [Job 17] execv failed: Exec format error
D [31/Jan/2019:13:59:53 +0100] [Job 17] PID 21264 (/usr/lib/cups/filter/rastertopos) stopped with status 108 (Exec format error)
D [31/Jan/2019:13:59:53 +0100] [Job 17] Hint: Try setting the LogLevel to "debug" to find out more.
D [31/Jan/2019:13:59:53 +0100] [Job 17] STATE: +connecting-to-device
D [31/Jan/2019:13:59:53 +0100] [Job 17] Looking up \"192.168.1.100\"...
D [31/Jan/2019:13:59:53 +0100] [Job 17] pdftopdf: Last filter determined by the PPD: rastertopos; FINAL_CONTENT_TYPE: application/vnd.cups-raster => pdftopdf will not log pages in page_log.
D [31/Jan/2019:13:59:53 +0100] [Job 17] OUTFORMAT=\"(null)\", so output format will be CUPS/PWG Raster
D [31/Jan/2019:13:59:53 +0100] [Job 17] PDF template file doesn\'t have form. It\'s okay.
D [31/Jan/2019:13:59:53 +0100] [Job 17] PID 21261 (/usr/lib/cups/filter/bannertopdf) exited with no errors.
D [31/Jan/2019:13:59:53 +0100] [Job 17] Color Manager: Calibration Mode/Off
D [31/Jan/2019:13:59:53 +0100] [Job 17] PID 21262 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [31/Jan/2019:13:59:53 +0100] [Job 17] Calling FindDeviceById(cups-POS-80-Series)
D [31/Jan/2019:13:59:53 +0100] [Job 17] Found device /org/freedesktop/ColorManager/devices/cups_POS_80_Series
D [31/Jan/2019:13:59:53 +0100] [Job 17] Calling org.freedesktop.ColorManager.Device.Get(ProfilingInhibitors)
D [31/Jan/2019:13:59:53 +0100] [Job 17] Calling FindDeviceById(cups-POS-80-Series)
D [31/Jan/2019:13:59:53 +0100] [Job 17] Found device /org/freedesktop/ColorManager/devices/cups_POS_80_Series
D [31/Jan/2019:13:59:53 +0100] [Job 17] Calling GetProfileForQualifiers(Gray.....)
D [31/Jan/2019:13:59:53 +0100] [Job 17] Found profile /org/freedesktop/ColorManager/profiles/POS_80_Series_Gray__
D [31/Jan/2019:13:59:53 +0100] [Job 17] Calling org.freedesktop.ColorManager.Profile.Get(Filename)
D [31/Jan/2019:13:59:53 +0100] [Job 17] Use profile filename: \'\'
D [31/Jan/2019:13:59:53 +0100] [Job 17] Color Manager: ICC Profile:
D [31/Jan/2019:13:59:53 +0100] [Job 17] Ghostscript using Any-Part-of-Pixel method to fill paths.
D [31/Jan/2019:13:59:53 +0100] [Job 17] Ghostscript command line: gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=cups -r203x203 -dDEVICEWIDTHPOINTS=227 -dDEVICEHEIGHTPOINTS=595 -dcupsBitsPerColor=1 -dcupsColorOrder=0 -dcupsColorSpace=3 -scupsPageSizeName=X80mmY210mm -I/usr/share/cups/fonts -c \'<</.HWMargins[11.000000 0.000000 12.000000 0.000000] /Margins[0 0]>>setpagedevice\' -f -_
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[0]=\"CUPS_CACHEDIR=/var/cache/cups\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[1]=\"CUPS_DATADIR=/usr/share/cups\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[2]=\"CUPS_DOCROOT=/usr/share/cups/doc-root\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[3]=\"CUPS_FONTPATH=/usr/share/cups/fonts\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[4]=\"CUPS_REQUESTROOT=/var/spool/cups\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[5]=\"CUPS_SERVERBIN=/usr/lib/cups\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[6]=\"CUPS_SERVERROOT=/etc/cups\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[7]=\"CUPS_STATEDIR=/var/run/cups\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[8]=\"HOME=/var/spool/cups/tmp\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[9]=\"PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[10]=\"SERVER_ADMIN=root@raspberrypi\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[11]=\"SOFTWARE=CUPS/2.2.1\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[12]=\"TMPDIR=/var/spool/cups/tmp\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[13]=\"USER=root\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[14]=\"CUPS_MAX_MESSAGE=2047\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[15]=\"CUPS_SERVER=/var/run/cups/cups.sock\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[16]=\"CUPS_ENCRYPTION=IfRequested\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[17]=\"IPP_PORT=631\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[18]=\"CHARSET=utf-8\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[19]=\"LANG=fr_FR.UTF-8\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[20]=\"PPD=/etc/cups/ppd/POS-80-Series.ppd\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[21]=\"RIP_MAX_CACHE=128m\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[22]=\"CONTENT_TYPE=application/vnd.cups-pdf-banner\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[23]=\"DEVICE_URI=socket://192.168.1.100:9100\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[24]=\"PRINTER_INFO=POS-80-Series\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[25]=\"PRINTER_LOCATION=\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[26]=\"PRINTER=POS-80-Series\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[27]=\"PRINTER_STATE_REASONS=none\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[28]=\"CUPS_FILETYPE=document\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[29]=\"FINAL_CONTENT_TYPE=application/vnd.cups-raster\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] envp[30]=\"AUTH_INFO_REQUIRED=none\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] Start rendering...
D [31/Jan/2019:13:59:53 +0100] [Job 17] Processing page 1...
D [31/Jan/2019:13:59:53 +0100] [Job 17] hrDeviceDesc=\"Unknown\"
D [31/Jan/2019:13:59:53 +0100] [Job 17] Error: /ioerror in --showpage--
D [31/Jan/2019:13:59:53 +0100] [Job 17] Operand stack:
D [31/Jan/2019:13:59:53 +0100] [Job 17] true (/var/spool/cups/tmp/gs_mLMxHD) --nostringval-- 1 true
D [31/Jan/2019:13:59:53 +0100] [Job 17] Execution stack:
D [31/Jan/2019:13:59:53 +0100] [Job 17] %interp_exit .runexec2 --nostringval-- showpage --nostringval-- 2 %stopped_push --nostringval-- showpage showpage false 1 %stopped_push 2045 2 3 %oparray_pop 2044 2 3 %oparray_pop 2025 2 3 %oparray_pop showpage 2026 4 3 %oparray_pop showpage showpage 2 1 1 showpage %for_pos_int_continue 2029 4 7 %oparray_pop showpage showpage 1890 3 9 %oparray_pop showpage showpage
D [31/Jan/2019:13:59:53 +0100] [Job 17] Dictionary stack:
D [31/Jan/2019:13:59:53 +0100] [Job 17] --dict:968/1684(ro)(G)-- --dict:1/20(G)-- --dict:83/200(L)-- --dict:83/200(L)-- --dict:133/256(ro)(G)-- --dict:310/450(ro)(G)-- --dict:32/32(L)-- --dict:6/9(L)-- --dict:7/20(L)--
D [31/Jan/2019:13:59:53 +0100] [Job 17] Current allocation mode is local
D [31/Jan/2019:13:59:53 +0100] [Job 17] Last OS error: Broken pipe
D [31/Jan/2019:13:59:53 +0100] [Job 17] GPL Ghostscript 9.26: Unrecoverable error, exit code 1
D [31/Jan/2019:13:59:53 +0100] [Job 17] Rendering completed
D [31/Jan/2019:13:59:53 +0100] [Job 17] PID 21263 (/usr/lib/cups/filter/gstoraster) stopped with status 1.
D [31/Jan/2019:13:59:53 +0100] [Job 17] Hint: Try setting the LogLevel to "debug" to find out more.
D [31/Jan/2019:13:59:53 +0100] [Job 17] prtGeneralCurrentLocalization type is 0, expected 2!
D [31/Jan/2019:13:59:53 +0100] [Job 17] backendWaitLoop(snmp_fd=5, addr=0x121d40c, side_cb=0x4ab6a0)
D [31/Jan/2019:13:59:53 +0100] [Job 17] PID 21265 (/usr/lib/cups/backend/socket) exited with no errors.
D [31/Jan/2019:13:59:53 +0100] [Job 17] End of messages
D [31/Jan/2019:13:59:53 +0100] [Job 17] printer-state=3(idle)
D [31/Jan/2019:13:59:53 +0100] [Job 17] printer-state-message="Rendering completed"
D [31/Jan/2019:13:59:53 +0100] [Job 17] printer-state-reasons=none