Hello,
Thanks for your answer. The log is attached.
BTW :
Canon_LBP113_LBP913_USB_ could print both the test page and a page taken from
the first pdf file I found,
Canon_LBP113_913_UFRII_LT could not. This is the situation that made me install
libcupsimage2.
So I guess you'll close the bug for good now. Sorry for wasting your time.
Best regards,
Alain
On 24/08/2021 18:39, Brian Potkin wrote:
On Tue 24 Aug 2021 at 16:54:31 +0200, Alain Bertrand wrote:
Hello,
Thanks for your answer. With libcupsimage2 installed, everything works as it
should. Anyway, you'll find the output you wanted below.
lpstat -t
scheduler is running
no system default destination
matériel pour Canon_LBP113_913_UFRII_LT : socket://192.168.8.105
This print queue uses a netork connection. UFRII indicates a non-free
Canon driver is being used with the queue. Problems involving this
driver are not ours and the queue will not be debugged.
matériel pour Canon_LBP113_LBP913 : implicitclass://Canon_LBP113_LBP913/
This looks like another network queue, auto-setup by cups-browsed.
matériel pour Canon_LBP113_LBP913_USB_ :
implicitclass://Canon_LBP113_LBP913_USB_/
This queue uses a USB connection and is also auto-setup by cups-browsed.
Let's take the queue and test, but first
apt purge libcupsimage2
It can easily be re-installed if needed. Now (as root)
cupsfilter -p /etc/cups/Canon_LBP113_LBP913_USB_.ppd -m priner/foo -e
/etc/nsswitch.conf > out.dat 2>log
(Check that I have the correct PPD file name).
Please attach log to your next post here. It may be viewed with 'less'.
Cheers,
Brian.
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=fr_FR.UTF8"
DEBUG: envp[7]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
DEBUG: envp[8]="PPD=/etc/cups/ppd/Canon_LBP113_LBP913_USB_.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-pdf"
INFO: texttopdf (PID 3359) started.
INFO: pdftopdf (PID 3360) started.
DEBUG: Page = 595x842; 14,14 to 581,828
ERROR: pdftopdf: Last filter could not get determined, page logging turned off.
DEBUG: pdftopdf: Last filter determined by the PPD: None; FINAL_CONTENT_TYPE:
application/vnd.cups-pdf => pdftopdf will not log pages in page_log.
INFO: texttopdf (PID 3359) exited with no errors.
DEBUG: PDF interactive form and annotation flattening done via QPDF
INFO: pdftopdf (PID 3360) exited with no errors.