Description: Libreoffice is displaying all printers discovered by lpstat -l -e command, which can be huge list on corporate networks. Currently linuxes lets you configure printers via system-config-printer or cups so only choosen printers are available. This works in Google chrome and others. Steps to Reproduce: 1. Print document 2. 3. Actual Results: Displays all printers available on LAN network Expected Results: Display only printers configured via system-config-printer or cups, not all from avahi. So lpstat -l -e commands lits permanent at printers which should be visible in print dialog. Reproducible: Always User Profile Reset: No Additional Info: This is common problem, lot's of questions on askubuntu and similar websites.
Sounds reasonable -> NEW
I'm a bit unsure whether never showing auto-discovered printers wouldn't be problematic for others, in particular since, IIUC, the OpenPrinting direction seems to be more towards making things "just work, without the need to configure anything". At a quick glance into the source code, `CUPSManager::runDests` uses `cupsGetDests2` [1] to get destinations. I'm wondering whether that would always return all printers or it isn't rather something that depends on the local CUPS configuration. What distro and CUPS version is this? Do you have cups-browsed (or similar) running? [1] https://www.cups.org/doc/cupspm.html#cupsGetDests2