Closed Bug 322318 Opened 19 years ago Closed 18 years ago

No control over listing of CUPS printers when printing

Categories

(Core :: Printing: Output, defect)

1.8 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: unixteam, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

Firefox 1.5 seems to have no option for switching off interaction with CUPS software. Previous releases listed just "PostScript/default" under the list of printers available, but 1.5 interacts with CUPS and lists not only the desired "PostScript/default" but also numerous CUPS printers in the form "CUPS/f2_bw45".

We wish to make use of Kprinter software which allows greater control of printing such as page orientation and duplex printing; this is only used when we specify "PostScript/default".

We have tried using print.printer_list to specify a specific printer in a bid to stop the listing of CUPs printers but this just adds other printers to the list; print.printer_PostScript/default.print_printer is set to "PostScript/default" as desired.

Is there an easy way to prevent the listing of all CUPS printers?

Reproducible: Always

Steps to Reproduce:
1. In any Firefox Window, go to File => Print
2. Click on the down-arrow next to Printer Name


Actual Results:  
Each and every CUPS printer is listed, with the default printer PostScript/default listed at the bottom

Expected Results:  
Just list the default printer as specified by print.printer_PostScript/default.print_printer and / or printers listed in print.printer_list preference.

CUPS software must be installed and configured
Me too. We wish to delegate all printer choices to kprinter and not to have to use  the mozilla cups list of printer as the control and user interface is not as good.

This definitely worked ok in versions before 1.5. The print.printer_list and the environment variable MOZILLA_POSTSCRIPT_PRINTER_LIST are ignored

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

(PS - UnixTeam@metoffice.gov.uk - Small world, eh?)

Andy Brady
A small getaround may be to use the LPDEST environment variable which sets the default printer of cups and is then used as the primary printer in firefox.
Related: https://bugzilla.mozilla.org/show_bug.cgi?id=251292
Component: Menus → Printing
Product: Firefox → Core
Version: unspecified → 1.8 Branch
Gecko's builtin CUPS support can be disabled by setting the pref "print.postscript.cups.enabled" to false. See <http://kb.mozillazine.org/About:config_entries>.

Regarding comment 1: Andrew, MOZILLA_POSTSCRIPT_PRINTER_LIST and "print.printer_list" should work as described on the page <http://kb.mozillazine.org/PostScript_Module>. If they're not, please open a new bug report. This bug is on a different issue.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.