Bug#886335: addendum
reassign 886335 cups-filters found 886335 1.18.0-3 retitle 886335 gstoraster fails with a PJL encapsulated PS document tags 886335 moreinfo thanks On Fri 05 Jan 2018 at 17:28:09 +, Brian Potkin wrote: > On Fri 05 Jan 2018 at 01:10:52 +0100, SZABO Zsolt wrote: > > > I think, that the bug is related to the utility gstoraster as described here > > (it does not recognise PJL encapsulated, PostScript document text > > starting with "\033%-12345X@PJL JOB"): > > > > https://www.linuxquestions.org/questions/slackware-14/slackware-cups-can%27t-detect-file-type-4175605111/ > > This is a possibility. It would still be useful to have the asked-for > error_log though. Also view the file sent to CUPS with less and let us > have its first ten lines. test.ps is PJL encapsulated PostScript document text. root@desktop3:~# head -n10 test.ps 12345X@PJL @PJL JOB NAME = "hosts" DISPLAY = "567 root hosts" @PJL SET USERNAME = "root" @PJL SET ECONOMODE=OFF @PJL ENTER LANGUAGE=POSTSCRIPT %!PS-Adobe-3.0 %%HiResBoundingBox: 0 0 595.00 842.00 %%Creator: GPL Ghostscript 922 (ps2write) %%LanguageLevel: 2 %%CreationDate: D:20180105155007Z00'00' root@desktop3:~# cupsfilter test.ps > test.pdf DEBUG: argv[0]="cupsfilter" DEBUG: argv[1]="1" DEBUG: argv[2]="root" DEBUG: argv[3]="test.ps" DEBUG: argv[4]="1" DEBUG: argv[5]="" DEBUG: argv[6]="test.ps" DEBUG: envp[0]="" DEBUG: envp[1]="CONTENT_TYPE=application/postscript" DEBUG: envp[2]="CUPS_DATADIR=/usr/share/cups" DEBUG: envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" DEBUG: envp[4]="CUPS_SERVERBIN=/usr/lib/cups" DEBUG: envp[5]="CUPS_SERVERROOT=/etc/cups" DEBUG: envp[6]="LANG=en_GB.UTF8" DEBUG: envp[7]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" DEBUG: envp[8]="PPD=/usr/share/cups/model/laserjet.ppd" DEBUG: envp[9]="PRINTER_INFO=cupsfilter" DEBUG: envp[10]="PRINTER_LOCATION=Unknown" DEBUG: envp[11]="PRINTER=cupsfilter" DEBUG: envp[12]="RIP_MAX_CACHE=128m" DEBUG: envp[13]="USER=root" DEBUG: envp[14]="CHARSET=utf-8" DEBUG: envp[15]="FINAL_CONTENT_TYPE=application/pdf" INFO: gstopdf (PID 21323) started. DEBUG: gstopdf argv[6] = 1 root test.ps 1 test.ps DEBUG: PPD: /usr/share/cups/model/laserjet.ppd DEBUG: OUTFORMAT="PDF", so output format will be PDF ERROR: Failed to open PPD: /usr/share/cups/model/laserjet.ppd ERROR: Can't detect file type ERROR: gstopdf (PID 21323) stopped with status 1 -- Brian.
Processed: Re: Bug#886335: addendum
Processing commands for cont...@bugs.debian.org: > reassign 886335 cups-filters Bug #886335 [cups] cups: cups printer does not print postscript jobs from windows client after upgrade to stretch Bug reassigned from package 'cups' to 'cups-filters'. No longer marked as found in versions cups/2.2.1-8. Ignoring request to alter fixed versions of bug #886335 to the same values previously set > found 886335 1.18.0-3 Bug #886335 [cups-filters] cups: cups printer does not print postscript jobs from windows client after upgrade to stretch Marked as found in versions cups-filters/1.18.0-3. > retitle 886335 gstoraster fails with a PJL encapsulated PS document Bug #886335 [cups-filters] cups: cups printer does not print postscript jobs from windows client after upgrade to stretch Changed Bug title to 'gstoraster fails with a PJL encapsulated PS document' from 'cups: cups printer does not print postscript jobs from windows client after upgrade to stretch'. > tags 886335 moreinfo Bug #886335 [cups-filters] gstoraster fails with a PJL encapsulated PS document Added tag(s) moreinfo. > thanks Stopping processing here. Please contact me if you need assistance. -- 886335: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886335 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
Hi Brian and Rudolf, Quoting Brian Potkin (2018-01-07 15:16:46) > On Sun 07 Jan 2018 at 14:13:57 +0100, Rudolf Polzer wrote: > > This is my /etc/apt/sources.list, I am updating three or four times a year: > > > > deb http://ftp.uni-erlangen.de/debian/ stretch main > > deb-src http://ftp.uni-erlangen.de/debian/ stretch main > > deb http://ftp.uni-erlangen.de/debian/ stable main > > deb-src http://ftp.uni-erlangen.de/debian/ stable main > > stretch and stable are the the same distribution at present. The second > two lines are duplicates of the first two. (In year or so, stable will > be buster). [...] > > # I need this line for scilab: > > deb http://ftp.uni-erlangen.de/debian/ sid main > > I've never mixed stable and unstable sources, so do not know what the > consequences could be. Someone? A system consisting purely of packages from a single(!) Debian suite is what we call a Debian system. A system involving packages not only from a a single Debian suite, but including just a single package from elsewhere - whether or not a Debian origin! - is a mess. Possibly a nice and useful mess, but a mess. We welcome our users of Debian to report issues with using our work - arguably also when using single package in a mess. Messy systems are far more difficult to debug however, and package maintainers may want to prioritize issues reproducible on proper Debian systems (and some outright dismiss issues on messy systems). Therefore make sure to always mention immediately in bugreports when dealing with a messy system, to help minimize time wasted on making false assumption e.g. about dependency chains and reproducability. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: signature
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
On Sun 07 Jan 2018 at 14:13:57 +0100, Rudolf Polzer wrote: > Here, > #lpinfo -m | grep -E "PDF|pdf" > returns nothing. > #lpinfo -m > returns none of the files from /usr/share/ppd/cupsfilters 1. Please do cp /usr/share/ppd/cups-pdf/CUPS-PDF_noopt.ppd /usr/share/ppd/custom/test.ppd (test.ppd can be deleted later on). 2. Activate debug logging as described at https://wiki.debian.org/DissectingandDebuggingtheCUPSPrintingSystem#The_CUPS_Error_Log Empty the error_log and (as root) do 'lpinfo -m'. Attach the log to your next mail sent here. (You might have to restart cups after using cupsctl. 'systemctl restart cups'). 3. Check whether ppds.dat has changed. > This is my /etc/apt/sources.list, I am updating three or four times a year: > > deb http://ftp.uni-erlangen.de/debian/ stretch main > deb-src http://ftp.uni-erlangen.de/debian/ stretch main > deb http://ftp.uni-erlangen.de/debian/ stable main > deb-src http://ftp.uni-erlangen.de/debian/ stable main stretch and stable are the the same distribution at present. The second two lines are duplicates of the first two. (In year or so, stable will be buster). > deb http://security.debian.org/ stable/updates main > deb-src http://security.debian.org/ stable/updates main > deb http://security.debian.org/ stretch/updates main > deb-src http://security.debian.org/ stretch/updates main As above. > deb http://ftp.uni-erlangen.de/debian/ stretch-updates main > deb-src http://ftp.uni-erlangen.de/debian/ stretch-updates main > deb http://dl.bintray.com/tvheadend/ubuntu stable main Ok. > # I need this line for scilab: > deb http://ftp.uni-erlangen.de/debian/ sid main I've never mixed stable and unstable sources, so do not know what the consequences could be. Someone? Cheers, Brian.
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
Here, #lpinfo -m | grep -E "PDF|pdf" returns nothing. #lpinfo -m returns none of the files from /usr/share/ppd/cupsfilters This is my /etc/apt/sources.list, I am updating three or four times a year: deb http://ftp.uni-erlangen.de/debian/ stretch main deb-src http://ftp.uni-erlangen.de/debian/ stretch main deb http://ftp.uni-erlangen.de/debian/ stable main deb-src http://ftp.uni-erlangen.de/debian/ stable main deb http://security.debian.org/ stable/updates main deb-src http://security.debian.org/ stable/updates main deb http://security.debian.org/ stretch/updates main deb-src http://security.debian.org/ stretch/updates main deb http://ftp.uni-erlangen.de/debian/ stretch-updates main deb-src http://ftp.uni-erlangen.de/debian/ stretch-updates main deb http://dl.bintray.com/tvheadend/ubuntu stable main # I need this line for scilab: deb http://ftp.uni-erlangen.de/debian/ sid main