Форум русскоязычного сообщества Ubuntu


Считаете, что Ubuntu недостаточно дружелюбна к новичкам?
Помогите создать новое Руководство для новичков!

Автор Тема: Перестал печатать принтер P2035d  (Прочитано 723 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн winmasta

  • Автор темы
  • Активист
  • *
  • Сообщений: 348
    • Просмотр профиля
Перестал печатать принтер P2035d
« : 06 Апрель 2018, 06:43:20 »
Подключил его несколько месяцев назад простыв втыканием в USB. Все драйвера встали сами и все было прекрасно до сегодняшнего дня. Принтер отдает чистые листы, в логах /var/log/cups/error_log

E [06/Apr/2018:10:35:38 +0700] [Job 92] loadFile failed: temp file: not a PDF file
E [06/Apr/2018:10:35:38 +0700] [Job 92] Job stopped due to filter errors; please consult the error_log file for details.
D [06/Apr/2018:10:35:38 +0700] [Job 92] The following messages were recorded from 10:35:38 to 10:35:38
D [06/Apr/2018:10:35:38 +0700] [Job 92] Adding start banner page "none".
D [06/Apr/2018:10:35:38 +0700] [Job 92] Adding end banner page "none".
D [06/Apr/2018:10:35:38 +0700] [Job 92] File of type application/pdf queued by "winmasta".
D [06/Apr/2018:10:35:38 +0700] [Job 92] hold_until=0
D [06/Apr/2018:10:35:38 +0700] [Job 92] Queued on "Kyocera-ECOSYS-P2035d" by "winmasta".
D [06/Apr/2018:10:35:38 +0700] [Job 92] time-at-processing=1522985738
D [06/Apr/2018:10:35:38 +0700] [Job 92] 3 filters for job:
D [06/Apr/2018:10:35:38 +0700] [Job 92] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [06/Apr/2018:10:35:38 +0700] [Job 92] pdftops (application/vnd.cups-pdf to application/vnd.cups-postscript, cost 100)
D [06/Apr/2018:10:35:38 +0700] [Job 92] /usr/lib/cups/filter/kyofilter_E (application/vnd.cups-postscript to printer/Kyocera-ECOSYS-P2035d, cost 0)
D [06/Apr/2018:10:35:38 +0700] [Job 92] job-sheets=none,none
D [06/Apr/2018:10:35:38 +0700] [Job 92] argv[0]="Kyocera-ECOSYS-P2035d"
D [06/Apr/2018:10:35:38 +0700] [Job 92] argv[1]="92"
D [06/Apr/2018:10:35:38 +0700] [Job 92] argv[2]="winmasta"
D [06/Apr/2018:10:35:38 +0700] [Job 92] argv[3]="4ffd5a00bc0d210520d1cbcdc73bdd7d.jpg"
D [06/Apr/2018:10:35:38 +0700] [Job 92] argv[4]="1"
D [06/Apr/2018:10:35:38 +0700] [Job 92] argv[5]="noWren Wsze=72 Wtxt=Confidential Wtrans=watermark JobDate Tmed=PrnDef number-up=1 noCollate Wang=50 Email=off Ecop=Off InputSlot=Auto CvrM=PrnDef Resolution=601dpi Duplex=None Wtyp=Solid Coll PageSize=A4 MediaType=PrnDef Pmed=PrnDef JobName=off noWflg Wfnt=Arial-BoldMT Smoothing job-uuid=urn:uuid:5dd5f8f4-43ba-3a17-40bd-6a2dcdfa54cc job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1522985738 time-at-processing=1522985738"
D [06/Apr/2018:10:35:38 +0700] [Job 92] argv[6]="/var/spool/cups/d00092-001"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[8]="HOME=/var/spool/cups/tmp"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[10]="SERVER_ADMIN=root@winmasta-laptop-ubuntu"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[11]="SOFTWARE=CUPS/2.1.3"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[13]="USER=root"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[14]="CUPS_MAX_MESSAGE=2047"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[17]="IPP_PORT=631"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[18]="CHARSET=utf-8"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[19]="LANG=ru_RU.UTF-8"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[20]="PPD=/etc/cups/ppd/Kyocera-ECOSYS-P2035d.ppd"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[21]="RIP_MAX_CACHE=128m"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[22]="CONTENT_TYPE=application/pdf"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[23]="DEVICE_URI=usb://Kyocera/ECOSYS%20P2035d?serial=LVG3Z04015"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[24]="PRINTER_INFO=Kyocera ECOSYS P2035d"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[25]="PRINTER_LOCATION=winmasta-laptop-ubuntu"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[26]="PRINTER=Kyocera-ECOSYS-P2035d"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[27]="PRINTER_STATE_REASONS=none"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[28]="CUPS_FILETYPE=document"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
D [06/Apr/2018:10:35:38 +0700] [Job 92] envp[30]="AUTH_I****"
D [06/Apr/2018:10:35:38 +0700] [Job 92] Started filter /usr/lib/cups/filter/kyofilter_pre_E (PID 7003)
D [06/Apr/2018:10:35:38 +0700] [Job 92] Started filter /usr/lib/cups/filter/pdftopdf (PID 7004)
D [06/Apr/2018:10:35:38 +0700] [Job 92] Started filter /usr/lib/cups/filter/pdftops (PID 7005)
D [06/Apr/2018:10:35:38 +0700] [Job 92] Started filter /usr/lib/cups/filter/kyofilter_E (PID 7006)
D [06/Apr/2018:10:35:38 +0700] [Job 92] Started backend /usr/lib/cups/backend/usb (PID 7007)
D [06/Apr/2018:10:35:38 +0700] [Job 92] pdftops - copying to temp print file \"/tmp/01b5d5aca1183\"
D [06/Apr/2018:10:35:38 +0700] [Job 92] Loading USB quirks from \"/usr/share/cups/usb\".
D [06/Apr/2018:10:35:38 +0700] [Job 92] Loaded 131 quirks.
D [06/Apr/2018:10:35:38 +0700] [Job 92] Printing on printer with URI: usb://Kyocera/ECOSYS%20P2035d?serial=LVG3Z04015
D [06/Apr/2018:10:35:38 +0700] [Job 92] libusb_get_device_list=11
D [06/Apr/2018:10:35:38 +0700] [Job 92] STATE: +connecting-to-device
D [06/Apr/2018:10:35:38 +0700] [Job 92] STATE: -connecting-to-device
D [06/Apr/2018:10:35:38 +0700] [Job 92] Printer found with device ID: ID:ECOSYS P2035d;MFG:Kyocera;CMD:PCLXL,PostScript Emulation,PCL5E,PJL;MDL:ECOSYS P2035d;CLS:PRINTER;DES:Kyocera ECOSYS P2035d; Device URI: usb://Kyocera/ECOSYS%20P2035d?serial=LVG3Z04015
D [06/Apr/2018:10:35:38 +0700] [Job 92] Device protocol: 2
D [06/Apr/2018:10:35:38 +0700] [Job 92] Отправка данных на принтер.
D [06/Apr/2018:10:35:38 +0700] [Job 92] Set job-printer-state-message to "Отправка данных на принтер.", current level=INFO
D [06/Apr/2018:10:35:38 +0700] [Job 92] File \"/usr/lib/cups/filter/kyofilter_pre_E\", line 206
D [06/Apr/2018:10:35:38 +0700] [Job 92] print fileout.name
D [06/Apr/2018:10:35:38 +0700] [Job 92] ^
D [06/Apr/2018:10:35:38 +0700] [Job 92] SyntaxError: Missing parentheses in call to \'print\'
D [06/Apr/2018:10:35:38 +0700] [Job 92] PID 7003 (/usr/lib/cups/filter/kyofilter_pre_E) stopped with status 1.
D [06/Apr/2018:10:35:38 +0700] [Job 92] Hint: Try setting the LogLevel to "debug" to find out more.
D [06/Apr/2018:10:35:38 +0700] [Job 92] PID 7004 (/usr/lib/cups/filter/pdftopdf) stopped with status 1.
D [06/Apr/2018:10:35:38 +0700] [Job 92] Hint: Try setting the LogLevel to "debug" to find out more.
D [06/Apr/2018:10:35:38 +0700] [Job 92] Printer make and model: Kyocera ECOSYS P2035d
D [06/Apr/2018:10:35:38 +0700] [Job 92] Running command line for pstops: pstops 92 winmasta 4ffd5a00bc0d210520d1cbcdc73bdd7d.jpg 1 \'noWren Wsze=72 Wtxt=Confidential Wtrans=watermark JobDate Tmed=PrnDef number-up=1 noCollate Wang=50 Email=off Ecop=Off InputSlot=Auto CvrM=PrnDef Resolution=601dpi Duplex=None Wtyp=Solid Coll PageSize=A4 MediaType=PrnDef Pmed=PrnDef JobName=off noWflg Wfnt=Arial-BoldMT Smoothing job-uuid=urn:uuid:5dd5f8f4-43ba-3a17-40bd-6a2dcdfa54cc job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1522985738 time-at-processing=1522985738\'
D [06/Apr/2018:10:35:38 +0700] [Job 92] Using image rendering resolution 600 dpi
D [06/Apr/2018:10:35:38 +0700] [Job 92] Deactivated compression of pages in Ghostscript\'s PostScript output (\"psdebug\" debug mode or Kyocera/Utax printer)
D [06/Apr/2018:10:35:38 +0700] [Job 92] Running command line for gs: gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=ps2write -sOUTPUTFILE=%stdout -dLanguageLevel=3 -r600 -dCompressPages=false -dCompressFonts=false -dNoT3CCITT -dNOINTERPOLATE -c \'save pop\' -f /tmp/01b5d5aca1183
D [06/Apr/2018:10:35:38 +0700] [Job 92] Started filter gs (PID 7012)
D [06/Apr/2018:10:35:38 +0700] [Job 92] Started post-processing (PID 7013)
D [06/Apr/2018:10:35:38 +0700] [Job 92] Started filter pstops (PID 7014)
D [06/Apr/2018:10:35:38 +0700] [Job 92] Inserted workaround PostScript code for Kyocera and Utax printers
D [06/Apr/2018:10:35:38 +0700] [Job 92] Page = 595x842; 12,10 to 583,832
D [06/Apr/2018:10:35:38 +0700] [Job 92] slow_collate=0, slow_duplex=0, slow_order=0
D [06/Apr/2018:10:35:38 +0700] [Job 92] Before copy_comments - %!PS-Adobe-3.0
D [06/Apr/2018:10:35:38 +0700] [Job 92] %!PS-Adobe-3.0
D [06/Apr/2018:10:35:38 +0700] [Job 92] %%BoundingBox: 0 0 595 842
D [06/Apr/2018:10:35:38 +0700] [Job 92] %%HiResBoundingBox: 0 0 595.00 842.00
D [06/Apr/2018:10:35:38 +0700] [Job 92] %%Creator: GPL Ghostscript 918 (ps2write)
D [06/Apr/2018:10:35:38 +0700] [Job 92] %%LanguageLevel: 2
D [06/Apr/2018:10:35:38 +0700] [Job 92] %%CreationDate: D:20180406103538+07\'00\'
D [06/Apr/2018:10:35:38 +0700] [Job 92] %%Pages: 1
D [06/Apr/2018:10:35:38 +0700] [Job 92] %%EndComments
D [06/Apr/2018:10:35:38 +0700] [Job 92] Before copy_prolog - %%BeginProlog
D [06/Apr/2018:10:35:38 +0700] [Job 92] PID 7012 (gs) exited with no errors.
D [06/Apr/2018:10:35:38 +0700] [Job 92] Before copy_setup - %%Page: 1 1
D [06/Apr/2018:10:35:38 +0700] [Job 92] Before page loop - %%Page: 1 1
D [06/Apr/2018:10:35:38 +0700] [Job 92] Copying page 1...
D [06/Apr/2018:10:35:38 +0700] [Job 92] pagew = 571.0, pagel = 822.0
D [06/Apr/2018:10:35:38 +0700] [Job 92] bboxx = 0, bboxy = 0, bboxw = 595, bboxl = 842
D [06/Apr/2018:10:35:38 +0700] [Job 92] PageLeft = 12.0, PageRight = 583.0
D [06/Apr/2018:10:35:38 +0700] [Job 92] PageTop = 832.0, PageBottom = 10.0
D [06/Apr/2018:10:35:38 +0700] [Job 92] PageWidth = 595.0, PageLength = 842.0
D [06/Apr/2018:10:35:38 +0700] [Job 92] PID 7013 (Post-processing) exited with no errors.
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 1 pages...
D [06/Apr/2018:10:35:38 +0700] [Job 92] PID 7014 (pstops) exited with no errors.
D [06/Apr/2018:10:35:38 +0700] [Job 92] PID 7005 (/usr/lib/cups/filter/pdftops) exited with no errors.
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] PID 7006 (/usr/lib/cups/filter/kyofilter_E) exited with no errors.
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 8192 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Read 4992 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Wrote 4992 bytes of print data...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Sent 177024 bytes...
D [06/Apr/2018:10:35:38 +0700] [Job 92] Waiting for read thread to exit...
D [06/Apr/2018:10:35:38 +0700] [Job 92] PID 7007 (/usr/lib/cups/backend/usb) exited with no errors.
D [06/Apr/2018:10:35:38 +0700] [Job 92] End of messages
D [06/Apr/2018:10:35:38 +0700] [Job 92] printer-state=3(idle)
D [06/Apr/2018:10:35:38 +0700] [Job 92] printer-state-message="loadFile failed: temp file: not a PDF file"
D [06/Apr/2018:10:35:38 +0700] [Job 92] printer-state-reasons=none

