David E. Ross wrote:
On 1/28/2015 11:06 AM, Bill Spikowski wrote:
David E. Ross wrote:
There is a way for SeaMonkey not to remember the last print settings.
Instead, you can establish default settings that come into effect every
time you launch SeaMonkey.

In your profile, find the file user.js.  If it does not exist, create it
with a plain-text text editor.  Insert the following statements:

user_pref("print_printer", "");
// default back to Windows default printer if another printer
// was selected

user_pref("print.printer_HP_Color_LaserJet_CP1215.print_orientation",0);
// restore portrait if landscape had been specified

user_pref("print.printer_HP_Color_LaserJet_CP1215.print_scaling","1.0");
//  restore 100% scaling

The lines beginning with // are comments to remind you why you have
these statements.  The semi-colons are mandatory.  Every time you launch
SeaMonkey, these will override whatever print settings were last used.

In the first set (print_printer), this works with Windows; I do not know
if there is an equivalent for MACs or Linux.  In the second set
(print.printer_HP_Color_LaserJet_CP1215.print _orientation), you will
have to find the equivalent preference variable for your own printer; a
value of 1 defaults to landscape.  In the third set (print.printer_HP
_Color_LaserJet_CP1215.print_scaling), you will again have to find the
equivalent preference variable for your own printer; the number is the
multiplier for scaling (e.g., 1.0=100%, 0.5=50%).

To find equivalent preference variables for the second and third sets,
enter about:config in the address area (URI bar) of SeaMonkey.  In the
Search area, enter print.printer_ and scroll through the results.

The one that's important to me would be to restore my general
preference for Scale = Shrink To Fit (after I've chosen a different
scale for some specific document).

Do you know if there is a way to accomplish that?

In user.js, insert
        
user_pref("print.printer_HP_Color_LaserJet_CP1215.print_shrink_to_fit",true);
// default to "shrink to fit"


I just created user.js (guess I never did that before) but in looking in 
about:config to find out the name of my printer, I see about rows for every 
printer I've ever installed (or reinstalled) -- several dozen of them!

Is there a way to delete all those entries so I'd be left with only my 
currently installed printers? That's still five printers, but it would be easy 
enough to modify user.js for each one, once I was pretty confident I wasn't 
modifying ancient printer entries!
_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to