On Wed, 4 Mar 2020 15:51:18 +0000 ad44@cityscape.co.uk wrote: Hello ad44@cityscape.co.uk, >Execute (as root): >cupsfilter -p /etc/cups/ppd/XXX.ppd -m printer/foo -e >/etc/nsswitch.conf > out.dat 2>log I'll point out that this is with the 3.19.12 (i.e. things working) version of hplip installed, so may not be useful. cupsfilter: File "/usr/lib/cups/filter/hpcups" permissions OK (040755/uid=0/gid=0). DEBUG: argv[0]="cupsfilter" DEBUG: argv[1]="1" DEBUG: argv[2]="root" DEBUG: argv[3]="nsswitch.conf" DEBUG: argv[4]="1" DEBUG: argv[5]="" DEBUG: argv[6]="/etc/nsswitch.conf" DEBUG: envp[0]="<CFProcessPath>" DEBUG: envp[1]="CONTENT_TYPE=text/plain" 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=/etc/cups/ppd/Officejet_6700.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/vnd.cups-raster" INFO: texttopdf (PID 23941) started. INFO: pdftopdf (PID 23942) started. INFO: gstoraster (PID 23943) started. INFO: hpcups (PID 23944) started. DEBUG: OUTFORMAT="(null)", so output format will be CUPS/PWG Raster STATE: -marker-supply-low-warning DEBUG: pdftopdf: Last filter determined by the PPD: hpcups; FINAL_CONTENT_TYPE: application/vnd.cups-raster => pdftopdf will not log pages in page_log. DEBUG: Page = 595x842; 9,9 to 586,833 INFO: texttopdf (PID 23941) exited with no errors. DEBUG: PDF interactive form and annotation flattening done via QPDF INFO: pdftopdf (PID 23942) exited with no errors. DEBUG: Color Manager: Calibration Mode/Off DEBUG: Calling FindDeviceById(cups-cupsfilter) DEBUG: Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files DEBUG: Failed to get find device cups-cupsfilter DEBUG: Calling FindDeviceById(cups-cupsfilter) DEBUG: Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files DEBUG: Failed to get device cups-cupsfilter INFO: Color Manager: no profiles specified in PPD DEBUG: Color Manager: ICC Profile: None DEBUG: Ghostscript using Any-Part-of-Pixel method to fill paths. DEBUG: Ghostscript command line: gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dShowAcroForm -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=cups -sMediaType=Plain -sOutputType=0 -r600x600 -dMediaPosition=1 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=841 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=17 -dcupsInteger0=26 -scupsPageSizeName=A4 -I/usr/share/cups/fonts -c '<</.HWMargins[9.360000 9.360000 9.359985 9.359985] /Margins[0 0]>>setpagedevice' -f -_ DEBUG: envp[0]="<CFProcessPath>" DEBUG: envp[1]="CONTENT_TYPE=text/plain" 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=/etc/cups/ppd/Officejet_6700.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/vnd.cups-raster" INFO: Start rendering... INFO: Processing page 1... PAGE: 1 1 INFO: Processing page 2... INFO: Rendering completed INFO: gstoraster (PID 23943) exited with no errors. INFO: hpcups (PID 23944) exited with no errors. -- Regards _ / ) "The blindingly obvious is / _)rad never immediately apparent" Shut it up you silly cow Golden Green - Wonder Stuff
Attachment:
pgpddWhz4YRGZ.pgp
Description: OpenPGP digital signature