Closed Bug 169922 Opened 22 years ago Closed 22 years ago

print command doesn't remain set

Categories

(Core :: Printing: Output, defect)

Sun
Solaris
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 166217

People

(Reporter: bill.shannon, Assigned: rods)

Details

(Whiteboard: DUPME)

I can't get the print command set in the printer properties dialog to "stick". When I exit Mozilla and restart it's reset to the default. I even set these entries in my prefs.js file (with Mozilla not running, of course): user_pref("print.print_command", "nsfix -l | dtlp > /dev/null"); user_pref("print.printer_PostScript/default.print_command", "dtlp > /dev/null"); and still when it starts the print command is reset to the default. This is with Mozilla 1.1 on Solaris 8.
this was recently fixed
Whiteboard: DUPME
This is a DUPlicate of bug 166217 ("Print settings on Linux are saved at shutdown but not read at next start") - fixed on "trunk" and (Sun's) OEM branch. *** This bug has been marked as a duplicate of 166217 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Bill Shannon: I am just curious: Why are you using "dtlp" here ?
The primary reason I use dtlp is that it gives me the chance to select the printer, and in my (hacked) version, the chance to select 2-up printing. BTW, is there documentation on all the environment variables Mozilla sets that I can use in the print command line?
Bill Shannon wrote: > The primary reason I use dtlp is that it gives me the chance to select the > printer, Uhm, Mozilla has support for handling multiple printers out-of-the-box (I already answered that question today - see bug 169936 comment #1 :) ... > and in my (hacked) version, the chance to select 2-up printing. Do you mean "tumble" with that ? > BTW, is there documentation on all the environment variables Mozilla sets > that I can use in the print command line? Not really (except the source code itself). There is bug 134854 ("Linux printing system needs documentation") but I did not had enougth time to write some usefull docs yet... ;-( To answer your question (assuming you're using the PostScript module): Currently only MOZ_PRINTER_NAME is set to the printer name selected in the print dialog (or _not_ set if the selected printer in the dialog is "Default" (to force /usr/bin/lpr to choose it's default queue))
I think we have quite different interpretations of "out of the box". It seems that it is possible to teach Mozilla about multiple printers, but "out of the box" implies to me that it will just know about all the printers on my system without me having to do anything. I think Solaris comes with Xprint, but I can't figure out how to do anything useful with it. The documentation is terrible, and when I try to start the server (why isn't it started for me if it's useful?), I get a bunch of error messages. I don't know what you mean by "tumble". I mean two pages side by side on a single sheet of paper. 4-up is occasionally useful as well. BTW, I don't look for Solaris release notes under "Linux". Maybe there ought to be a "UNIX" category for generic UNIX issues?
Bill Shannon wrote: > I think we have quite different interpretations of "out of the box". > It seems that it is possible to teach Mozilla about multiple printers, > but "out of the box" implies to me that it will just know about all the > printers on my system without me having to do anything. Well, in your example you're modifying the print command, in my example you would simply add an env var to your ~/.profile or /etc/profile (to be honestly we don't Mozilla's the PostScript module - we're all using Xprint here which does that job automagically) ... > I think Solaris comes with Xprint, but I can't figure out how to do anything > useful with it. The documentation is terrible, At which documentation did you look ? > and when I try to start the > server (why isn't it started for me if it's useful?), I get a bunch of error > messages. What's the exact error message you get ? (BTW: http://xprint.mozdev.org/bugs/show_bug.cgi?id=2037 has a nice startup/shutdown script which may help in your case... :) > I don't know what you mean by "tumble". I was thinking here about the "plex" modes supported by a printer (e.g. "simplex", "duplex" and "tumble") ... > I mean two pages side by side > on a single sheet of paper. 4-up is occasionally useful as well. You mean printing on both front and back side of the paper, right ? > BTW, I don't look for Solaris release notes under "Linux". Maybe there > ought to be a "UNIX" category for generic UNIX issues? No, the Mozilla release notes are sorted by functionality/tasks ("browser"/"mail"/"news"/"printing", e.g. release notes specific for printing are available under http://mozilla.org/releases/mozilla1.0/#printing) and (unfortunately) use the term "Linux" if they mean both Linux and Unix.
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.