Adding css symlinks for 'translate' and 'bn' servers
[objavi2.git] / moz-print.js
blobe3045f5760254653a458e8386bde48beae6ec4a0
1 /* To omit typing "-printmode PDF" */
2 user_pref("extensions.cmdlnprint.mode", 1);
4 /* fake printer "drupal pdf dummy" */
5 user_pref("print.printer_objavi.print_downloadfonts", true);
6 user_pref("print.printer_objavi.print_edge_bottom", 0);
7 user_pref("print.printer_objavi.print_edge_left", 0);
8 user_pref("print.printer_objavi.print_edge_right", 0);
9 user_pref("print.printer_objavi.print_edge_top", 0);
10 user_pref("print.printer_objavi.print_in_color", true);
12 user_pref("print.printer_objavi.print_bgcolor", true);
13 user_pref("print.printer_objavi.print_bgimages", true);
15 /* Note that margins are string, while unwritable margins are integer. */
16 user_pref("print.printer_objavi.print_margin_top", "0.5");
17 user_pref("print.printer_objavi.print_margin_bottom", "0.5");
18 user_pref("print.printer_objavi.print_margin_left", "0.5");
19 user_pref("print.printer_objavi.print_margin_right", "0.5");
21 user_pref("print.printer_objavi.print_unwritable_margin_top", 0);
22 user_pref("print.printer_objavi.print_unwritable_margin_bottom", 0);
23 user_pref("print.printer_objavi.print_unwritable_margin_left", 0);
24 user_pref("print.printer_objavi.print_unwritable_margin_right", 0);
26 user_pref("print.printer_objavi.print_headercenter", "");
27 user_pref("print.printer_objavi.print_headerleft", "&T");
28 user_pref("print.printer_objavi.print_headerright", "");
30 user_pref("print.printer_objavi.print_footercenter", "");
31 user_pref("print.printer_objavi.print_footerleft", "&U");
32 user_pref("print.printer_objavi.print_footerright", "");
34 /* paperWidth is also string, as it stands for float (or double). */
35 user_pref("print.printer_objavi.print_paper_width", "280");
37 user_pref("browser.sessionstore.resume_from_crash", false);
39 //Commands to input:
40 //>firefox -print artisan.karma-lab.net/print/1711 -printprinter "drupal pdf dummy"