apple / cups

Apple CUPS Sources
https://www.cups.org
Apache License 2.0
1.85k stars 452 forks source link

CUPS Printers not being recognised correctly on client machines #6136

Open FosterSM opened 9 months ago

FosterSM commented 9 months ago

Version cups 2.4.6.

I have a firewall system (moira) that hosts a cups server. The cups server is configured with 3 printers. 1 HP5550 on a Windows 10 machine on my internal network. 2 HP7760 a USB printer on the firewall machine (moira). 3 HP6020e a wifi printer accessed via my internal network. There are two problems:

1) The three printers print fine from applications run on the firewall (moira). On client machines the printers are shown to exist but the names are wrong. Also they report as "Getting Printer Information Failed" when attempting to print on them.

2) All the machines report a phantom printer which appears to be a direct connection to the wifi printer: HP_ENVY_6000_Series_726F10 All machine report it as "Off line".

In addition to the Cups software the firewall machine has hplip-3.23.5 installed for printer and scanner access.

So my questions are how do I get the client systems to use the correct access to the print services on moira and how do I get rid of the phantom printer.

Thanks

jschwender commented 5 months ago

The client utilizes the server that is referenced in /etc/cups/client.conf file. Secondly the server must have a policy setup that allows to print from another host, this is done in /etc/cups/cupsd.conf. The third thing is that your firewall must allow access to the local running ports of cups, cups-browsed and avahi-daemon. Look at your firewall log, it should tel you if something gets blocked.