Задать вопрос
@Scorpiored88

Из за чего може быть ошибка Unable to open raster stream -: Broken pipe при печать через CUPS?

Всем доброго!
Питаюсь прикрутить к линукс (slax linux) термопринтер Custom VKP 80 через CUPS. Драйвера скачал, установил, даже принтер добавил, но вот печатать он отказывается :(
Статус : stopped "Fillter failed" ну и собственно лог ошибок:
E [26/Jul/2018:10:06:11 -0400] [Job 9] Unable to open raster stream - : Broken pipe
E [26/Jul/2018:10:06:19 -0400] [Job 9] Job stopped due to filter errors; please consult the error_log file for details.
D [26/Jul/2018:10:06:19 -0400] [Job 9] The following messages were recorded from 10:06:11 AM to 10:06:19 AM
D [26/Jul/2018:10:06:19 -0400] [Job 9] Adding start banner page "none".
D [26/Jul/2018:10:06:19 -0400] [Job 9] Adding end banner page "none".
D [26/Jul/2018:10:06:19 -0400] [Job 9] File of type application/vnd.cups-pdf-banner queued by "root".
D [26/Jul/2018:10:06:19 -0400] [Job 9] hold_until=0
D [26/Jul/2018:10:06:19 -0400] [Job 9] Queued on "CUSTOM_Engineering_VKP80" by "root".
D [26/Jul/2018:10:06:19 -0400] [Job 9] time-at-processing=1532613971
D [26/Jul/2018:10:06:19 -0400] [Job 9] 4 filters for job:
D [26/Jul/2018:10:06:19 -0400] [Job 9] bannertopdf (application/vnd.cups-pdf-banner to application/pdf, cost 32)
D [26/Jul/2018:10:06:19 -0400] [Job 9] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [26/Jul/2018:10:06:19 -0400] [Job 9] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 66)
D [26/Jul/2018:10:06:19 -0400] [Job 9] rastertovkp80 (application/vnd.cups-raster to printer/CUSTOM_Engineering_VKP80, cost 0)
D [26/Jul/2018:10:06:19 -0400] [Job 9] job-sheets=none,none
D [26/Jul/2018:10:06:19 -0400] [Job 9] argv[0]="CUSTOM_Engineering_VKP80"
D [26/Jul/2018:10:06:19 -0400] [Job 9] argv[1]="9"
D [26/Jul/2018:10:06:19 -0400] [Job 9] argv[2]="root"
D [26/Jul/2018:10:06:19 -0400] [Job 9] argv[3]="Test Page"
D [26/Jul/2018:10:06:19 -0400] [Job 9] argv[4]="1"
D [26/Jul/2018:10:06:19 -0400] [Job 9] argv[5]="job-uuid=urn:uuid:674e376f-c423-3889-6e02-640d0b804acf job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1532613971 time-at-processing=1532613971"
D [26/Jul/2018:10:06:19 -0400] [Job 9] argv[6]="/var/spool/cups/d00009-001"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[8]="HOME=/var/spool/cups/tmp"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[10]="SERVER_ADMIN=root@slax"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[11]="SOFTWARE=CUPS/2.2.1"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[13]="USER=root"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[14]="CUPS_MAX_MESSAGE=2047"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[17]="IPP_PORT=631"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[18]="CHARSET=utf-8"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[19]="LANG=en_US.UTF-8"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[20]="PPD=/etc/cups/ppd/CUSTOM_Engineering_VKP80.ppd"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[21]="RIP_MAX_CACHE=128m"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[22]="CONTENT_TYPE=application/vnd.cups-pdf-banner"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[23]="DEVICE_URI=usb://CUSTOM%20Engineering/VKP80?serial=VKP80%20200Num.:%200"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[24]="PRINTER_INFO=CUSTOM Engineering VKP80"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[25]="PRINTER_LOCATION=local"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[26]="PRINTER=CUSTOM_Engineering_VKP80"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[27]="PRINTER_STATE_REASONS=none"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[28]="CUPS_FILETYPE=document"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-raster"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[30]="AUTH_I****"
D [26/Jul/2018:10:06:19 -0400] [Job 9] Started filter /usr/lib/cups/filter/bannertopdf (PID 7771)
D [26/Jul/2018:10:06:19 -0400] [Job 9] Started filter /usr/lib/cups/filter/pdftopdf (PID 7772)
D [26/Jul/2018:10:06:19 -0400] [Job 9] Started filter /usr/lib/cups/filter/gstoraster (PID 7773)
D [26/Jul/2018:10:06:19 -0400] [Job 9] Started filter /usr/lib/cups/filter/rastertovkp80 (PID 7774)
D [26/Jul/2018:10:06:19 -0400] [Job 9] Started backend /usr/lib/cups/backend/usb (PID 7775)
D [26/Jul/2018:10:06:19 -0400] [Job 9] PID 7774 (/usr/lib/cups/filter/rastertovkp80) stopped with status 102 (No such file or directory)
D [26/Jul/2018:10:06:19 -0400] [Job 9] Hint: Try setting the LogLevel to "debug" to find out more.
D [26/Jul/2018:10:06:19 -0400] [Job 9] execv failed: No such file or directory
D [26/Jul/2018:10:06:19 -0400] [Job 9] OUTFORMAT=\"(null)\", so output format will be CUPS/PWG Raster
D [26/Jul/2018:10:06:19 -0400] [Job 9] pdftopdf: Last filter determined by the PPD: rastertovkp80; FINAL_CONTENT_TYPE: application/vnd.cups-raster => pdftopdf will not log pages in page_log.
D [26/Jul/2018:10:06:19 -0400] [Job 9] Loading USB quirks from \"/usr/share/cups/usb\".
D [26/Jul/2018:10:06:19 -0400] [Job 9] Loaded 80 quirks.
D [26/Jul/2018:10:06:19 -0400] [Job 9] Printing on printer with URI: usb://CUSTOM%20Engineering/VKP80?serial=VKP80%20200Num.:%200
D [26/Jul/2018:10:06:19 -0400] [Job 9] PDF template file doesn\'t have form. It\'s okay.
D [26/Jul/2018:10:06:19 -0400] [Job 9] libusb_get_device_list=7
D [26/Jul/2018:10:06:19 -0400] [Job 9] STATE: +connecting-to-device
D [26/Jul/2018:10:06:19 -0400] [Job 9] STATE: -connecting-to-device
D [26/Jul/2018:10:06:19 -0400] [Job 9] Printer found with device ID: MFG:CUSTOM Engineering;CMD:ESCPOS;MDL:VKP80;CLS:PRINTER; Device URI: usb://CUSTOM%20Engineering/VKP80?serial=VKP80%20200Num.:%200
D [26/Jul/2018:10:06:19 -0400] [Job 9] Device protocol: 2
D [26/Jul/2018:10:06:19 -0400] [Job 9] PID 7771 (/usr/lib/cups/filter/bannertopdf) exited with no errors.
D [26/Jul/2018:10:06:19 -0400] [Job 9] Sending data to printer.
D [26/Jul/2018:10:06:19 -0400] [Job 9] Sent 0 bytes...
D [26/Jul/2018:10:06:19 -0400] [Job 9] Waiting for read thread to exit...
D [26/Jul/2018:10:06:19 -0400] [Job 9] PID 7772 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [26/Jul/2018:10:06:19 -0400] [Job 9] Color Manager: Calibration Mode/Off
D [26/Jul/2018:10:06:19 -0400] [Job 9] Calling FindDeviceById(cups-CUSTOM_Engineering_VKP80)
D [26/Jul/2018:10:06:19 -0400] [Job 9] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
D [26/Jul/2018:10:06:19 -0400] [Job 9] Failed to get find device cups-CUSTOM_Engineering_VKP80
D [26/Jul/2018:10:06:19 -0400] [Job 9] Calling FindDeviceById(cups-CUSTOM_Engineering_VKP80)
D [26/Jul/2018:10:06:19 -0400] [Job 9] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
D [26/Jul/2018:10:06:19 -0400] [Job 9] Failed to get device cups-CUSTOM_Engineering_VKP80
D [26/Jul/2018:10:06:19 -0400] [Job 9] Color Manager: no profiles specified in PPD
D [26/Jul/2018:10:06:19 -0400] [Job 9] Color Manager: ICC Profile: None
D [26/Jul/2018:10:06:19 -0400] [Job 9] Ghostscript using Any-Part-of-Pixel method to fill paths.
D [26/Jul/2018:10:06:19 -0400] [Job 9] Ghostscript command line: gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=cups -r199x199 -dDEVICEWIDTHPOINTS=565 -dDEVICEHEIGHTPOINTS=433 -dcupsBitsPerColor=1 -dcupsColorOrder=0 -dcupsColorSpace=3 -scupsPageSizeName=X80MMY160MM -I/usr/share/cups/fonts -c \'<</.HWMargins[0.000000 0.000000 0.000000 0.000000] /Margins[0 0]>>setpagedevice\' -f -_
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[0]=\"CUPS_CACHEDIR=/var/cache/cups\"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[1]=\"CUPS_DATADIR=/usr/share/cups\"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[2]=\"CUPS_DOCROOT=/usr/share/cups/doc-root\"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[3]=\"CUPS_FONTPATH=/usr/share/cups/fonts\"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[4]=\"CUPS_REQUESTROOT=/var/spool/cups\"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[5]=\"CUPS_SERVERBIN=/usr/lib/cups\"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[6]=\"CUPS_SERVERROOT=/etc/cups\"
D [26/Jul/2018:10:06:19 -0400] [Job 9] envp[7]=\"CUPS_STATEDIR=/var/run/cups\"

....


Долго искал в нете прежде чем сюда обратится
  • Вопрос задан
  • 2057 просмотров
Подписаться 2 Средний Комментировать
Решения вопроса 2
@Tiamon
выложите конфиг /etc/cups/cupsd.conf
Также версия системы 64\32
Версия драйвера\где брали, ссылка, тоже 64\32?
Сходу попробуйте не печатать через pdf )
Ответ написан
@Scorpiored88 Автор вопроса
Проблему нашел - розрядность системы. Я использовал драйвер под x32 на системе х64
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы