FreeBSD12.1-RELEASE-p5
cups-2.2.13
cups-filters-1.27.3
ghostscript9-agpl-base-9.52_1
Чашки перестали работать после удаления сломанного cups-pdf
пакет и попытка переустановки старого cups-pdf
pkg, сам сейчас удалил. Распечатываемый файл представляет собой несохраненный текстовый файл Pluma, содержащий одно слово «тест». Однако та же проблема возникает при попытке распечатать что-либо из LibreOffice, Firefox или любой другой программы.
/var/log/cups/error_log
. . .
D [03/Jun/2020:08:41:11 -0400] [Job 1722] STATE: -connecting-to-device
D [03/Jun/2020:08:41:11 -0400] cupsdMarkDirty(---J-)
D [03/Jun/2020:08:41:11 -0400] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Dirty files"
D [03/Jun/2020:08:41:11 -0400] [Job 1722] np4172.hamilton.harte-lyne.ca=192.168.216.52
D [03/Jun/2020:08:41:11 -0400] [Job 1722] backendWaitLoop(snmp_fd=5, addr=0x801d08188, side_cb=0x1028140)
D [03/Jun/2020:08:41:11 -0400] [Job 1722] pdftops - copying to temp print file \"/var/spool/cups/tmp/0605d5ee337aa\"
D [03/Jun/2020:08:41:11 -0400] [Job 1722] pdftopdf: Last filter determined by the PPD: None; FINAL_CONTENT_TYPE: application/vnd.cups-postscript => pdftopdf will not log pages in page_log.
D [03/Jun/2020:08:41:11 -0400] [Job 1722] PDF interactive form and annotation flattening done via QPDF
D [03/Jun/2020:08:41:11 -0400] [Job 1722] Printer make and model: Lexmark Lexmark T630 Laser Printer
D [03/Jun/2020:08:41:11 -0400] [Job 1722] Running command line for pstops: pstops 1722 test_user \'Unsaved Document 2\' 1 \'JCLPortRotation=None JCLPictureGrade=PrtSet noLXCollate noOutputBin Resolution=300dpi InputSlot=AutoSelect Duplex=None JCLTonerDarkness=None PageSize=Letter MediaType=Plain job-uuid=urn:uuid:e3ddce36-fbfe-39c5-521b-399d99e2da35 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1591188071 time-at-processing=1591188071\'
D [03/Jun/2020:08:41:11 -0400] [Job 1722] Using image rendering resolution 300 dpi
D [03/Jun/2020:08:41:11 -0400] [Job 1722] Running command line for gs: gs -q -dNOPAUSE -dBATCH -dSAFER -dNOMEDIAATTRS -sstdout=%stderr -sDEVICE=ps2write -dShowAcroForm -sOUTPUTFILE=%stdout -sProcessColorModel=DeviceGray -sColorConversionStrategy=Gray -dLanguageLevel=3 -r300 -dCompressFonts=false -dNoT3CCITT -dNOINTERPOLATE -c \'save pop\' -f /var/spool/cups/tmp/0605d5ee337aa
D [03/Jun/2020:08:41:11 -0400] [Job 1722] Started filter gs (PID 24671)
D [03/Jun/2020:08:41:11 -0400] [Job 1722] Started filter pstops (PID 24672)
D [03/Jun/2020:08:41:11 -0400] Discarding unused printer-state-changed event...
D [03/Jun/2020:08:41:11 -0400] [Job 1722] While reading gs_ll3.ps:
D [03/Jun/2020:08:41:11 -0400] [Job 1722] Error: /undefinedresource in findresource
D [03/Jun/2020:08:41:11 -0400] [Job 1722] Operand stack:
D [03/Jun/2020:08:41:11 -0400] [Job 1722] true (gs_icc.ps\\000gs_mex_e.ps\\000gs_mro_e.ps\\000gs_pdf_e.ps\\000gs_wan_e.ps\\000pdf_ops.ps\\000pdf_rbld.ps\\000pdf_base.ps\\000pdf_draw.ps\\000gs_cff.ps\\000gs_mgl_e.ps\\000gs_ttf.ps\\000pdf_font.ps\\000pdf_main.ps\\000pdf_sec.ps\\000gs_epsf.ps\\000gs_pdfwr.ps) (gs_ll3.ps) 1 Pscript5Idiom.pkgsave IdiomSet 7 Pscript5Idiom.pkgsave
D [03/Jun/2020:08:41:11 -0400] [Job 1722] Execution stack:
D [03/Jun/2020:08:41:11 -0400] [Job 1722] %interp_exit --nostringval-- findresource %loop_continue findresource findresource findresource false 1 %stopped_push --nostringval-- 1902 8 5 %oparray_pop findresource findresource --dict:16/18(ro)(G)-- --dict:2/2(G)-- findresource 1 %dict_continue findresource findresource 1900 6 5 %oparray_pop findresource %errorexec_pop findresource findresource findresource findresource
D [03/Jun/2020:08:41:11 -0400] [Job 1722] Dictionary stack:
D [03/Jun/2020:08:41:11 -0400] [Job 1722] --dict:956/1123(G)-- --dict:0/20(G)-- --dict:77/200(L)-- --dict:956/1123(G)-- --dict:38/43(G)-- --dict:16/18(ro)(G)--
D [03/Jun/2020:08:41:11 -0400] [Job 1722] Current allocation mode is global
D [03/Jun/2020:08:41:11 -0400] [Job 1722] Current file position is 18941
D [03/Jun/2020:08:41:11 -0400] [Job 1722] The print file is empty.
D [03/Jun/2020:08:41:11 -0400] [Job 1722] PID 24672 (pstops) stopped with status 1!
D [03/Jun/2020:08:41:11 -0400] [Job 1722] PID 24671 (gs) stopped with status 1!
D [03/Jun/2020:08:41:11 -0400] [Job 1722] PID 24669 (/usr/local/libexec/cups/filter/pdftops) stopped with status 1.
D [03/Jun/2020:08:41:11 -0400] [Job 1722] PID 24670 (/usr/local/libexec/cups/backend/lpd) exited with no errors.
D [03/Jun/2020:08:41:11 -0400] Discarding unused job-state-changed event...
E [03/Jun/2020:08:41:11 -0400] [Job 1722] Job stopped due to filter errors; please consult the /var/log/cups/error_log file for details.
. . .
Я переустановил cups
, cups-filters
, и ghostscript-agpl-base
без видимых изменений в этой ошибке.
Я открыл для этого отчет об ошибке, но если у кого-то есть обходной путь, я был бы благодарен за эту информацию.