Как мне кажется проблема кроется в loadFile failed: temp file: not a PDF file но я даже не знаю с какой стороны подойти к ней. После печати в трее висит значек принтера с заданием в очереди

Оффлайн archuser

  • Активист
  • *
  • Сообщений: 434
    • Просмотр профиля
Re: Перестал печатать принтер P2035d
« Ответ #1 : 06 Апрель 2018, 15:42:37 »
D [06/Apr/2018:10:35:38 +0700] [Job 92] File \"/usr/lib/cups/filter/kyofilter_pre_E\", line 206
D [06/Apr/2018:10:35:38 +0700] [Job 92] print fileout.name
D [06/Apr/2018:10:35:38 +0700] [Job 92] ^
D [06/Apr/2018:10:35:38 +0700] [Job 92] SyntaxError: Missing parentheses in call to \'print\'
Это все потому, что кто-то (точно не Вы  :2funny:) изменил по умолчанию версию python c 2.7 на 3.5.

Оффлайн winmasta

  • Автор темы
  • Активист
  • *
  • Сообщений: 348
    • Просмотр профиля
Re: Перестал печатать принтер P2035d
« Ответ #2 : 07 Апрель 2018, 07:59:31 »
D [06/Apr/2018:10:35:38 +0700] [Job 92] File \"/usr/lib/cups/filter/kyofilter_pre_E\", line 206
D [06/Apr/2018:10:35:38 +0700] [Job 92] print fileout.name
D [06/Apr/2018:10:35:38 +0700] [Job 92] ^
D [06/Apr/2018:10:35:38 +0700] [Job 92] SyntaxError: Missing parentheses in call to \'print\'
Это все потому, что кто-то (точно не Вы  :2funny:) изменил по умолчанию версию python c 2.7 на 3.5.

Это был я ))) Интересно, а как я мог бы это понять, ошибка не гуглится, или есть какие-то сведения в которые я не посвящен ?

 

Страница сгенерирована за 0.069 секунд. Запросов: 24.