smalot / cups-ipp

CUPS Implementation of IPP - PHP Client API
GNU General Public License v2.0
106 stars 56 forks source link

Remote Connection only showing local printers #19

Open nashsaint opened 4 years ago

nashsaint commented 4 years ago

I am able to connect to a remote server using

$client = new Client("username", "password", ["remote_socket" => "tcp://remote_ip:631"]);

but $printers = $printerManager->getList(); is only showing local printers.

Edit: This is a little confusing. Setting a printer as default will cause to appear in the getList(), but only that printer, nothing else.

sudhakarameex commented 4 years ago

Same issue for myself. Anyone please help.

wblessen commented 2 years ago

@nashsaint Parameter ["remote_socket" => "tcp://remote_ip:631"]) did it for me, now I get the Printers from that Cups Server