Skip to content

Suppress already configured printers in New Printer window - #465

Merged
alexpevzner merged 2 commits into
masterfrom
suppress-configured-printers
Sep 16, 2026
Merged

alexpevzner merged 2 commits into
masterfrom
suppress-configured-printers

Conversation

@SinghCod3r

Copy link
Copy Markdown
Collaborator

Description

The New Printer window could show printers that were already configured.

This change filters discovered devices against the configured printers using their device-uri. Devices with a matching URI are removed from the New Printer device list.

The existing device URI normalization and legacy USB handling are preserved.

Testing

  • Added unit tests for configured-device URI filtering.
  • pytest test_newprinter.py — 6 passed
  • pytest test_dnssdresolve.py test_PhysicalDevice.py — 16 passed
  • Manually verified with the Xerox B235 MFP simulator that an already configured USB printer is no longer shown in the New Printer window.

@SinghCod3r
SinghCod3r force-pushed the suppress-configured-printers branch from 3c18025 to 4c8cf96 Compare September 16, 2026 12:18
@alexpevzner
alexpevzner merged commit 38fd1d4 into master Sep 16, 2026
5 checks passed
@alexpevzner
alexpevzner deleted the suppress-configured-printers branch September 17, 2026 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants