-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add printer wizzard and auto-discoverred shows different list of printers #1774
Comments
CUPS.org User: mike Any printers with "Unknown" make and model strings are ignored on the main administration page for a couple reasons. First, we have no way to automatically select a driver. Second, some backends are either unable to report the make and model, like the serial backend, or are placeholders for particular drivers or backends. Thus, the only printers that can be added automatically are reported, and the rest (including URI schemes like "ipp" and "socket") can be selected by clicking on Add Printer and doing all of the association manually. |
CUPS.org User: mike [post to cups.bugs] There probably IS a memory accessing problem in CUPS 1.2.
Way to reproduce:
I have roughly 20 printers in my subnet. |
CUPS.org User: mike It is highly unlikely there is a memory accessing problem (it would show up quickly in a lot of different places), but we'll need the full debug output of the SNMP backend to determine what is going wrong. Please attach the output of the following commands:
Thanks! |
CUPS.org User: georgeliuyue Reproduced the problem on cups-1.2.x 5682, attached some debug files. Attached png files shows a auto-discovery screen, which list all the printers in the subnet correctly. After clicking "Add Printer", some "Unknown" printer showed up, but the Unknown printer's IP was previously shown in the auto-discovery screen, and printer name is known. Made two runs of snmp backend and attached snmp.log and snmp.log1, each run returns different number of "Unknown" printers. The unknown printer covers Ricoh and HP brand. |
CUPS.org User: mike Hmm, will see if I can find a connection - both logs show the received packets, but in some cases we are ignoring the responses... |
CUPS.org User: mike Try the attached patch and let me know if it resolves the issue... |
CUPS.org User: georgeliuyue I applied the patch against CUPS-1.2svn-r5688, and the patch worked. This bug can be closed. Thanks Mike. |
"str1774.patch": Index: snmp.c--- snmp.c (revision 5731)
@@ -1874,8 +1874,8 @@
/*
|
Version: 1.2-current
CUPS.org User: georgeliuyue
Reporting this problem only for cups-1.2svn-r5643
The auto-discovered list of printers and the list of printers in printer drop down box from add printer wizzard(APW) are not identical.
Some printer listed in APW's drop down list is not in the list auto-discover displays.
Some printers listed in auto-discovery page are shown as Unknown 123.456.789.123 in APW. (IP address is correct)
Have roughly 20 printers in my subnet.
The text was updated successfully, but these errors were encountered: