Imprimante sur architecture arm?

bonjour:

j’ai acheté une imprimante thermique à ticket, j’utilise le driver fourni par le site
zjiang.com/support.asp

elle fonctionne sous ubuntu avec cups en architecture x86

par contre sous mon raspberry en arm, j’ai un beau “filter failed”, l’installation de cups et des drivers se passe très bien, mais quand j’imprime il me met le message plus haut et rien ne sort…

en error.log j’ai

W [10/Apr/2015:20:40:44 +0000] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'POS58-Gray..' already exists E [10/Apr/2015:20:40:55 +0000] [Job 16] Job stopped due to filter errors; please consult the error_log file for details. D [10/Apr/2015:20:40:55 +0000] [Job 16] The following messages were recorded from 20:39:33 to 20:40:55 D [10/Apr/2015:20:40:55 +0000] [Job 16] Unloading... D [10/Apr/2015:20:40:55 +0000] [Job 16] Loading attributes... D [10/Apr/2015:20:40:55 +0000] [Job 16] Job restarted by user. D [10/Apr/2015:20:40:55 +0000] [Job 16] time-at-processing=1428698450 D [10/Apr/2015:20:40:55 +0000] [Job 16] 4 filters for job: D [10/Apr/2015:20:40:55 +0000] [Job 16] bannertopdf (application/vnd.cups-pdf-banner to application/pdf, cost 32) D [10/Apr/2015:20:40:55 +0000] [Job 16] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66) D [10/Apr/2015:20:40:55 +0000] [Job 16] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99) D [10/Apr/2015:20:40:55 +0000] [Job 16] rastertozj58 (application/vnd.cups-raster to printer/POS58, cost 0) D [10/Apr/2015:20:40:55 +0000] [Job 16] job-sheets=none,none D [10/Apr/2015:20:40:55 +0000] [Job 16] argv[0]="POS58" D [10/Apr/2015:20:40:55 +0000] [Job 16] argv[1]="16" D [10/Apr/2015:20:40:55 +0000] [Job 16] argv[2]="linaro" D [10/Apr/2015:20:40:55 +0000] [Job 16] argv[3]="Test Page" D [10/Apr/2015:20:40:55 +0000] [Job 16] argv[4]="1" D [10/Apr/2015:20:40:55 +0000] [Job 16] argv[5]="job-uuid=urn:uuid:15a0da9f-fa1b-3151-5e15-67eae68365f0 orientation-requested=3 print-quality=3 job-originating-host-name=localhost time-at-creation=1428698243 time-at-processing=1428698450" D [10/Apr/2015:20:40:55 +0000] [Job 16] argv[6]="/var/spool/cups/d00016-001" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[0]="CUPS_CACHEDIR=/var/cache/cups" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[1]="CUPS_DATADIR=/usr/share/cups" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[5]="CUPS_SERVERBIN=/usr/lib/cups" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[6]="CUPS_SERVERROOT=/etc/cups" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[7]="CUPS_STATEDIR=/var/run/cups" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[8]="HOME=/var/spool/cups/tmp" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[10]="SERVER_ADMIN=root@raspberry" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[11]="SOFTWARE=CUPS/1.7.5" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[12]="TMPDIR=/var/spool/cups/tmp" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[13]="USER=root" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[14]="CUPS_MAX_MESSAGE=2047" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[16]="CUPS_ENCRYPTION=IfRequested" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[17]="IPP_PORT=631" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[18]="CHARSET=utf-8" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[19]="LANG=en_US.UTF-8" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[20]="PPD=/etc/cups/ppd/POS58.ppd" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[21]="RIP_MAX_CACHE=128m" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[22]="CONTENT_TYPE=application/vnd.cups-pdf-banner" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[23]="DEVICE_URI=socket://127.0.0.1:9100" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[24]="PRINTER_INFO=POS58" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[25]="PRINTER_LOCATION=" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[26]="PRINTER=POS58" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[27]="PRINTER_STATE_REASONS=none" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[28]="CUPS_FILETYPE=document" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[29]="FINAL_CONTENT_TYPE=printer/POS58" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[30]="AUTH_I****" D [10/Apr/2015:20:40:55 +0000] [Job 16] Started filter /usr/lib/cups/filter/bannertopdf (PID 3107) D [10/Apr/2015:20:40:55 +0000] [Job 16] Started filter /usr/lib/cups/filter/pdftopdf (PID 3108) D [10/Apr/2015:20:40:55 +0000] [Job 16] Started filter /usr/lib/cups/filter/gstoraster (PID 3109) D [10/Apr/2015:20:40:55 +0000] [Job 16] Started filter /usr/lib/cups/filter/rastertozj58 (PID 3110) D [10/Apr/2015:20:40:55 +0000] [Job 16] Started backend /usr/lib/cups/backend/socket (PID 3111) D [10/Apr/2015:20:40:55 +0000] [Job 16] Restarted by "linaro". D [10/Apr/2015:20:40:55 +0000] [Job 16] PID 3110 (/usr/lib/cups/filter/rastertozj58) stopped with status 108 (Exec format error) D [10/Apr/2015:20:40:55 +0000] [Job 16] Hint: Try setting the LogLevel to "debug" to find out more. D [10/Apr/2015:20:40:55 +0000] [Job 16] STATE: +connecting-to-device D [10/Apr/2015:20:40:55 +0000] [Job 16] Looking up "127.0.0.1"... D [10/Apr/2015:20:40:55 +0000] [Job 16] PDF template file doesn't have form. It's okay. D [10/Apr/2015:20:40:55 +0000] [Job 16] PID 3107 (/usr/lib/cups/filter/bannertopdf) exited with no errors. D [10/Apr/2015:20:40:55 +0000] [Job 16] PID 3108 (/usr/lib/cups/filter/pdftopdf) exited with no errors. D [10/Apr/2015:20:40:55 +0000] [Job 16] Color Manager: Calibration Mode/Off D [10/Apr/2015:20:40:55 +0000] [Job 16] Calling FindDeviceById(cups-POS58) D [10/Apr/2015:20:40:55 +0000] [Job 16] Found device /org/freedesktop/ColorManager/devices/cups_POS58 D [10/Apr/2015:20:40:55 +0000] [Job 16] Calling org.freedesktop.ColorManager.Device.Get(ProfilingInhibitors) D [10/Apr/2015:20:40:55 +0000] [Job 16] Calling FindDeviceById(cups-POS58) D [10/Apr/2015:20:40:55 +0000] [Job 16] Found device /org/freedesktop/ColorManager/devices/cups_POS58 D [10/Apr/2015:20:40:55 +0000] [Job 16] Calling GetProfileForQualifiers(Gray.....) D [10/Apr/2015:20:40:55 +0000] [Job 16] Failed to send: org.freedesktop.ColorManager.Device.NothingMatched:nothing matched expression 'Gray..,Gray..*,Gray.*.,Gray.*.*,*' D [10/Apr/2015:20:40:55 +0000] [Job 16] Failed to get profile filename for cups-POS58 D [10/Apr/2015:20:40:55 +0000] [Job 16] Color Manager: no profiles specified in PPD D [10/Apr/2015:20:40:55 +0000] [Job 16] Color Manager: ICC Profile: None D [10/Apr/2015:20:40:55 +0000] [Job 16] Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -r203x203 -dDEVICEWIDTHPOINTS=164 -dDEVICEHEIGHTPOINTS=595 -dcupsBitsPerColor=1 -dcupsColorOrder=0 -dcupsColorSpace=3 -scupsPageSizeName=X58mmY210mm -I/usr/share/cups/fonts -c '<</.HWMargins[14.000000 0.000000 14.000000 0.000000] /Margins[0 0]>>setpagedevice' -f -_ D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[0]="CUPS_CACHEDIR=/var/cache/cups" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[1]="CUPS_DATADIR=/usr/share/cups" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[5]="CUPS_SERVERBIN=/usr/lib/cups" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[6]="CUPS_SERVERROOT=/etc/cups" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[7]="CUPS_STATEDIR=/var/run/cups" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[8]="HOME=/var/spool/cups/tmp" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[10]="SERVER_ADMIN=root@raspberry" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[11]="SOFTWARE=CUPS/1.7.5" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[12]="TMPDIR=/var/spool/cups/tmp" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[13]="USER=root" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[14]="CUPS_MAX_MESSAGE=2047" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[16]="CUPS_ENCRYPTION=IfRequested" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[17]="IPP_PORT=631" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[18]="CHARSET=utf-8" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[19]="LANG=en_US.UTF-8" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[20]="PPD=/etc/cups/ppd/POS58.ppd" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[21]="RIP_MAX_CACHE=128m" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[22]="CONTENT_TYPE=application/vnd.cups-pdf-banner" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[23]="DEVICE_URI=socket://127.0.0.1:9100" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[24]="PRINTER_INFO=POS58" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[25]="PRINTER_LOCATION=" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[26]="PRINTER=POS58" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[27]="PRINTER_STATE_REASONS=none" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[28]="CUPS_FILETYPE=document" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[29]="FINAL_CONTENT_TYPE=printer/POS58" D [10/Apr/2015:20:40:55 +0000] [Job 16] envp[30]="AUTH_INFO_REQUIRED=none" D [10/Apr/2015:20:40:55 +0000] [Job 16] Start rendering... D [10/Apr/2015:20:40:55 +0000] [Job 16] Processing page 1... D [10/Apr/2015:20:40:55 +0000] [Job 16] hrDeviceDesc="Unknown" D [10/Apr/2015:20:40:55 +0000] [Job 16] prtGeneralCurrentLocalization type is 0, expected 2! D [10/Apr/2015:20:40:55 +0000] [Job 16] backendWaitLoop(snmp_fd=5, addr=0x785e5adc, side_cb=0x76f8e1c1) D [10/Apr/2015:20:40:55 +0000] [Job 16] PID 3111 (/usr/lib/cups/backend/socket) exited with no errors. D [10/Apr/2015:20:40:55 +0000] [Job 16] PID 3109 (/usr/lib/cups/filter/gstoraster) exited with no errors. D [10/Apr/2015:20:40:55 +0000] [Job 16] Processing page 2... D [10/Apr/2015:20:40:55 +0000] [Job 16] Rendering completed D [10/Apr/2015:20:40:55 +0000] [Job 16] End of messages D [10/Apr/2015:20:40:55 +0000] [Job 16] printer-state=3(idle) D [10/Apr/2015:20:40:55 +0000] [Job 16] printer-state-message="Rendering completed" D [10/Apr/2015:20:40:55 +0000] [Job 16] printer-state-reasons=none

