Summary: | CUPS reports 'filter failed' and cannot print. | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | lm808 |
Component: | CUPS driver | Assignee: | Chris Liddell (chrisl) <chris.liddell> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | ghostscript.severach, harv, htl10, mike |
Priority: | P4 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- |
Description
lm808
2018-09-05 14:22:11 UTC
Unless you can provide a Ghostscript command line that demonstrates the problem, there's nothing we can do - we're not CUPs. FWIW, it looks to me like the directory containing the ICC profiles is not in the Ghostscript search path and/or permitted directories. https://aur.archlinux.org/packages/kyocera-cups/ A command line will not help you because vendor supplied filters are involved. Print to any Kyocera printer as found in this package. This is my test printer I have printing to file:// Kyocera FS-4200DN (KPDL) Downgrading to gs 9.23 allows the Kyocera to print. E [07/Sep/2018:01:51:05 -0400] [Job 319] Job stopped due to filter errors; please consult the error_log file for details. D [07/Sep/2018:01:51:05 -0400] [Job 319] The following messages were recorded from 01:51:03 AM to 01:51:05 AM D [07/Sep/2018:01:51:05 -0400] [Job 319] Applying default options... D [07/Sep/2018:01:51:05 -0400] [Job 319] Adding start banner page "none". D [07/Sep/2018:01:51:05 -0400] [Job 319] Adding end banner page "none". D [07/Sep/2018:01:51:05 -0400] [Job 319] File of type application/vnd.cups-pdf-banner queued by "root". D [07/Sep/2018:01:51:05 -0400] [Job 319] hold_until=0 D [07/Sep/2018:01:51:05 -0400] [Job 319] Queued on "KyoceraTest" by "root". D [07/Sep/2018:01:51:05 -0400] [Job 319] time-at-processing=1536299463 D [07/Sep/2018:01:51:05 -0400] [Job 319] 4 filters for job: D [07/Sep/2018:01:51:05 -0400] [Job 319] bannertopdf (application/vnd.cups-pdf-banner to application/pdf, cost 32) D [07/Sep/2018:01:51:05 -0400] [Job 319] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66) D [07/Sep/2018:01:51:05 -0400] [Job 319] pdftops (application/vnd.cups-pdf to application/vnd.cups-postscript, cost 100) D [07/Sep/2018:01:51:05 -0400] [Job 319] /usr/lib/cups/filter/kyofilter_D (application/vnd.cups-postscript to printer/KyoceraTest, cost 0) D [07/Sep/2018:01:51:05 -0400] [Job 319] job-sheets=none,none D [07/Sep/2018:01:51:05 -0400] [Job 319] argv[0]="KyoceraTest" D [07/Sep/2018:01:51:05 -0400] [Job 319] argv[1]="319" D [07/Sep/2018:01:51:05 -0400] [Job 319] argv[2]="root" D [07/Sep/2018:01:51:05 -0400] [Job 319] argv[3]="Test Page" D [07/Sep/2018:01:51:05 -0400] [Job 319] argv[4]="1" D [07/Sep/2018:01:51:05 -0400] [Job 319] argv[5]="job-uuid=urn:uuid:f3c5e477-018e-3d4b-4ad5-94cfe9853702 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1536299463 time-at-processing=1536299463" D [07/Sep/2018:01:51:05 -0400] [Job 319] argv[6]="/var/spool/cups/d00319-001" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[0]="CUPS_CACHEDIR=/var/cache/cups" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[1]="CUPS_DATADIR=/usr/share/cups" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[5]="CUPS_SERVERBIN=/usr/lib/cups" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[6]="CUPS_SERVERROOT=/etc/cups" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[7]="CUPS_STATEDIR=/run/cups" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[8]="HOME=/var/spool/cups/tmp" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[10]="SERVER_ADMIN=root@ga" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[11]="SOFTWARE=CUPS/2.2.8" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[12]="TMPDIR=/var/spool/cups/tmp" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[13]="USER=root" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[14]="CUPS_MAX_MESSAGE=2047" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[15]="CUPS_SERVER=/run/cups/cups.sock" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[16]="CUPS_ENCRYPTION=IfRequested" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[17]="IPP_PORT=631" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[18]="CHARSET=utf-8" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[19]="LANG=en_US.UTF-8" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[20]="PPD=/etc/cups/ppd/KyoceraTest.ppd" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[21]="RIP_MAX_CACHE=128m" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[22]="CONTENT_TYPE=application/vnd.cups-pdf-banner" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[23]="DEVICE_URI=file:///tmp/stuff.kyocera" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[24]="PRINTER_INFO=KyoceraTest" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[25]="PRINTER_LOCATION=" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[26]="PRINTER=KyoceraTest" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[27]="PRINTER_STATE_REASONS=none" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[28]="CUPS_FILETYPE=document" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript" D [07/Sep/2018:01:51:05 -0400] [Job 319] envp[30]="AUTH_I****" D [07/Sep/2018:01:51:05 -0400] [Job 319] Started filter /usr/lib/cups/filter/bannertopdf (PID 19259) D [07/Sep/2018:01:51:05 -0400] [Job 319] Started filter /usr/lib/cups/filter/pdftopdf (PID 19260) D [07/Sep/2018:01:51:05 -0400] [Job 319] Started filter /usr/lib/cups/filter/pdftops (PID 19261) D [07/Sep/2018:01:51:05 -0400] [Job 319] Started filter /usr/lib/cups/filter/kyofilter_D (PID 19262) D [07/Sep/2018:01:51:05 -0400] [Job 319] pdftops - copying to temp print file \"/var/spool/cups/tmp/04b3d5b926207\" D [07/Sep/2018:01:51:05 -0400] [Job 319] PDF template file doesn\'t have form. It\'s okay. D [07/Sep/2018:01:51:05 -0400] [Job 319] pdftopdf: Last filter determined by the PPD: kyofilter_D; FINAL_CONTENT_TYPE: application/vnd.cups-postscript => pdftopdf will not log pages in page_log. D [07/Sep/2018:01:51:05 -0400] [Job 319] PID 19259 (/usr/lib/cups/filter/bannertopdf) exited with no errors. D [07/Sep/2018:01:51:05 -0400] [Job 319] PID 19260 (/usr/lib/cups/filter/pdftopdf) exited with no errors. D [07/Sep/2018:01:51:05 -0400] [Job 319] Printer make and model: Kyocera FS-4200DN D [07/Sep/2018:01:51:05 -0400] [Job 319] Running command line for pstops: pstops 319 root \'Test Page\' 1 \'job-uuid=urn:uuid:f3c5e477-018e-3d4b-4ad5-94cfe9853702 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1536299463 time-at-processing=1536299463\' D [07/Sep/2018:01:51:05 -0400] [Job 319] Using image rendering resolution 600 dpi D [07/Sep/2018:01:51:05 -0400] [Job 319] Deactivated compression of pages in Ghostscript\'s PostScript output (\"psdebug\" debug mode or Kyocera/Utax printer) D [07/Sep/2018:01:51:05 -0400] [Job 319] Running command line for gs: gs -q -dNOPAUSE -dBATCH -dSAFER -dNOMEDIAATTRS -sDEVICE=ps2write -dShowAcroForm -sOUTPUTFILE=%stdout -dLanguageLevel=3 -r600 -dCompressPages=false -dCompressFonts=false -dNoT3CCITT -dNOINTERPOLATE -c \'save pop\' -f /var/spool/cups/tmp/04b3d5b926207 D [07/Sep/2018:01:51:05 -0400] [Job 319] Started filter gs (PID 19264) D [07/Sep/2018:01:51:05 -0400] [Job 319] Started post-processing (PID 19265) D [07/Sep/2018:01:51:05 -0400] [Job 319] Started filter pstops (PID 19266) D [07/Sep/2018:01:51:05 -0400] [Job 319] ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find ps_gray.icc D [07/Sep/2018:01:51:05 -0400] [Job 319] + ./base/gsicc_manage.c:255: gsicc_initialize_iccsmask(): failed to load gray smask profile D [07/Sep/2018:01:51:05 -0400] [Job 319] ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find default_rgb.icc D [07/Sep/2018:01:51:05 -0400] [Job 319] | ./base/gsicc_manage.c:2025: gsicc_set_device_profile(): cannot find device profile D [07/Sep/2018:01:51:05 -0400] [Job 319] GPL Ghostscript Release Candidate 2 9.24: Unrecoverable error, exit code 1 D [07/Sep/2018:01:51:05 -0400] [Job 319] ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find default_gray.icc D [07/Sep/2018:01:51:05 -0400] [Job 319] | ./base/gsicc_manage.c:2025: gsicc_set_device_profile(): cannot find device profile D [07/Sep/2018:01:51:05 -0400] [Job 319] Inserted workaround PostScript code for Kyocera and Utax printers D [07/Sep/2018:01:51:05 -0400] [Job 319] Page = 612x792; 12,8 to 600,784 D [07/Sep/2018:01:51:05 -0400] [Job 319] slow_collate=0, slow_duplex=0, slow_order=0 D [07/Sep/2018:01:51:05 -0400] [Job 319] This document does not conform to the Adobe Document Structuring Conventions and may not print correctly. D [07/Sep/2018:01:51:05 -0400] [Job 319] PID 19264 (gs) stopped with status 1! D [07/Sep/2018:01:51:05 -0400] [Job 319] PID 19265 (Post-processing) exited with no errors. D [07/Sep/2018:01:51:05 -0400] [Job 319] PID 19266 (pstops) exited with no errors. D [07/Sep/2018:01:51:05 -0400] [Job 319] PID 19261 (/usr/lib/cups/filter/pdftops) stopped with status 1. D [07/Sep/2018:01:51:05 -0400] [Job 319] Hint: Try setting the LogLevel to "debug" to find out more. D [07/Sep/2018:01:51:05 -0400] [Job 319] PID 19262 (/usr/lib/cups/filter/kyofilter_D) exited with no errors. D [07/Sep/2018:01:51:05 -0400] [Job 319] End of messages D [07/Sep/2018:01:51:05 -0400] [Job 319] printer-state=3(idle) D [07/Sep/2018:01:51:05 -0400] [Job 319] printer-state-message="Filter failed" D [07/Sep/2018:01:51:05 -0400] [Job 319] printer-state-reasons=none Perhaps you could pull the latest code from our git and try that - there has been a fix committed for ICC profile access since 9.24 was released. I am on archlinux facing the same problem. Archlinux has pulled some of the git commits: https://git.archlinux.org/svntogit/packages.git/log/trunk?h=packages/ghostscript I am still having this one: 846:D [07/Sep/2018:09:43:54 +0200] [Job 611] Running command line for gs: gs -q -dNOPAUSE -dBATCH -dSAFER -dNOMEDIAATTRS -sDEVICE=ps2write -dShowAcroForm -sOUTPUTFILE=%stdout -dLanguageLevel=3 -r600 -dCompressFonts=false -dNoT3CCITT -dNOINTERPOLATE -c \'save pop\' -f /var/spool/cups/tmp/008d05b9d1bda 847:D [07/Sep/2018:09:43:54 +0200] [Job 611] Started filter gs (PID 2258) 848:D [07/Sep/2018:09:43:54 +0200] [Job 611] Started filter pstops (PID 2259) 849:D [07/Sep/2018:09:43:54 +0200] [Job 611] ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find ps_gray.icc 850:D [07/Sep/2018:09:43:54 +0200] [Job 611] + ./base/gsicc_manage.c:255: gsicc_initialize_iccsmask(): failed to load gray smask profile https://aur.archlinux.org/packages/cndrvcups-lb/ Same Filter Failed with Canon printers. Canon MF3010 Canon_iR-ADV_C5235_5240_UFR ghostscript-git 9.25 is printing with both Canon and Kyocera. (In reply to Harvey from comment #4) > I am on archlinux facing the same problem. Archlinux has pulled some of the > git commits: > https://git.archlinux.org/svntogit/packages.git/log/trunk?h=packages/ > ghostscript > > I am still having this one: > > 846:D [07/Sep/2018:09:43:54 +0200] [Job 611] Running command line for gs: gs > -q -dNOPAUSE -dBATCH -dSAFER -dNOMEDIAATTRS -sDEVICE=ps2write -dShowAcroForm > -sOUTPUTFILE=%stdout -dLanguageLevel=3 -r600 -dCompressFonts=false > -dNoT3CCITT -dNOINTERPOLATE -c \'save pop\' -f > /var/spool/cups/tmp/008d05b9d1bda > 847:D [07/Sep/2018:09:43:54 +0200] [Job 611] Started filter gs (PID 2258) > 848:D [07/Sep/2018:09:43:54 +0200] [Job 611] Started filter pstops (PID 2259) > 849:D [07/Sep/2018:09:43:54 +0200] [Job 611] ./base/gsicc_manage.c:1244: > gsicc_open_search(): Could not find ps_gray.icc > 850:D [07/Sep/2018:09:43:54 +0200] [Job 611] + ./base/gsicc_manage.c:255: > gsicc_initialize_iccsmask(): failed to load gray smask profile I don't see these commits being referenced: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c8c01f8c4164 http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=13418541a5ae That's the only thing I can think of, because I can't reproduce the issue locally. (In reply to Chris Severance from comment #5) > https://aur.archlinux.org/packages/cndrvcups-lb/ > > Same Filter Failed with Canon printers. > > Canon MF3010 > Canon_iR-ADV_C5235_5240_UFR > > ghostscript-git 9.25 is printing with both Canon and Kyocera. There's no ghostscript output/error listed in the above link, so I have no idea. Maybe I wasn't clear. ghostscript 9.24 also crashes Canon with Filter Failed. ghostscript 9.25 has fixed both brands. (In reply to Chris Severance from comment #8) > Maybe I wasn't clear. ghostscript 9.24 also crashes Canon with Filter > Failed. ghostscript 9.25 has fixed both brands. Oh, sorry, my mistake. Thanks for checking, I'm really grateful. |