Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-10 Thread Rudolf Polzer
Hi Brian, thank you very much for your assistance. Rudolf

Processed: Re: Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-10 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > reassign 886224 cups Bug #886224 [printer-driver-cups-pdf] printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem Bug reassigned from package 'printer-driver-cups-pdf' to 'cups'. No longer marked as found in versions

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-10 Thread Brian Potkin
reassign 886224 cups retitle 886224 cups-driverd stops searching for PPDs due to a symlink in /usr/share/ppd/ notfound 886224 cups/1.75-11+deb8u2 found 886224 cups/2.2.1-8 thanks On Wed 10 Jan 2018 at 11:57:29 +0100, Rudolf Polzer wrote: > I deleted the symlink. Now, > # lpinfo -m | grep ^lsb

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-10 Thread Rudolf Polzer
I deleted the symlink. Now, # lpinfo -m | grep ^lsb returns lsb/usr/cupsfilters/Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd Fuji Xerox lsb/usr/MFC7360N.ppd Brother MFC7360N for CUPS lsb/usr/cups-pdf/CUPS-PDF_noopt.ppd Generic CUPS-PDF Printer (no options) lsb/usr/cups-pdf/CUPS-PDF_opt.ppd Generic

Processed: Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-10 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > tags 886224 - moreinfo Bug #886224 [printer-driver-cups-pdf] printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem Removed tag(s) moreinfo. > thanks Stopping processing here. Please contact me if you need assistance.

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-10 Thread Brian Potkin
tags 886224 - moreinfo thanks Sorry for the delay. I missed seeing your mail. On Tue 09 Jan 2018 at 10:49:43 +0100, Rudolf Polzer wrote: > > Post the output of 'ls -l /usr/share/ppd' and say from where you got the > > package containing the samsung files. > > ls -l /usr/share/ppd returns > >

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-09 Thread Rudolf Polzer
> Post the output of 'ls -l /usr/share/ppd' and say from where you got the > package containing the samsung files. ls -l /usr/share/ppd returns drwxr-xr-x 2 root root 4096 Jan 2 13:13 cupsfilters drwxr-xr-x 2 root root 4096 Jan 3 10:26 cups-pdf drwxrwsr-t 2 root lpadmin 4096 Jan 8

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-09 Thread Brian Potkin
On Mon 08 Jan 2018 at 22:34:22 +0100, Rudolf Polzer wrote: > the result is a bit lengthy, you can download it from > http://i-r-p.de/tmp/error_log.txt Attached. -- Brian. error_log.txt.gz Description: application/gzip

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-09 Thread Brian Potkin
On Mon 08 Jan 2018 at 22:34:22 +0100, Rudolf Polzer wrote: > the result is a bit lengthy, you can download it from > http://i-r-p.de/tmp/error_log.txt Thank you. I have downloaded the file, compressed it and attached it to this mail to ensure it is available in the BTS for the future.

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-08 Thread Brian Potkin
On Mon 08 Jan 2018 at 16:46:22 +0100, Rudolf Polzer wrote: > #cupsctl LogLevel=debug > #systemctl restart cups > #>/var/log/cups/error_log > #lpinfo -m This is the correct sequence of commands but the log does not contain what was expected. > then /var/log/cups/error_log contains > > I

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-08 Thread Rudolf Polzer
#cupsctl LogLevel=debug #systemctl restart cups #>/var/log/cups/error_log #lpinfo -m then /var/log/cups/error_log contains I [08/Jan/2018:16:41:25 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:26 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:27 +0100] Expiring subscriptions... I

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-08 Thread Brian Potkin
On Mon 08 Jan 2018 at 14:40:25 +0100, Rudolf Polzer wrote: > > The cupsctl command should show "_debug_logging=1". > > Before, I used > cupsctl --debug-logging > which returned no errors - now I retried with > cupsctl LogLevel=debug1 "debug1" is not an option for LogLevel. Use cupsctl

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-08 Thread Rudolf Polzer
> The cupsctl command should show "_debug_logging=1". Before, I used cupsctl --debug-logging which returned no errors - now I retried with cupsctl LogLevel=debug1 and this finally gives an error_log: E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-08 Thread Brian Potkin
On Mon 08 Jan 2018 at 12:27:53 +0100, Rudolf Polzer wrote: > same as before, /var/log/cups/error_log is empty The cupsctl command should show "_debug_logging=1". lpinfo runs /usr/lib/cups/daemon/cups-driverd. I was hoping to find out whether or not it looks in /usr/share/ppd/ (which it should).

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-08 Thread Rudolf Polzer
same as before, /var/log/cups/error_log is empty

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-08 Thread Brian Potkin
On Mon 08 Jan 2018 at 09:29:20 +0100, Rudolf Polzer wrote: > > 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 > > > > > >

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-08 Thread Rudolf Polzer
> 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 > >

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-07 Thread Jonas Smedegaard
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

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-07 Thread Brian Potkin
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

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-07 Thread Rudolf Polzer
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/

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-06 Thread Brian Potkin
On Sat 06 Jan 2018 at 20:25:59 +0100, Rudolf Polzer wrote: > > /usr/share/ppd/ should contain at least cups-pdf, cupsfilters and custom > > directories. The cupsfilters directory should have six files in it. > > This is correct. And 'lpinfo -m' shows none of the cupsfilters files? Cheers,

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-06 Thread Brian Potkin
On Sat 06 Jan 2018 at 20:22:50 +0100, Rudolf Polzer wrote: > > /usr/share/ppd/ should contain at least cups-pdf, cupsfilters and custom > > directories. The cupsfilters directory should have six files in it. If > > you do 'lpinfo -m | less' and search for any of these files, do you find > > them?

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-06 Thread Rudolf Polzer
> /usr/share/ppd/ should contain at least cups-pdf, cupsfilters and custom > directories. The cupsfilters directory should have six files in it. If > you do 'lpinfo -m | less' and search for any of these files, do you find > them? (Check, as root, that the timestamp of /var/cache/cups/ppds.dat has

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-06 Thread Brian Potkin
On Sat 06 Jan 2018 at 17:20:17 +0100, Rudolf Polzer wrote: > /usr/sbin/lpinfo -m | grep ^lsb > returns nothing here. The CUPS web interface basically uses lpinfo to get lists of PPDs for the printer models. Which is why there was nothing there to be selected for the PDF printer. Very strange. >

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-06 Thread Rudolf Polzer
/usr/sbin/lpinfo -m | grep ^lsb returns nothing here. I used /usr/share/ppd/cups-pdf/CUPS-PDF_opt.ppd The other file there (noopt instead of opt) works as well.

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-06 Thread Brian Potkin
Rudolf - don't forget to reply to the bug. I have sent your last mail there. On Sat 06 Jan 2018 at 13:05:12 +0100, Rudolf Polzer wrote: > >> So I updated /etc/apparmor.d/usr.sbin.cupsd > >> and the pdf printing works. > > > > With what did you update it? > > > In

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-06 Thread Rudolf Polzer
>> So I updated /etc/apparmor.d/usr.sbin.cupsd >> and the pdf printing works. > > With what did you update it? > In /etc/apparmor.d/usr.sbin.cupsd, below the line /usr/lib/cups/backend/cups-pdf { I added the line capability mknod, and I changed two lines from @{HOME}/PDF/ rw,

Processed: Re: Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-05 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > severity 886224 normal Bug #886224 [printer-driver-cups-pdf] printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem Severity set to 'normal' from 'grave' > thanks Stopping processing here. Please contact me if you need

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-05 Thread Brian Potkin
severity 886224 normal thanks On Wed 03 Jan 2018 at 17:18:25 +0100, Rudolf Polzer wrote: > You are right - the cups pdf printer is now working. > > I changed the pdf output directory a long time ago before using > Apparmor, but now Apparmor needs to allow rw access to this directory. > > So I

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-03 Thread Rudolf Polzer
You are right - the cups pdf printer is now working. I changed the pdf output directory a long time ago before using Apparmor, but now Apparmor needs to allow rw access to this directory. So I updated /etc/apparmor.d/usr.sbin.cupsd and the pdf printing works. The config problem remains

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-03 Thread Martin-Éric Racine
2018-01-03 11:51 GMT+02:00 Rudolf Polzer : > Package: printer-driver-cups-pdf > Version: 3.0.1-4 > Severity: grave > Justification: renders package unusable > > > > -- System Information: > Debian Release: buster/sid > APT prefers stable-updates > APT policy: (500,

Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem

2018-01-03 Thread Rudolf Polzer
Package: printer-driver-cups-pdf Version: 3.0.1-4 Severity: grave Justification: renders package unusable -- System Information: Debian Release: buster/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Foreign