merci pour vos réponses :smiley:

Bonjour,

Peut-être un élément de réponse :

Il faudrait voir le contenu de /var/log/cups/error_log

[code]D [11/Apr/2015:07:47:55 +0000] [Job 3] printer-state-reasons=none
E [11/Apr/2015:08:02:38 +0000] [Job 4] Unable to open raster stream - : Broken pipe
E [11/Apr/2015:08:02:38 +0000] [Job 4] Job stopped due to filter errors; please consult the error_log file for details.
D [11/Apr/2015:08:02:38 +0000] [Job 4] The following messages were recorded from 08:02:29 to 08:02:38
D [11/Apr/2015:08:02:38 +0000] [Job 4] Adding start banner page “none”.
D [11/Apr/2015:08:02:38 +0000] [Job 4] Adding end banner page “none”.
D [11/Apr/2015:08:02:38 +0000] [Job 4] File of type application/vnd.cups-pdf-banner queued by “bibiyanki”.
D [11/Apr/2015:08:02:38 +0000] [Job 4] hold_until=0
D [11/Apr/2015:08:02:38 +0000] [Job 4] Queued on “POS58” by “bibiyanki”.
D [11/Apr/2015:08:02:38 +0000] [Job 4] time-at-processing=1428739349
D [11/Apr/2015:08:02:38 +0000] [Job 4] 4 filters for job:
D [11/Apr/2015:08:02:38 +0000] [Job 4] bannertopdf (application/vnd.cups-pdf-banner to application/pdf, cost 32)
D [11/Apr/2015:08:02:38 +0000] [Job 4] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [11/Apr/2015:08:02:38 +0000] [Job 4] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99)
D [11/Apr/2015:08:02:38 +0000] [Job 4] rastertozj58 (application/vnd.cups-raster to printer/POS58, cost 0)
D [11/Apr/2015:08:02:38 +0000] [Job 4] job-sheets=none,none
D [11/Apr/2015:08:02:38 +0000] [Job 4] argv[0]="POS58"
D [11/Apr/2015:08:02:38 +0000] [Job 4] argv[1]="4"
D [11/Apr/2015:08:02:38 +0000] [Job 4] argv[2]="bibiyanki"
D [11/Apr/2015:08:02:38 +0000] [Job 4] argv[3]="Test Page"
D [11/Apr/2015:08:02:38 +0000] [Job 4] argv[4]="1"
D [11/Apr/2015:08:02:38 +0000] [Job 4] argv[5]=“job-uuid=urn:uuid:9de50071-5536-3224-75ba-70a5ff47c1e4 job-originating-host-name=localhost time-at-creation=1428739349 time-at-processing=1428739349"
D [11/Apr/2015:08:02:38 +0000] [Job 4] argv[6]=”/var/spool/cups/d00004-001"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[8]="HOME=/var/spool/cups/tmp"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[10]="SERVER_ADMIN=root@UbuntuMATE"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[11]="SOFTWARE=CUPS/2.0.2"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[13]="USER=root"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[14]="CUPS_MAX_MESSAGE=2047"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[17]="IPP_PORT=631"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[18]="CHARSET=utf-8"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[19]="LANG=en_US.UTF-8"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[20]="PPD=/etc/cups/ppd/POS58.ppd"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[21]="RIP_MAX_CACHE=128m"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[22]="CONTENT_TYPE=application/vnd.cups-pdf-banner"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[23]="DEVICE_URI=usb://Unknown/Printer"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[24]="PRINTER_INFO=POS58"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[25]="PRINTER_LOCATION="
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[26]="PRINTER=POS58"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[27]="PRINTER_STATE_REASONS=none"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[28]="CUPS_FILETYPE=document"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-raster"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[30]="AUTH_I****"
D [11/Apr/2015:08:02:38 +0000] [Job 4] Started filter /usr/lib/cups/filter/bannertopdf (PID 14748)
D [11/Apr/2015:08:02:38 +0000] [Job 4] Started filter /usr/lib/cups/filter/pdftopdf (PID 14749)
D [11/Apr/2015:08:02:38 +0000] [Job 4] Started filter /usr/lib/cups/filter/gstoraster (PID 14750)
D [11/Apr/2015:08:02:38 +0000] [Job 4] Started filter /usr/lib/cups/filter/rastertozj58 (PID 14751)
D [11/Apr/2015:08:02:38 +0000] [Job 4] Started backend /usr/lib/cups/backend/usb (PID 14752)
D [11/Apr/2015:08:02:38 +0000] [Job 4] Loading USB quirks from “/usr/share/cups/usb”.
D [11/Apr/2015:08:02:38 +0000] [Job 4] Loaded 114 quirks.
D [11/Apr/2015:08:02:38 +0000] [Job 4] Printing on printer with URI: usb://Unknown/Printer
D [11/Apr/2015:08:02:38 +0000] [Job 4] libusb_get_device_list=6
D [11/Apr/2015:08:02:38 +0000] [Job 4] STATE: +connecting-to-device
D [11/Apr/2015:08:02:38 +0000] [Job 4] Switching USB device configuration: 0 -> 1
D [11/Apr/2015:08:02:38 +0000] [Job 4] Failed to set configuration 1 for 4348:5584
D [11/Apr/2015:08:02:38 +0000] [Job 4] STATE: -connecting-to-device
D [11/Apr/2015:08:02:38 +0000] [Job 4] Printer found with device ID: Device URI: usb://Unknown/Printer
D [11/Apr/2015:08:02:38 +0000] [Job 4] Device protocol: 2
D [11/Apr/2015:08:02:38 +0000] [Job 4] Sending data to printer.
D [11/Apr/2015:08:02:38 +0000] [Job 4] Set job-printer-state-message to “Sending data to printer.”, current level=INFO
D [11/Apr/2015:08:02:38 +0000] [Job 4] execv failed: Exec format error
D [11/Apr/2015:08:02:38 +0000] [Job 4] PID 14751 (/usr/lib/cups/filter/rastertozj58) stopped with status 108 (Exec format error)
D [11/Apr/2015:08:02:38 +0000] [Job 4] Hint: Try setting the LogLevel to “debug” to find out more.
D [11/Apr/2015:08:02:38 +0000] [Job 4] Sent 0 bytes…
D [11/Apr/2015:08:02:38 +0000] [Job 4] PDF template file doesn’t have form. It’s okay.
D [11/Apr/2015:08:02:38 +0000] [Job 4] PID 14748 (/usr/lib/cups/filter/bannertopdf) exited with no errors.
D [11/Apr/2015:08:02:38 +0000] [Job 4] Color Manager: Calibration Mode/Off
D [11/Apr/2015:08:02:38 +0000] [Job 4] PID 14749 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [11/Apr/2015:08:02:38 +0000] [Job 4] Calling FindDeviceById(cups-POS58)
D [11/Apr/2015:08:02:38 +0000] [Job 4] Found device /org/freedesktop/ColorManager/devices/cups_POS58
D [11/Apr/2015:08:02:38 +0000] [Job 4] Calling org.freedesktop.ColorManager.Device.Get(ProfilingInhibitors)
D [11/Apr/2015:08:02:38 +0000] [Job 4] Calling FindDeviceById(cups-POS58)
D [11/Apr/2015:08:02:38 +0000] [Job 4] Found device /org/freedesktop/ColorManager/devices/cups_POS58
D [11/Apr/2015:08:02:38 +0000] [Job 4] Calling GetProfileForQualifiers(Gray…)
D [11/Apr/2015:08:02:38 +0000] [Job 4] Found profile /org/freedesktop/ColorManager/profiles/POS58_Gray__
D [11/Apr/2015:08:02:38 +0000] [Job 4] Calling org.freedesktop.ColorManager.Profile.Get(Filename)
D [11/Apr/2015:08:02:38 +0000] [Job 4] Use profile filename: ''
D [11/Apr/2015:08:02:38 +0000] [Job 4] Color Manager: ICC Profile:
D [11/Apr/2015:08:02:38 +0000] [Job 4] Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -r203x203 -dDEVICEWIDTHPOINTS=164 -dDEVICEHEIGHTPOINTS=595 -dcupsBitsPerColor=1 -dcupsColorOrder=0 -dcupsColorSpace=3 -scupsPageSizeName=X58mmY210mm -I/usr/share/cups/fonts -c ‘<</.HWMargins[14.000000 0.000000 14.000000 0.000000] /Margins[0 0]>>setpagedevice’ -f -_
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[8]="HOME=/var/spool/cups/tmp"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[10]="SERVER_ADMIN=root@UbuntuMATE"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[11]="SOFTWARE=CUPS/2.0.2"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[12]="USER=root"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[13]="CUPS_MAX_MESSAGE=2047"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[15]="CUPS_ENCRYPTION=IfRequested"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[16]="IPP_PORT=631"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[17]="CHARSET=utf-8"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[18]="LANG=en_US.UTF-8"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[19]="PPD=/etc/cups/ppd/POS58.ppd"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[20]="RIP_MAX_CACHE=128m"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[21]="CONTENT_TYPE=application/vnd.cups-pdf-banner"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[22]="DEVICE_URI=usb://Unknown/Printer"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[23]="PRINTER_INFO=POS58"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[24]="PRINTER_LOCATION="
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[25]="PRINTER=POS58"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[26]="PRINTER_STATE_REASONS=none"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[27]="CUPS_FILETYPE=document"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[28]="FINAL_CONTENT_TYPE=application/vnd.cups-raster"
D [11/Apr/2015:08:02:38 +0000] [Job 4] envp[29]="AUTH_INFO_REQUIRED=none"
D [11/Apr/2015:08:02:38 +0000] [Job 4] Waiting for read thread to exit…
D [11/Apr/2015:08:02:38 +0000] [Job 4] PID 14752 (/usr/lib/cups/backend/usb) exited with no errors.
D [11/Apr/2015:08:02:38 +0000] [Job 4] Start rendering…
D [11/Apr/2015:08:02:38 +0000] [Job 4] Processing page 1…
D [11/Apr/2015:08:02:38 +0000] [Job 4] Error: /ioerror in --showpage–
D [11/Apr/2015:08:02:38 +0000] [Job 4] Operand stack:
D [11/Apr/2015:08:02:38 +0000] [Job 4] (/tmp/gs_T3YFb9) --nostringval-- 1 true
D [11/Apr/2015:08:02:38 +0000] [Job 4] Execution stack:
D [11/Apr/2015:08:02:38 +0000] [Job 4] %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1971 1 3 %oparray_pop 1970 1 3 %oparray_pop 1954 1 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- 2 1 1 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- 1842 2 9 %oparray_pop --nostringval-- --nostringval–
D [11/Apr/2015:08:02:38 +0000] [Job 4] Dictionary stack:
D [11/Apr/2015:08:02:38 +0000] [Job 4] --dict:1193/1684(ro)(G)-- --dict:1/20(G)-- --dict:82/200(L)-- --dict:82/200(L)-- --dict:116/127(ro)(G)-- --dict:280/300(ro)(G)-- --dict:28/32(L)-- --dict:6/8(L)-- --dict:29/40(L)–
D [11/Apr/2015:08:02:38 +0000] [Job 4] Current allocation mode is local
D [11/Apr/2015:08:02:38 +0000] [Job 4] Last OS error: Broken pipe
D [11/Apr/2015:08:02:38 +0000] [Job 4] GPL Ghostscript 9.15: Unrecoverable error, exit code 1
D [11/Apr/2015:08:02:38 +0000] [Job 4] Unrecoverable error: typecheck in setpagedevice
D [11/Apr/2015:08:02:38 +0000] [Job 4] Operand stack:
D [11/Apr/2015:08:02:38 +0000] [Job 4] /tmp/gs_T3YFb9 false false --nostringval–
D [11/Apr/2015:08:02:38 +0000] [Job 4] Rendering completed
D [11/Apr/2015:08:02:38 +0000] [Job 4] PID 14750 (/usr/lib/cups/filter/gstoraster) exited with no errors.
D [11/Apr/2015:08:02:38 +0000] [Job 4] End of messages
D [11/Apr/2015:08:02:38 +0000] [Job 4] printer-state=3(idle)
D [11/Apr/2015:08:02:38 +0000] [Job 4] printer-state-message="Rendering completed"
D [11/Apr/2015:08:02:38 +0000] [Job 4] printer-state-reasons=none

