Closed bigon closed 4 years ago
This is happening because of the print()
in the probe_queue()
method https://github.com/zdohnal/system-config-printer/blob/master/probe_printer.py#L133 and https://github.com/zdohnal/system-config-printer/blob/master/probe_printer.py#L138
Hi Laurent! Thank you for reporting the issue! It seems these print() calls was meant as some kind of debug output... the commit which added it is from 2007, so that is only my guess... Would you mind testing the fix? I'll change those print() to debugprint(), it should not make any harm...
I'll leave the issue open, feel free to verify it.
<Hi,
When trying to add a printer by searching for it using its IP address, s-c-p is trying to probe the different lpd queues:
As you can see it prints strings like "PASSTHRU" and null characters. The problem is that these are printed even when s-c-p is not started with debug. This is spamming the logs/console