On Sun 10 Dec 2017 at 15:04:12 +0530, P V Mathew wrote: > thanks. > > On 2017-12-10 01:34, Brian Potkin wrote: > > tags 883765 unreproducible > > thanks. > > > > > > On Sat 09 Dec 2017 at 20:06:28 +0530, P V Mathew wrote: > > > > > Sorry for the delay. > > > Unfortunately had to downgrade my desktop to Debian stretch. That is okay > > > now. > > At least you are printing now. > Yes, from stretch.
We will try to improve on that. > > > The same errors occur on laptop(Debian Buster) also. Hence, will send the > > > details. > > > Tried lp -d PDF a.ps. The subject error is printed again. > > I am unable to reproduce this behaviour with printer-driver-cups-pdf. > > > > > The error_log remains empty. > > Or this. Please try (as root) > > > > cupsfilter -p /etc/cups/PDF.ppd -m printer/foo -e /etc/services > 2>log > > > out.ps > log attached > > > > Post log here. > > > > > The access_log remains empty. > > > The cups-pdf_log remains empty. > > > cupsd.conf is attached. > > Your cupsd.conf worked for me. > > > > > also output of dpkg --get-selections |grep cups is attached. > > Seems ok. > > > > Do you have apparmor running? > Installed but not running. No problem there, then. Part of your log has DEBUG: envp[1]="CONTENT_TYPE=text/plain" CUPS has identified the job as being a text file. All the filters complete successfully and the output is a PostScript file. All is well with the cupsfilters command - but now I am mystified. cupsfilter does the same as CUPS except the final file is not sent to a printer. 'lp -d <queue name> filename.ps' gives Unsupported document-format "application/octet-stream" and this is an indication of CUPS being unable to MIME type the submitted file. But it has MIME typed it with cupsfilter! I can reproduce your observation of the error message by moving mime.types out of /usr/share/cups/mime, but then cupsfilter fails to run to completion. I cannot reproduce the empty error_log you get; mine records the error. That's using my cupsd.conf. I take a further look at the issue later today. Meanwhile you could check that the files in /usr/share/cups/mime are what is in the cups-core-drivers and cups-daemon packages. Cheers, Brian.