Bug#1013437: cups: Nothing prints from driverless IPP queues unless added via lpadmin
On Fri 24 Jun 2022, at 18:55, Brian Potkin <claremont102@gmail.com> wrote:
> tags 1013437 moreinfo
> thanks
>
>
>
> On Thu 23 Jun 2022 at 17:00:31 +0100, Gareth Evans wrote:
>
>> Package: cups
>> Version: 2.3.3op2-3+deb11u2
>> Severity: normal
>> X-Debbugs-Cc: donotspam@fastmail.fm
>>
>> Dear Maintainer,
>>
>> *** Reporter, please consider answering these questions, where appropriate ***
>>
>> * What led up to the situation?
>>
>> Attempting to print to driverless printer queue for airprint printer.
>>
>> * What exactly did you do (or not do) that was effective (or
>> ineffective)?
>>
>> Brother MFC-L2740DW with print/fax/scan/copy abilities has stopped printing
>> from queues not added with lpadmin.
>>
>> Autodetected queues, as well as those added via cups web interface or system-
>> config-printer, do not produce output.
>>
>> This worked until recently, though I don't print often so don't know when it
>> changed.
>>
>> Printing only works if a queue is added by using the lpadmin command:
>>
>> $ sudo lpadmin -p MFC-L2740DW -v
>> ipp://Brother%20MFC-L2740DW%20series._ipp._tcp.local/ -E -m everywhere
>>
>> Autodetected printer queues are not created if a maually-added printer is
>> already set up.
>>
>> * What was the outcome of this action?
>>
>> No physical output from printer.
>
> Thank you for your report, Gareth.
>
> Set up
>
> lpadmin -p testq -v
> "ipp://Brother%20MFC-L2740DW%20series._ipp._tcp.local/" -E -m
> driverless:"ipp://Brother%20MFC-L2740DW%20series._ipp._tcp.local/"
$ sudo lpadmin -p testq -v "ipp://Brother%20MFC-L2740DW%20series._ipp._tcp.local/" -E -m driverless:"ipp://Brother%20MFC-L2740DW%20series._ipp._tcp.local/"
lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
>
> Print:
>
> lp -d testq /etc/nsswitch.conf
>
> The result?
$ lp -d testq /etc/nsswitch.conf
request id is testq-8 (1 file(s))
Printer lights up and looks like business, but nothing prints.
Job shows as "completed" in system-config-printer queue monitor, job attributes include
job-state-reasons: processing-to-stop-print
$ lpstat -t
scheduler is running
system default destination: MFC-L2740DW
device for MFC-L2740DW: ipp://Brother%20MFC-L2740DW%20series._ipp._tcp.local/
device for testq: ipp://Brother%20MFC-L2740DW%20series._ipp._tcp.local
MFC-L2740DW accepting requests since Sun 19 Jun 2022 14:55:14 BST
testq accepting requests since Fri 24 Jun 2022 22:16:04 BST
printer MFC-L2740DW is idle. enabled since Sun 19 Jun 2022 14:55:14 BST
printer testq is idle. enabled since Fri 24 Jun 2022 22:16:04 BST
Thanks
Gareth
>
> Regards,
>
> Brian.
Reply to: