Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
Hi Brian, thank you very much for your assistance. Rudolf
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
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 > 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 CUPS-PDF Printer (w/ options) > lsb/usr/cupsfilters/Generic-PDF_Printer-PDF.ppd Generic PDF Printer > lsb/usr/cupsfilters/HP-Color_LaserJet_CM3530_MFP-PDF.ppd HP Color > LaserJet CM3530 MFP PDF > lsb/usr/cupsfilters/pxlcolor.ppd HP Color LaserJet Series PCL 6 CUPS > lsb/usr/cupsfilters/pxlmono.ppd HP LaserJet Series PCL 6 CUPS > lsb/usr/cupsfilters/Ricoh-PDF_Printer-PDF.ppd Ricoh PDF Printer Rudolf, we have the cause of your issue now. Thank you very much for your willingness to test and for all your patience. You now have a repaired system. This is CUPS issue #3185 https://github.com/apple/cups/issues/3185 making a reappearance. jessie doen't have it; stretch does. I'll not be disappointed if someone pushes it upstream before I do. Cheers, Brian.
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
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 CUPS-PDF Printer (w/ options) lsb/usr/cupsfilters/Generic-PDF_Printer-PDF.ppd Generic PDF Printer lsb/usr/cupsfilters/HP-Color_LaserJet_CM3530_MFP-PDF.ppd HP Color LaserJet CM3530 MFP PDF lsb/usr/cupsfilters/pxlcolor.ppd HP Color LaserJet Series PCL 6 CUPS lsb/usr/cupsfilters/pxlmono.ppd HP LaserJet Series PCL 6 CUPS lsb/usr/cupsfilters/Ricoh-PDF_Printer-PDF.ppd Ricoh PDF Printer
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
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 > > 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 12:22 custom > -rwxr-xr-x 1 root root10134 Apr 24 2015 MFC7360N.ppd > lrwxrwxrwx 1 root root 29 Feb 23 2016 samsung -> > /usr/share/cups/model/samsung > > Years ago, I downloaded a linux driver for my Samsung CLP 315 printer > directly from Samsung, for I had not found it in Debian. This is my main > printer. Delete the symlink. Or move it to somewhere else. How does lpinfo -m | grep ^lsb go now? Regards, Brian.
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
> 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 12:22 custom -rwxr-xr-x 1 root root10134 Apr 24 2015 MFC7360N.ppd lrwxrwxrwx 1 root root 29 Feb 23 2016 samsung -> /usr/share/cups/model/samsung Years ago, I downloaded a linux driver for my Samsung CLP 315 printer directly from Samsung, for I had not found it in Debian. This is my main printer.
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
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
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. cups-driverd looks in /usr/share/ppd/ for PPDs but does not look in its sub-directories: brian@desktop:~$ grep Loading error_log.txt D [08/Jan/2018:22:30:53 +0100] [cups-driverd] Loading \"/usr/share/cups/model\"... D [08/Jan/2018:22:30:53 +0100] [cups-driverd] Loading \"/usr/share/cups/model/samsung\"... D [08/Jan/2018:22:30:53 +0100] [cups-driverd] Loading \"/usr/share/cups/model/samsung/cms\"... D [08/Jan/2018:22:30:53 +0100] [cups-driverd] Loading \"/usr/share/cups/drv\"... D [08/Jan/2018:22:30:53 +0100] [cups-driverd] Loading \"/usr/share/ppd\"... "E" signifies an error. Because of it cups-driverd skips the remaining directories such as /usr/share/ppd/cups-pdf: D [08/Jan/2018:22:30:53 +0100] [cups-driverd] Loading \"/usr/share/ppd\"... E [08/Jan/2018:22:30:53 +0100] [cups-driverd] Skipping \"/usr/share/ppd/samsung\": loop detected! D [08/Jan/2018:22:30:53 +0100] [cups-driverd] ChangedPPD=0 I [08/Jan/2018:22:30:53 +0100] [cups-driverd] No new or changed PPDs... I [08/Jan/2018:22:30:53 +0100] [cups-driverd] No new or changed PPDs... Post the output of 'ls -l /usr/share/ppd' and say from where you got the package containing the samsung files. Cheers, Brian.
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
the result is a bit lengthy, you can download it from http://i-r-p.de/tmp/error_log.txt
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
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 [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 [08/Jan/2018:16:43:34 +0100] Expiring subscriptions... There should be references to "CUPS-Get-PPDs" and "cups-driverd". I suppose you could try cupsctl LogLevel=debug2 and see if there is any difference. Cheers, Brian.
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
#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 [08/Jan/2018:16:41:28 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:29 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:30 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:31 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:32 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:33 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:34 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:35 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:36 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:37 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:38 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:39 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:40 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:41 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:42 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:43 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:44 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:45 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:46 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:47 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:48 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:49 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:50 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:51 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:52 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:53 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:54 +0100] Expiring subscriptions... D [08/Jan/2018:16:41:54 +0100] Report: clients=2 D [08/Jan/2018:16:41:54 +0100] Report: jobs=499 D [08/Jan/2018:16:41:54 +0100] Report: jobs-active=0 D [08/Jan/2018:16:41:54 +0100] Report: printers=3 D [08/Jan/2018:16:41:54 +0100] Report: stringpool-string-count=5341 D [08/Jan/2018:16:41:54 +0100] Report: stringpool-alloc-bytes=14520 D [08/Jan/2018:16:41:54 +0100] Report: stringpool-total-bytes=99544 I [08/Jan/2018:16:41:55 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:56 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:57 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:58 +0100] Expiring subscriptions... I [08/Jan/2018:16:41:59 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:00 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:01 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:02 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:03 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:04 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:05 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:06 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:07 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:08 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:09 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:10 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:11 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:12 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:13 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:14 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:15 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:16 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:17 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:18 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:19 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:20 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:21 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:22 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:23 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:24 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:25 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:26 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:27 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:28 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:29 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:30 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:31 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:32 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:33 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:34 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:35 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:36 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:37 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:38 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:39 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:40 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:41 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:42 +0100] Expiring subscriptions... I [08/Jan/2018:16:42:43
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
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 LogLevel=debug > and this finally gives an error_log: > > E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information > file \"/usr/share/cups/model/samsung/cms/CLP-310sc.cts\"! > E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information > file \"/usr/share/cups/model/samsung/cms/CLP-300cms\"! [Snip] This is not the required error_log. Please retry after setting the LogLevel to the correct value. Also, previously you got > lpinfo: Ungültiger Dateideskriptor (invalid file descriptor) This was because cupsd was not running. You must restart it after using cupsctl (bug #861470). Cheers, Brian.
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
> 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 \"/usr/share/cups/model/samsung/cms/CLP-310sc.cts\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-300cms\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLX-3160cms2\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLX-216x-600x600cms\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-600-600x600cms\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLX-216xcms2\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLX-3160cms\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-610cms2\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-500cms\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-610-1200x600cms\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-500cms2\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-620sc.cts\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-600-1200x1200cms\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLX-6220sc.cts\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-510cms2\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-600-1200x1200cms2\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLX-3170sc.cts\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-600cms2\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-300cms2\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-300-1200x1200cms\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-610-1200x1200cms2\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-310-600x600cms2\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-610-600x600cms2\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-600-600x600cms2\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLX-216x-1200x600cms\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-600-1200x600cms2\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-610sc.cts\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLX-3160-600x600cms2\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-510cms\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-300-600x600cms\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLX-3160-1200x1200cms2\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLX-3170cms2\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLX-3160-1200x600cms\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-660sc.cts\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLP-310cms2\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLX-216xcms\"! E [08/Jan/2018:14:31:48 +0100] [cups-driverd] Bad driver information file \"/usr/share/cups/model/samsung/cms/CLX-3160-1200x600cms2\"! E
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
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). Your system appears to be broken in more than one way. Cheers, Brian.
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
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
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 > > > > > > 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. > > #lpinfo -m > returned > lpinfo: Ungültiger Dateideskriptor (invalid file descriptor) > and /var/log/cups/error_log remains empty. > > Date and size of /var/cache/cups/ppds.dat did not change. You've used lpinfo a number of times previously without any problem. Perhaps delete test.ppd, restart cups and try for an error_log again. Cheers, Brian.
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
> 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. #lpinfo -m returned lpinfo: Ungültiger Dateideskriptor (invalid file descriptor) and /var/log/cups/error_log remains empty. Date and size of /var/cache/cups/ppds.dat did not change.
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
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
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, Brian.
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
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? (Check, as root, that the timestamp of /var/cache/cups/ppds.dat has > > changed after using lpinfo). > > #lpinfo -m | less > does not contain any pdf or PDF > and does not change the timestamp of /var/cache/cups/ppds.dat This is what I get: root@desktop3:~# lpinfo -m | grep -E "PDF|pdf" lsb/usr/cupsfilters/Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd Fuji Xerox lsb/usr/cups-pdf/CUPS-PDF_noopt.ppd Generic CUPS-PDF Printer (no options) lsb/usr/cups-pdf/CUPS-PDF_opt.ppd Generic CUPS-PDF Printer (w/ options) lsb/usr/cupsfilters/Generic-PDF_Printer-PDF.ppd Generic PDF Printer lsb/usr/cupsfilters/HP-Color_LaserJet_CM3530_MFP-PDF.ppd HP Color LaserJet CM3530 MFP PDF lsb/usr/cupsfilters/Ricoh-PDF_Printer-PDF.ppd Ricoh PDF Printer I don't know where to go from here. Your CUPS seems to have no knowledge of what is in /usr/share/ppd! Incidently, what did you upgrade from? Jessie? Thanks for the help. Brian.
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
> /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 > changed after using lpinfo). #lpinfo -m | less does not contain any pdf or PDF and does not change the timestamp of /var/cache/cups/ppds.dat
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
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. > I used /usr/share/ppd/cups-pdf/CUPS-PDF_opt.ppd > > The other file there (noopt instead of opt) works as well. /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 changed after using lpinfo). Cheers, Brian.
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
/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
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 /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, > @{HOME}/PDF/* rw, > to > @{HOME}/my_pdf_directory/ rw, > @{HOME}/my_pdf_directory/* rw, Thanks. This could help other users experiencing the same problem as you. > >> The config problem remains unsolved. > > > > Can you reproduce this problem? > > > Yes - every time I delete the cups pdf printer and try to add a new > virtual pdf printer, I can select the printer make (Generic) but in the > next step I cannot select a pdf printer type - I have to select the > appropriate ppd file and I have to know where it is. /usr/sbin/lpinfo -m | grep ^lsb gives me a short list of PPDs. The two CUPS-PDF ones are near the top. With you? Cheers, Brian.
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
>> 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, @{HOME}/PDF/* rw, to @{HOME}/my_pdf_directory/ rw, @{HOME}/my_pdf_directory/* rw, >> The config problem remains unsolved. > > Can you reproduce this problem? > Yes - every time I delete the cups pdf printer and try to add a new virtual pdf printer, I can select the printer make (Generic) but in the next step I cannot select a pdf printer type - I have to select the appropriate ppd file and I have to know where it is.
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
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 updated /etc/apparmor.d/usr.sbin.cupsd > and the pdf printing works. With what did you update it? > The config problem remains unsolved. Can you reproduce this problem? -- Brian.
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
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 unsolved. Rudolf Polzer
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
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, 'stable-updates'), (500, 'unstable'), (500, 'stable') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 4.14.0-2-amd64 (SMP w/4 CPU cores) > Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE= > (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > LSM: AppArmor: enabled > > Versions of packages printer-driver-cups-pdf depends on: > ii cups2.2.6-4 > ii cups-client 2.2.6-4 > ii ghostscript 9.22~dfsg-1 > ii libc6 2.25-6 > ii libcups22.2.6-4 > ii libpaper-utils 1.1.24+nmu5 > > printer-driver-cups-pdf recommends no packages. > > Versions of packages printer-driver-cups-pdf suggests: > pn system-config-printer > > -- no debconf information > > > Bug description: > > The cups pdf printer produces no pdf output file. > > After deleting the pdf printer, the add printer function does not work as > expected: > After selecting "Generic" as printer make, no pdf printer model is selectable. > I instead selected one of the existing ppd files in /usr/share/ppd/cups-pdf > but this did not make the pdf printer work. > > The bug started by my recent update from cups-pdf, where pdf printing did > work, > to printer-driver-cups-pdf. I notice that you're using AppArmor. Please check what the README says about this. Martin-Éric
Bug#886224: printer-driver-cups-pdf: Virtual pdf printer error: no output and config problem
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 Architectures: i386 Kernel: Linux 4.14.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages printer-driver-cups-pdf depends on: ii cups2.2.6-4 ii cups-client 2.2.6-4 ii ghostscript 9.22~dfsg-1 ii libc6 2.25-6 ii libcups22.2.6-4 ii libpaper-utils 1.1.24+nmu5 printer-driver-cups-pdf recommends no packages. Versions of packages printer-driver-cups-pdf suggests: pn system-config-printer -- no debconf information Bug description: The cups pdf printer produces no pdf output file. After deleting the pdf printer, the add printer function does not work as expected: After selecting "Generic" as printer make, no pdf printer model is selectable. I instead selected one of the existing ppd files in /usr/share/ppd/cups-pdf but this did not make the pdf printer work. The bug started by my recent update from cups-pdf, where pdf printing did work, to printer-driver-cups-pdf.