brian_p wrote: ⤴Mon Sep 27, 2021 12:55 pm
Mercuzio wrote: ⤴Mon Sep 27, 2021 12:14 pm
I entered lpadmin -p dcp1610 -v "usb://Brother/DCP-1610W%20series?serial=E74229M4N415924" -E -m lsb/usr/brother/brother-DCP1610W-cups-en.ppd
Then lp -d dcp1610 /etc/nsswitch.conf
but nothing happened.
On the desktop the notifications Printing is running and Printing completed
I see nothing wrong with either of those commands. In particular, the first one is the most basic command for setting up a print queue. Please execute
Code: Select all
sudo cupsfilter -p /etc/cups/ppd/dcp1610.ppd -m printer/foo -e /etc/nsswitch.conf > out.dat 2>log
You can view log with
but, for us to see it , you will have to send its contents here.
cupsfilter: File "/usr/lib/cups/filter/brother_lpdwrapper_DCP1610W" permessi OK
(040755/uid=0/gid=0).
cupsfilter: File "/usr/lib/cups/filter/brother_lpdwrapper_DCP1610W" permessi OK
(040755/uid=0/gid=0).
cupsfilter: File "/usr/lib/cups/filter/commandtops" permessi OK (040755/uid=0/gi
d=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=it_IT.UTF8"
DEBUG: envp[7]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
DEBUG: envp[8]="PPD=/etc/cups/ppd/dcp1610.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 38929) started.
INFO: pdftopdf (PID 38930) started.
INFO: brother_lpdwrapper_DCP1610W (PID 38931) started.
DEBUG: Page = 595x842; 12,12 to 583,830
DEBUG: pdftopdf: Last filter determined by the PPD: brother_lpdwrapper_DCP1610W; FINAL_CONTENT_TYPE: application/vnd.cups-pdf => pdftopdf will not log pages in page_log.
/usr/lib/cups/filter/brother_lpdwrapper_DCP1610W: 103: /opt/brother/Printers/DCP1610W//cupswrapper/brcupsconfig4: not found
//opt/brother/Printers/DCP1610W//lpd/filter_DCP1610W: 60: /opt/brother/Printers/DCP1610W/lpd/rawtobr3: not found
DEBUG: PDF interactive form and annotation flattening done via QPDF
INFO: texttopdf (PID 38929) exited with no errors.
INFO: pdftopdf (PID 38930) exited with no errors.
Error: /ioerror in --showpage--
Operand stack:
(/tmp/gs_7DrIpj) --nostringval-- 1 true
Execution stack:
%interp_exit .runexec2 --nostringval-- showpage --nostringval-- 2 %stopped_push --nostringval-- showpage showpage false 1 %stopped_push 1990 1 3 %oparray_pop 1989 1 3 %oparray_pop 1977 1 3 %oparray_pop showpage 1978 3 3 %oparray_pop showpage showpage 2 1 1 showpage %for_pos_int_continue 1981 3 7 %oparray_pop showpage showpage 1840 2 9 %oparray_pop showpage showpage
Dictionary stack:
--dict:731/1123(ro)(G)-- --dict:1/20(G)-- --dict:80/200(L)-- --dict:80/200(L)-- --dict:135/256(ro)(G)-- --dict:315/325(ro)(G)-- --dict:33/64(L)-- --dict:6/9(L)-- --dict:6/20(L)--
Current allocation mode is local
Last OS error: Broken pipe
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
INFO: brother_lpdwrapper_DCP1610W (PID 38931) exited with no errors.
(END)