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.

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)

-- 
David E. Ross
<http://www.rossde.com/>

Go to Mozdev at <http://www.mozdev.org/> for quick access to
extensions for Firefox, Thunderbird, SeaMonkey, and other
Mozilla-related applications.  You can access Mozdev much
more quickly than you can Mozilla Add-Ons.
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to