google / cloud-print-connector

Google Cloud Print Connector
BSD 3-Clause "New" or "Revised" License
765 stars 185 forks source link

Windows default printer_blacklist should include *redirected* #374

Open dickwatson opened 7 years ago

dickwatson commented 7 years ago

Remote Desktop server sessions can result in temporary creation of queues with names like "HP Deskjet 6940dt (redirected 15)" for RDP desktop client redirected printers. Cloud Print Connector should not be adding these queues automatically. Before I resorted to a printer_whitelist, I was seeing multiple of these GCP queues created every time I RDPed into my server running cloud print connector.

sicklittlemonkey commented 6 years ago

When I added the whitelist feature I also added an issue for a port blacklist, but never got around to implementing it. #264

One reason a port blacklist might be better than a name blacklist in this case is that for Windows in other languages the port naming will be the same, but "redirected" may not be.

Cheers, Nick.