[cups] Cups shared printers not showing in Windows 10 or 11

Douglas Kosovic doug at uq.edu.au
Tue Nov 7 17:52:35 PST 2023


Hi Todd,

Win10 1809 includes the IPP inbox class driver which added support for Mopria certified network printers (and with Win10 21H2 also over USB) and it discovers the network printer over mDNS (aka Bonjour).

Try 'avahi-browse --all -r' and see if the missing HLL2300D print queues is being advertised over mDNS. With the version of CUPS you are using, you should see a mopria-certified attribute in the mDNS advertisement.

If it can't find the print queue, you can manually add a print queue that use the IPP inbox class driver by running the following from the command line:

rundll32 printui.dll,PrintUIEntry /ip

then press the next button and enter something like the following for the IPP address:

   ipp://xxx.xxx.xxx.xxx/printers/HLL2300D

Or from an administrator poweshell command-line issue:

  Add-Printer -IppURL ipp://xxx.xxx.xxx.xxx/printers/HLL2300D



Cheers,
Doug
-----Original Message-----
From: Todd And Margo Chester <toddandmargo at gmail.com> 
Sent: Wednesday, November 8, 2023 9:22 AM
To: The CUPS user Discussion list <cups at cups.org>
Subject: [cups] Cups shared printers not showing in Windows 10 or 11

Hi All,

Fedora 38
cups-2.4.7-1.fc38.x86_64
cups-lpd-2.4.7-1.fc38.x86_64

My old printer broke, so I had to replace it.

I removed the old printer from cups and added the new printer.  I set the new printer to network share (and indeed does share over LPD).

/etc/printcap:
# This file was automatically generated by cupsd(8) from the # /etc/cups/printers.conf file.  All changes to this file # will be lost.
HLL2300D|HLL2300D:rm=server.acme.local:rp=HLL2300D:
Cups-PDF|Cups-PDF:rm=server.acme.local:rp=Cups-PDF:

"Cups-PDF" shows in the Windows 10 "add printer" dialog, but my new HLL2300D does not.

I have cups-lpd installed, so I just did a manual create an lpr port on Windows 10 and my new printer works fine from Windows 10. If it means anything, all my Samba shared do show.

But, why can Windows 10's "Add Printer" dialog not find it?

The HLL2300D in  /etc/cups/printers.conf

<DefaultPrinter HLL2300D>
PrinterId 15
UUID urn:uuid:19a617e6-961d-36e7-6618-e6d37a74bd43
Info HLL2300D
Location Rent-A-Nerd
MakeModel Brother HL-L2300D for CUPS
DeviceURI usb://Brother/HL-L2300D%20series?serial=U63878H3N412319
State Stopped
StateMessage Unplugged or turned off
StateTime 1698992578
ConfigTime 1698485181
Reason paused
Type 8425492
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</DefaultPrinter>


Perplexed,
-T



More information about the cups mailing list