Skip to content
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

Printer list #6033

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Printer list #6033

wants to merge 2 commits into from

Conversation

jjkeijser
Copy link

Add support for filtering the list of printers on the client side

When a cups server has hundreds of printers defined, each client-side operation becomes very slow, as the full list of printers is queried from the server for almost every operation. Also, the list of printers presented to the user becomes far too long, e.g. in GUI-based programs such as LibreOffice.

With this patch, a user can list a set of printers that {s}he wants to queried. This list can be specified using either an environment variable
export CUPS_PRINTER_LIST="printer1, printer2, printer3"
or by adding a line to the ~/.cups/lpoptions file
printer-list printer1, printer2, printer3

Please note that the list of printers can either be comma-separated or space-separated.

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.

None yet

1 participant