Firefox user.js

I’m not sure if this is a FF or opensuse problem, but as user prefs work
as expected in 11.4 and not 12.1 I’m starting here.

At intervals, I print between 10 and 50 web pages to PDF files and to
ensure a consistent “look and feel” I set up a special profile and
user.js containing*:

Code:

user_pref(“printer_Print_to_File.print_to_file”, true);
user_pref(“printer_Print_to_File.print_to_filename”,
“/home/user/Documents/.pdf”);
user_pref(“printer_Print_to_File.print_footercenter”, “”);
user_pref(“printer_Print_to_File.print_footerleft”, “”);
user_pref(“printer_Print_to_File.print_footerright”, “”);
user_pref(“printer_Print_to_File.print_headercenter”, “”);
user_pref(“printer_Print_to_File.print_headerleft”, “”);
user_pref(“printer_Print_to_File.print_headerright”, “”);
user_pref(“printer_Print_to_File.print_edge_left”, 0);
user_pref(“printer_Print_to_File.print_edge_right”, 0);
user_pref(“printer_Print_to_File.print_edge_top”, 0);
user_pref(“printer_Print_to_File.print_edge_bottom”, 0);
user_pref(“printer_Print_to_File.print_margin_left”, “0”);
user_pref(“printer_Print_to_File.print_margin_right”, “0”);
user_pref(“printer_Print_to_File.print_margin_top”, “0.4”);
user_pref(“printer_Print_to_File.print_margin_bottom”, “0”);
user_pref(“printer_Print_to_File.print_scaling”, “0.75”);
user_pref(“printer_Print_to_File.print_shrink_to_fit”, false);
user_pref(“printer_Print_to_File.print_unwriteable_margin_left”, 40);
user_pref(“printer_Print_to_File.print_unwriteable_margin_right”,40);
user_pref(“printer_Print_to_File.print_unwriteable_margin_top”, 50);
user_pref(“printer_Print_to_File.print_unwriteable_margin_bottom”, 20);

/Code

These entries parse successfully and show with about:config but are
ignored when “print to file” is selected in OS12.1 (FF 13/14/15) but are
actioned in 11.4 (FF 13). I have similar entries for other default print
margin/scaling entries (for physical printer etc).

Any suggestions on where to go from here/how to isolate the problem
appreciated.

*PS - how do you insert “code tags” when accessing as a newsgroup via TB
and not a forum?

PeeGee

MSI m/b 870-C45, AMD Athlon II X3 445, 4GB, openSUSE 12.1/11.4 x86_64
dual boot + XP Home in VBox
Asus m/b M2NPV-VM, AMD 64X2 3800+, 2GB, openSUSE 11.3 x86_64/XP Home
dual boot
Asus eeePC 4G (701), Celeron M353, 2GB, openSUSE 11.3 on SSD

You need to use {CODE} {/CODE} and replace { with and } with ]

On 27/09/12 12:36, glistwan wrote:
>
> PeeGee;2490972 Wrote:
>>
>> *PS - how do you insert “code tags” when accessing as a newsgroup via
>> TB
>> and not a forum?
>
> You need to use {CODE} {/CODE} and replace { with and } with ]
>

Thanks


PeeGee

MSI m/b 870-C45, AMD Athlon II X3 445, 4GB, openSUSE 12.1/11.4 x86_64
dual boot + XP Home in VBox
Asus m/b M2NPV-VM, AMD 64X2 3800+, 2GB, openSUSE 11.3 x86_64/XP Home
dual boot
Asus eeePC 4G (701), Celeron M353, 2GB, openSUSE 11.3 on SSD