David E. Ross wrote:
On 23-Feb-10 12:28 PM, david c mores wrote:
In our enterprise environment we have hundreds of printers to choose from.
Printing from Seamonkey 2.0 does not
seem to work the way it did under 1.x.
I have set the environment variables LPDEST and PRINTER to the name of my
default printer queue.
This is RHEL5 that uses CUPS.
When I click on the Print button in Seamonkey 2, the Print window comes up and
the highlighted printer is
the first on in the sorted list. I would expect the window to be positioned
and highlighted on my default
printer. Instead I have to scroll done the list to find my printer and press
the Print button to complete
my print request.
So it would seem that Seamonkey 2 is not honoring default printers. The help
docs do not help on this.
Please advise,
Dave
As I recall, SeaMonkey 1.x always defaulted to the last printer you
requested. SeaMonkey 2.x is doing the same thing.
I am incline to agree with you on this. However, the current 2.0.3 version of
Seamonkey on Linux
definitely does not remember the printer used during the same session on the
second or later print operation.
The workaround for this is as follows:
1. Go to the folder containing your profile. (Hint: It should contain
files named prefs.js, bookmarks.html, and cookies.sqlite.)
2. Using a text editor, open (or create) the file user.js.
3. Insert the following entry into user.js:
user_pref("print.print_printer", xxx);
where xxx is the name of your desired default printer. If the name
contains blanks, it must be enclosed within quotes. Note that the
semi-colon at the end is required. (I always insert a comment after an
entry to explain why the entry is there; comments begin with //.)
4. Save the edited user.js.
This will restore your desired default printer every time you terminate
and then restart SeaMonkey. It will NOT work if SeaMonkey is running
continuously in the background on a computer that is not rebooted. It
will work only if SeaMonkey is completely terminated and then launched
de novo. The preference variables entered in user.js overwrite the
corresponding preference variables in prefs.js only during the launching
of SeaMonkey.
For example, I have the following in my user.js:
user_pref("print.print_printer", "HP Color LaserJet CP1215");
// default back to actual printer if another printer was
// selected (e.g., Acrobat Distiller)
Thanks for your detailed reply, but this definitely does not work under Linux
Seamonkey.
The print window always positions to the first printer available on the system.
The print.print_printer user_pref can be in the prefs.js or the user.js.
It makes no different. Both are ignored. I know I have the right files in
my .mozilla/seamonkey/.... directory because the file time stamps are current.
Sounds like you are running on Windows?
Dave
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey