I can't any more print under linux. In /var/log/cups/error_log I find: ... D [28/Jun/2013:07:39:00 +0200] [Job 189] Spooler: cups D [28/Jun/2013:07:39:00 +0200] [Job 189] Printer: Canon-direct_irc2620c2cs D [28/Jun/2013:07:39:00 +0200] [Job 189] Shell: /bin/bash D [28/Jun/2013:07:39:00 +0200] [Job 189] PPD file: /etc/cups/ppd/Canon-direct_irc2620c2cs.ppd D [28/Jun/2013:07:39:00 +0200] [Job 189] ATTR file: D [28/Jun/2013:07:39:00 +0200] [Job 189] Printer model: Canon iR C2620 PS D [28/Jun/2013:07:39:00 +0200] [Job 189] Job title: CERVOTEC_Preisliste_2013_01.indd - cervotec_preisliste_01.2013.pdf D [28/Jun/2013:07:39:00 +0200] [Job 189] File(s) to be printed: D [28/Jun/2013:07:39:00 +0200] [Job 189] <STDIN> D [28/Jun/2013:07:39:00 +0200] [Job 189] Ghostscript extra search path ('GS_LIB'): /usr/share/cups/fonts D [28/Jun/2013:07:39:00 +0200] [Job 189] Printing system options: D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'number-up-layout=lrtb' D [28/Jun/2013:07:39:00 +0200] [Job 189] Unknown option number-up-layout=lrtb. D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'number-up=2' D [28/Jun/2013:07:39:00 +0200] [Job 189] Unknown option number-up=2. D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'job-uuid=urn:uuid:663651b5-16a6-3628-7d3c-db0ed4f0f4cb' D [28/Jun/2013:07:39:00 +0200] [Job 189] Unknown option job-uuid=urn:uuid:663651b5-16a6-3628-7d3c-db0ed4f0f4cb. D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'job-originating-host-name=localhost' D [28/Jun/2013:07:39:00 +0200] [Job 189] Unknown option job-originating-host-name=localhost. D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'time-at-creation=1372361275' D [28/Jun/2013:07:39:00 +0200] [Job 189] Unknown option time-at-creation=1372361275. D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'time-at-processing=1372397940' D [28/Jun/2013:07:39:00 +0200] [Job 189] Unknown option time-at-processing=1372397940. D [28/Jun/2013:07:39:00 +0200] [Job 189] Options from the PPD file: D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'RepeatJob=None' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'Destination=Printer' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'Finishing=None' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'UserID=None' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'GSmooth=Default' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'Duplex=DuplexNoTumble' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'HalfTone=Default' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'PageSize=Custom.595.28x841.89' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'Interleave=None' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'CNRGBPBP=Default' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'InputSlot=Auto' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'ColorModel=Default' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'PureBlack=Default' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'TonerSave=Default' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'BlackOver=Default' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'BindingLocation=None' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'MediaType=None' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'GrayProfile=Default' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'Simulation=Default' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'Matching=Default' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'UserPassword=None' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'CNBrightness=Default' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'ImageRefine=Default' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'SecuredPassword=None' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'RGBSP=Default' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'CNCMYKPBP=Default' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'Gutter=None' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'OutputProfile=Default' D [28/Jun/2013:07:39:00 +0200] [Job 189] Pondering option 'Mailbox=None' D [28/Jun/2013:07:39:00 +0200] [Job 189] ================================================ D [28/Jun/2013:07:39:00 +0200] [Job 189] File: <STDIN> D [28/Jun/2013:07:39:00 +0200] [Job 189] ================================================ D [28/Jun/2013:07:39:00 +0200] [Job 189] hrDeviceDesc="Canon iR C2620 82.03" D [28/Jun/2013:07:39:00 +0200] [Job 189] prtMarkerColorantValue.1.1 = "black" D [28/Jun/2013:07:39:00 +0200] [Job 189] prtMarkerColorantValue.1.2 = "cyan" D [28/Jun/2013:07:39:00 +0200] [Job 189] prtMarkerColorantValue.1.3 = "magenta" D [28/Jun/2013:07:39:00 +0200] [Job 189] prtMarkerColorantValue.1.4 = "yellow" D [28/Jun/2013:07:39:00 +0200] [Job 189] Filetype: PDF D [28/Jun/2013:07:39:00 +0200] [Job 189] PostScript option found: InputSlot=Auto: "<</InputAttributes <</Priority []>> >> D [28/Jun/2013:07:39:00 +0200] [Job 189] setpagedevice" D [28/Jun/2013:07:39:00 +0200] [Job 189] Driver does not understand PDF input, converting to PostScript D [28/Jun/2013:07:39:00 +0200] [Job 189] Storing temporary files in /var/spool/cups/tmp D [28/Jun/2013:07:39:00 +0200] [Job 189] ATTR: marker-colors=#000000,#00FFFF,#FF00FF,#FFFF00,none D [28/Jun/2013:07:39:00 +0200] [Job 189] ATTR: marker-names='"Black Toner"','"Cyan Toner"','"Magenta Toner"','"Yellow Toner"','"Waste Toner"' D [28/Jun/2013:07:39:00 +0200] [Job 189] ATTR: marker-types=toner,toner,toner,toner,wasteToner D [28/Jun/2013:07:39:00 +0200] [Job 189] ATTR: marker-levels=36,83,74,71,-1 D [28/Jun/2013:07:39:00 +0200] [Job 189] new_supply_state=0, change_state=ffff D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -developer-low-report D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -developer-empty-warning D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -marker-supply-low-report D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -marker-supply-empty-warning D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -opc-near-eol-report D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -opc-life-over-warning D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -toner-low-report D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -toner-empty-warning D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -waste-receptacle-almost-full-report D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -waste-receptacle-full-warning D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -cleaner-life-almost-over-report D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -cleaner-life-over-warning D [28/Jun/2013:07:39:00 +0200] [Job 189] new_state=0, change_state=ffff D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -media-empty-warning D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -door-open-report D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -media-jam-warning D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -input-tray-missing-warning D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -output-tray-missing-warning D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -marker-supply-missing-warning D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -output-area-almost-full-report D [28/Jun/2013:07:39:00 +0200] [Job 189] STATE: -output-area-full-warning D [28/Jun/2013:07:39:00 +0200] [Job 189] backendWaitLoop(snmp_fd=6, addr=0x7f32396f1b38, side_cb=0x7f323909ada0) D [28/Jun/2013:07:39:00 +0200] [Job 189] PID 2354 (/usr/libexec/cups/filter/pdftopdf) exited with no errors. D [28/Jun/2013:07:39:00 +0200] [Job 189] Starting process "pdf-to-ps" (generation 1) D [28/Jun/2013:07:39:00 +0200] [Job 189] Using image rendering resolution 600 dpi D [28/Jun/2013:07:39:00 +0200] [Job 189] Started filter pdftops (PID 2358) D [28/Jun/2013:07:39:00 +0200] [Job 189] Started filter pstops (PID 2359) D [28/Jun/2013:07:39:00 +0200] [Job 189] Syntax Error: Couldn't find trailer dictionary D [28/Jun/2013:07:39:00 +0200] [Job 189] Syntax Error: Couldn't read xref table D [28/Jun/2013:07:39:00 +0200] [Job 189] The print file is empty. D [28/Jun/2013:07:39:00 +0200] [Job 189] PID 2358 (pdftops) stopped with status 1! D [28/Jun/2013:07:39:00 +0200] [Job 189] PID 2359 (pstops) stopped with status 1! D [28/Jun/2013:07:39:00 +0200] [Job 189] Cannot process "<STDIN>": Unknown filetype. D [28/Jun/2013:07:39:00 +0200] [Job 189] pdf-to-ps exited with status 1 D [28/Jun/2013:07:39:00 +0200] [Job 189] Process is dying with "Could not print file <STDIN> D [28/Jun/2013:07:39:00 +0200] [Job 189] ", exit stat 2 D [28/Jun/2013:07:39:00 +0200] [Job 189] Cleaning up... D [28/Jun/2013:07:39:00 +0200] [Job 189] PID 2355 (/usr/libexec/cups/filter/foomatic-rip) stopped with status 2. D [28/Jun/2013:07:39:00 +0200] [Job 189] Hint: Try setting the LogLevel to "debug" to find out more. D [28/Jun/2013:07:39:00 +0200] [Job 189] PID 2356 (/usr/libexec/cups/backend/ipp) exited with no errors. D [28/Jun/2013:07:39:00 +0200] [Job 189] End of messages D [28/Jun/2013:07:39:00 +0200] [Job 189] printer-state=3(idle) D [28/Jun/2013:07:39:00 +0200] [Job 189] printer-state-message="Filter failed" D [28/Jun/2013:07:39:00 +0200] [Job 189] printer-state-reasons=cups-ipp-conformance-failure-report,cups-ipp-missing-job-history,cups-ipp-missing-printer-state-reasons E [28/Jun/2013:07:44:01 +0200] [Job 189] Stopping unresponsive job. I have two versions of pdftops and pstops belonging cups-filters-1.0.34-r1 and poppler-0.22.5 or psutils-1.17-r2, respectively. root@leopard:/root(7)# ll /usr/bin/pdftops /usr/libexec/cups/filter/pdftops -rwxr-xr-x 1 root root 24745 Jun 18 04:26 /usr/bin/pdftops* -rwxr-xr-x 1 root root 32912 Jun 18 19:16 /usr/libexec/cups/filter/pdftops* root@leopard:/root(8)# qfile -v /usr/bin/pdftops app-text/poppler-0.22.5 (/usr/bin/pdftops) root@leopard:/root(9)# qfile -v /usr/libexec/cups/filter/pdftops net-print/cups-filters-1.0.34-r1 (/usr/libexec/cups/filter/pdftops) root@leopard:/root(14)# ll /usr/bin/pstops /usr/libexec/cups/filter/pstops -rwxr-xr-x 1 root root 23320 Mar 4 11:37 /usr/bin/pstops* -rwxr-xr-x 1 root root 51744 May 15 04:39 /usr/libexec/cups/filter/pstops* root@leopard:/root(15)# qfile -v /usr/bin/pstops app-text/psutils-1.17-r2 (/usr/bin/pstops) root@leopard:/root(16)# qfile -v /usr/libexec/cups/filter/pstops net-print/cups-1.6.2-r5 (/usr/libexec/cups/filter/pstops) I hope the right versions of pdftps and pstops are used by cups. Is there an easy way to check on the command line, if pdftps and pstops are correctly running. '/usr/libexec/cups/filter/pdftops -h' says: Usage: /usr/libexec/cups/filter/pdftops job user title copies options [file] I don't know what I should insert for "job" (some arbitrary number?) and for "options".
(In reply to Juergen Rose from comment #0) > I can't any more print under linux. In /var/log/cups/error_log I find: > ... > > D [28/Jun/2013:07:39:00 +0200] [Job 189] Spooler: cups > D [28/Jun/2013:07:39:00 +0200] [Job 189] Printer: Canon-direct_irc2620c2cs Hello Canon printer :-) > D [28/Jun/2013:07:39:00 +0200] [Job 189] Job title: CERVOTEC_Preisliste_2013_01.indd - cervotec_preisliste_01.2013.pdf hello pdf file... Today I had a similar problem with my Canon. Printing PDFs from okular was impossible. Printing PDFs from Adobe acroread worked fine. My log was: D [03/Jul/2013:16:11:27 +0200] [Job 2629] File(s) to be printed: D [03/Jul/2013:16:11:27 +0200] [Job 2629] <STDIN> D [03/Jul/2013:16:11:27 +0200] [Job 2629] Ghostscript extra search path ('GS_LIB '): /usr/share/cups/fonts D [03/Jul/2013:16:11:27 +0200] [Job 2629] Printing system options: D [03/Jul/2013:16:11:27 +0200] [Job 2629] Pondering option '<D8><CB>' D [03/Jul/2013:16:11:27 +0200] [Job 2629] Unknown boolean option "<D8><CB>". D [03/Jul/2013:16:11:27 +0200] [Job 2629] Pondering option 'uuid=9f6bfdb1-b340-324c-4994-a48b5bd3e6af' D [03/Jul/2013:16:11:27 +0200] [Job 2629] Unknown option uuid=9f6bfdb1-b340-324c-4994-a48b5bd3e6af. D [03/Jul/2013:16:11:27 +0200] [Job 2629] Pondering option 'job-originating-host-name=localhost' D [03/Jul/2013:16:11:27 +0200] [Job 2629] Unknown option job-originating-host-name=localhost. D [03/Jul/2013:16:11:27 +0200] [Job 2629] Pondering option 'time-at-creation=1372860687' D [03/Jul/2013:16:11:27 +0200] [Job 2629] Unknown option time-at-creation=1372860687. D [03/Jul/2013:16:11:27 +0200] [Job 2629] Pondering option 'time-at-processing=1372860687' D [03/Jul/2013:16:11:27 +0200] [Job 2629] Unknown option time-at-processing=1372860687. D [03/Jul/2013:16:11:27 +0200] [Job 2629] Options from the PPD file: D [03/Jul/2013:16:11:27 +0200] [Job 2629] Pondering option 'Duplex=None' D [03/Jul/2013:16:11:27 +0200] [Job 2629] Pondering option 'PageSize=A4' D [03/Jul/2013:16:11:27 +0200] [Job 2629] ================================================ D [03/Jul/2013:16:11:27 +0200] [Job 2629] File: <STDIN> D [03/Jul/2013:16:11:27 +0200] [Job 2629] ================================================ D [03/Jul/2013:16:11:27 +0200] [Job 2629] /usr/libexec/cups/filter/pstopdf: eval: line 102: unexpected EOF while looking for matching ``' D [03/Jul/2013:16:11:27 +0200] [Job 2629] PID 13557 (/usr/libexec/cups/filter/pstopdf) stopped with status 2. E [03/Jul/2013:16:11:27 +0200] [Job 2629] loadFile failed: temp file: not a PDF file And line 102 of /usr/libexec/cups/filter/pstopdf is maybe the problem: eval "$(printf "%s" "$5" | sed -nre 's/.*(^|\s)(PageSize|PageRegion)=(\S+).*/pagesize="${pagesize:-\3}"/p')" However, I cannot find the error in line 102. Additionally, I don't understand the default pdf-filtering process (PDF->PS->PDF->PS). My current solution is (=deactivate pstopdf processing): I change the file /usr/share/cups/mime/cupsfilters.convs 1.) Comment out line 45 to #application/postscript application/pdf 22 pstopdf 2.) added this after line 45: application/postscript application/vnd.cups-postscript 66 pstops Restart cupsd! Now, I can print my PDFs to my printers again. Hope this helps, Martin
please try cups-filters-1.0.35, the filter chains were improved there
Tried cups-filters-1.0.35, same error: /usr/libexec/cups/filter/pstopdf: eval: line 102: unexpected EOF while looking for matching ``'
Do you still have this problem with current versions of cups / cups-filters?
The printer works now with net-print/cups-filters-1.5.0 and net-print/cups-2.1.4.
(In reply to Martin Atenreit from comment #5) > The printer works now with net-print/cups-filters-1.5.0 and > net-print/cups-2.1.4. Thanks.