[/code]

j’ai l’impression que ça vient du filtre rastertozj58 fourni par le site officiel de la marque (peut être que c’est écrit en chinois dedans…)
PID 14751 (/usr/lib/cups/filter/rastertozj58) stopped with status 108 (Exec format error)

merci pour votre réponse rapide

ps: j’ai fait un tail -f sur le fichier error.log, par contre j’ai changé de version je suis sous ubuntu mate cups 2.02 mais ça change rien…

up svp une réponse c’est pour une boutique

Exec format error

J’ai l’impression que le pilote que tu as récupéré, contient un binaire x86, donc incompatible avec ton ARM.
En revanche cette imprimante connaît le langage ZPL (C’est très courant pour ce genre d’imprimante) ?

oui j’ai l’impression aussi que c’est pour x86, comment je peux faire pour que ça marche sur arm??

merci beaucoup

ps: le driver linux est la…

http://www.zjiang.com/up/updown/201412138610953.rar

et pour le language zpl, je comprends pas? elle peut marcher sur cups en arm???
merci

j’ai contacté le fabricant, mais je doute avoir une réponse…

c’est dur à reprommer en arm?

up
désolé mais j’ai besoin de réponse, c’est pour un salon qui ne peut pas attendre indéfiniment

up svp

Sans les sources du programme tu ne peux rien faire.
Il te faudra utiliser un PC avec un x86

C’est pas la peine de faire des up toutes les 2 heures :075

Je pense aussi que le driver est mal fichu et ne fonctionne QUE sur du x86, n’essaye même pas de réfléchir a comme reprogrammer tout cela ça te pendrais bien plus de temps que ce que tu as manifestement.
Je doute que le fabricant te réponde, s’il n’a pas de version ARM il ne va pas perdre du temps pour 1 demande, mais le contacter n’est pas inutile pour lui montrer les défauts de sa solution.

Et monter une pile d’émulation x86 sur un Raspberry est utopique.

Conclusion prend un pc x86 pour faire fonctionner ton imprimante.