Closed Bug 135118 Opened 24 years ago Closed 24 years ago

Multiple printer support broken

Categories

(Core :: Printing: Output, defect)

All
AIX
defect
Not set
major

Tracking

()

VERIFIED FIXED

People

(Reporter: david, Assigned: rods)

References

Details

Selecting from multiple printers defined on system does not work and documentation is either wrong or broken. If lp, lp8 and lp8c are defined on system, there should be a clear way to either discover or input each of these printers and the associated print command required by each. The var $MOZILLA_PRINTER_LIST is ignored. In prefs.js the entry for multiple printers 'user_pref("print.printer_list", "lp lp8 lp8c");' does pop up each printer in the print dialog, for selection, however printing defaults to the entry for 'user_pref("print.print_command","...");' and there appears to be no way to associate a unique print_comand with each printer.
Confirming... ... the docs are not up-to-date. 1. The "MOZILLA_PRINTER_LIST" env var has been renamed to "MOZILLA_POSTSCRIPT_PRINTER_LIST" (I renamed it to avoid confusion with the 2nd print module in Mozilla (Xprint) which uses some env vars, too) 2. |user_pref("print.printer_list", "lp lp8 lp8c");| works for me when I put it in my profile's prefs.js - but be sure to use a whitespace for seperation of the names (the parser is picky). 3. You can set per-printer print commands via |user_pref("print.printer_PostScript/myprinter.print_command", "my_lpr");| ("myprinter" is the name of the printer, "my_lpr" is the spooler command which is fed with the data). Finally - if you have Linux, Solaris or HP-UX (AIX may follow soon) you may use the Xprint module (details on demand) ...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Regarding point 2. below, the printers appear, but the print command sends them all to the default printer. (Very non-intuitive.)
Blocks: 125824
Eric Vaandering wrote: > Regarding point 2. below, the printers appear, but the print command sends > them all to the default printer. (Very non-intuitive.) AFAIK I fixed this issue recently for the PostScript module. Please get a nightly from http://ftp.mozilla.org/pub/mozilla/nightly/latest/ and test it - it should work... Alternatively you may use the Xprint module which has multiple-printer support since eternity...
Summary: Multiple printer support broken → [FIXED???]Multiple printer support broken
This is fixed in a personal CVS build from this morning. Print commands entered into the dialog are saved as well. Thanks Roland
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Summary: [FIXED???]Multiple printer support broken → Multiple printer support broken
David/Eric, can you verify this and mark verified-fixed ? thanks.
verified per Eric's last comments.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.