Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] CJK Printing from Web Browsers in Debian 3.3.2



Josh Glover wrote:
On 05/11/06, Bart Mathias <mathias@example.com> wrote:

I tried just Thunderbird first, checking the file at each stage.  First
stage, all the lines with "print" in them got marked with "//" on the
front, and the print was ghosted.


Good.

Second stage, all the lines from Mozilla prefs that had "print" in them
were added in at the bottom.  I had left the file open in KWrite, so was
informed that another program had changed it and given a choice of what
to do; I "Replace"d.


Erm... maybe you should not have done that. Please try this, and copy
the output from your terminal and paste it into a reply to this email.

: Step 1a; MOZILLA_PREFS=`find .mozilla/ -type f -name \*prefs.js |
sed -e '/firefox/d' -e '/thunderbird/d'`
: Step 1b; FIREFOX_PREFS=`find .mozilla/firefox/ -type f -name \*prefs.js`
: Step 1c; THUNDERBIRD_PREFS=`find .mozilla/thunderbird/ -type f -name
\*prefs.js`

: Step 2a; grep print "${FIREFOX_PREFS}"
: Step 2b; grep print "${THUNDERBIRD_PREFS}"

: Step 2c; sed -i.bak -e 's|^\(.\+print.\+\)$|// \1|' "${FIREFOX_PREFS}"
: Step 2d; sed -i.bak -e 's|^\(.\+print.\+\)$|// \1|' "${THUNDERBIRD_PREFS}"


: Step 2e; grep print "${FIREFOX_PREFS}"
: Step 2f; grep print "${THUNDERBIRD_PREFS}"

: Step 3a; grep print "${MOZILLA_PREFS}"

: Step 3b; grep print "${MOZILLA_PREFS}" | tee -a "${FIREFOX_PREFS}"
: Step 3c; grep print "${MOZILLA_PREFS}" | tee -a "${THUNDERBIRD_PREFS}"

: Step 3d; grep print "${FIREFOX_PREFS}"
: Step 3e; grep print "${THUNDERBIRD_PREFS}"

: Step 4a; firefox &
# Exit Firefox
: Step 4b; grep print "${FIREFOX_PREFS}"

: Step 4c; thunderbird &
# Exit Thunderbird
: Step 4d; grep print "${THUNDERBIRD_PREFS}"


PASTE ALL OF THE OUTPUT!

And some of the input, to mark divisions:
bart@example.com:~$ grep print "${FIREFOX_PREFS}"
user_pref("print.printer_PostScript/LC24-100.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
user_pref("print.printer_PostScript/LC24-100.print_edge_bottom", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_left", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_right", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_top", 4);
user_pref("print.printer_PostScript/LC24-100.print_in_color", true);
user_pref("print.printer_PostScript/LC24-100.print_paper_height", " 10.98");
user_pref("print.printer_PostScript/LC24-100.print_paper_name", "Letter");
user_pref("print.printer_PostScript/LC24-100.print_paper_size_type", 1);
user_pref("print.printer_PostScript/LC24-100.print_paper_size_unit", 0);
user_pref("print.printer_PostScript/LC24-100.print_paper_width", " 8.46");
user_pref("print.printer_PostScript/LC24-100.print_scaling", " 1.00");
user_pref("print.printer_PostScript/LC24-100.print_shrink_to_fit", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_num_copies", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_orientation", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_paper_size", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_plex", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_spoolercommand", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.has_special_printerfeatures", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.0.name", "portrait");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.1.name", "landscape");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.count", 2);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.height_mm", 210);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.name", "A5");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.width_mm", 148);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.height_mm", 297);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.name", "A4");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.width_mm", 210);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.height_mm", 420);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.name", "A3");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.width_mm", 297);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.height_mm", 279);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.name", "Letter");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.height_mm", 355);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.name", "Legal");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.height_mm", 254);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.name", "Executive");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.width_mm", 190);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.count", 6);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.0.name", "default");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.count", 1);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_orientation_change", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_paper_size_change", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_plex_change", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_spoolercommand_change", true);


bart@example.com:~$ THUNDERBIRD_PREFS=`find .mozilla-thunderbird/ -type f -name \*prefs.js`
bart@example.com:~$ grep print "${THUNDERBIRD_PREFS}"
user_pref("print.printer_PostScript/LC24-100.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
user_pref("print.printer_PostScript/LC24-100.print_edge_bottom", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_left", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_right", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_top", 4);
user_pref("print.printer_PostScript/LC24-100.print_in_color", true);
user_pref("print.printer_PostScript/LC24-100.print_paper_height", " 10.98");
user_pref("print.printer_PostScript/LC24-100.print_paper_name", "Letter");
user_pref("print.printer_PostScript/LC24-100.print_paper_size_type", 1);
user_pref("print.printer_PostScript/LC24-100.print_paper_size_unit", 0);
user_pref("print.printer_PostScript/LC24-100.print_paper_width", " 8.46");
user_pref("print.printer_PostScript/LC24-100.print_scaling", " 1.00");
user_pref("print.printer_PostScript/LC24-100.print_shrink_to_fit", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_num_copies", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_orientation", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_paper_size", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_plex", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_spoolercommand", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.has_special_printerfeatures", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.0.name", "portrait");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.1.name", "landscape");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.count", 2);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.height_mm", 210);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.name", "A5");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.width_mm", 148);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.height_mm", 297);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.name", "A4");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.width_mm", 210);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.height_mm", 420);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.name", "A3");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.width_mm", 297);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.height_mm", 279);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.name", "Letter");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.height_mm", 355);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.name", "Legal");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.height_mm", 254);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.name", "Executive");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.width_mm", 190);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.count", 6);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.0.name", "default");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.count", 1);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_orientation_change", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_paper_size_change", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_plex_change", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_spoolercommand_change", true);
// user_pref("print.printer_PostScript/LC24-100.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
// user_pref("print.printer_PostScript/LC24-100.print_edge_bottom", 4);
// user_pref("print.printer_PostScript/LC24-100.print_edge_left", 4);
// user_pref("print.printer_PostScript/LC24-100.print_edge_right", 4);
// user_pref("print.printer_PostScript/LC24-100.print_edge_top", 4);
// user_pref("print.printer_PostScript/LC24-100.print_in_color", true);
// user_pref("print.printer_PostScript/LC24-100.print_paper_height", " 10.98");
// user_pref("print.printer_PostScript/LC24-100.print_paper_name", "Letter");
// user_pref("print.printer_PostScript/LC24-100.print_paper_size_type", 1);
// user_pref("print.printer_PostScript/LC24-100.print_paper_size_unit", 0);
// user_pref("print.printer_PostScript/LC24-100.print_paper_width", " 8.46");
// user_pref("print.printer_PostScript/LC24-100.print_scaling", " 1.00");
// user_pref("print.printer_PostScript/LC24-100.print_shrink_to_fit", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_num_copies", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_orientation", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_paper_size", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_plex", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_spoolercommand", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.has_special_printerfeatures", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.0.name", "portrait");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.1.name", "landscape");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.count", 2);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.height_mm", 210);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.is_inch", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.name", "A5");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.width_mm", 148);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.height_mm", 297);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.is_inch", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.name", "A4");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.width_mm", 210);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.height_mm", 420);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.is_inch", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.name", "A3");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.width_mm", 297);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.height_mm", 279);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.is_inch", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.name", "Letter");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.width_mm", 215);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.height_mm", 355);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.is_inch", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.name", "Legal");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.width_mm", 215);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.height_mm", 254);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.is_inch", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.name", "Executive");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.width_mm", 190);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.count", 6);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.0.name", "default");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.count", 1);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_orientation_change", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_paper_size_change", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_plex_change", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_spoolercommand_change", true);
bart@example.com:~$ grep print "${THUNDERBIRD_PREFS}"
// user_pref("print.printer_PostScript/LC24-100.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
// user_pref("print.printer_PostScript/LC24-100.print_edge_bottom", 4);
// user_pref("print.printer_PostScript/LC24-100.print_edge_left", 4);
// user_pref("print.printer_PostScript/LC24-100.print_edge_right", 4);
// user_pref("print.printer_PostScript/LC24-100.print_edge_top", 4);
// user_pref("print.printer_PostScript/LC24-100.print_in_color", true);
// user_pref("print.printer_PostScript/LC24-100.print_paper_height", " 10.98");
// user_pref("print.printer_PostScript/LC24-100.print_paper_name", "Letter");
// user_pref("print.printer_PostScript/LC24-100.print_paper_size_type", 1);
// user_pref("print.printer_PostScript/LC24-100.print_paper_size_unit", 0);
// user_pref("print.printer_PostScript/LC24-100.print_paper_width", " 8.46");
// user_pref("print.printer_PostScript/LC24-100.print_scaling", " 1.00");
// user_pref("print.printer_PostScript/LC24-100.print_shrink_to_fit", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_num_copies", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_orientation", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_paper_size", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_plex", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_spoolercommand", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.has_special_printerfeatures", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.0.name", "portrait");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.1.name", "landscape");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.count", 2);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.height_mm", 210);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.is_inch", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.name", "A5");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.width_mm", 148);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.height_mm", 297);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.is_inch", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.name", "A4");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.width_mm", 210);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.height_mm", 420);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.is_inch", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.name", "A3");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.width_mm", 297);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.height_mm", 279);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.is_inch", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.name", "Letter");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.width_mm", 215);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.height_mm", 355);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.is_inch", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.name", "Legal");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.width_mm", 215);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.height_mm", 254);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.is_inch", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.name", "Executive");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.width_mm", 190);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.count", 6);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.0.name", "default");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.count", 1);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_orientation_change", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_paper_size_change", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_plex_change", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_spoolercommand_change", true);
bart@example.com:~$ grep print "${MOZILLA_PREFS}"
user_pref("print.printer_PostScript/LC24-100.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
user_pref("print.printer_PostScript/LC24-100.print_edge_bottom", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_left", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_right", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_top", 4);
user_pref("print.printer_PostScript/LC24-100.print_in_color", true);
user_pref("print.printer_PostScript/LC24-100.print_paper_height", " 10.98");
user_pref("print.printer_PostScript/LC24-100.print_paper_name", "Letter");
user_pref("print.printer_PostScript/LC24-100.print_paper_size_type", 1);
user_pref("print.printer_PostScript/LC24-100.print_paper_size_unit", 0);
user_pref("print.printer_PostScript/LC24-100.print_paper_width", " 8.46");
user_pref("print.printer_PostScript/LC24-100.print_scaling", " 1.00");
user_pref("print.printer_PostScript/LC24-100.print_shrink_to_fit", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_num_copies", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_orientation", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_paper_size", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_plex", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_spoolercommand", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.has_special_printerfeatures", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.0.name", "portrait");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.1.name", "landscape");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.count", 2);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.height_mm", 210);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.name", "A5");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.width_mm", 148);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.height_mm", 297);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.name", "A4");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.width_mm", 210);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.height_mm", 420);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.name", "A3");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.width_mm", 297);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.height_mm", 279);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.name", "Letter");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.height_mm", 355);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.name", "Legal");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.height_mm", 254);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.name", "Executive");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.width_mm", 190);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.count", 6);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.0.name", "default");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.count", 1);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_orientation_change", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_paper_size_change", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_plex_change", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_spoolercommand_change", true);
bart@example.com:~$ grep print "${MOZILLA_PREFS}" | tee -a "${FIREFOX_PREFS}"
user_pref("print.printer_PostScript/LC24-100.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
user_pref("print.printer_PostScript/LC24-100.print_edge_bottom", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_left", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_right", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_top", 4);
user_pref("print.printer_PostScript/LC24-100.print_in_color", true);
user_pref("print.printer_PostScript/LC24-100.print_paper_height", " 10.98");
user_pref("print.printer_PostScript/LC24-100.print_paper_name", "Letter");
user_pref("print.printer_PostScript/LC24-100.print_paper_size_type", 1);
user_pref("print.printer_PostScript/LC24-100.print_paper_size_unit", 0);
user_pref("print.printer_PostScript/LC24-100.print_paper_width", " 8.46");
user_pref("print.printer_PostScript/LC24-100.print_scaling", " 1.00");
user_pref("print.printer_PostScript/LC24-100.print_shrink_to_fit", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_num_copies", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_orientation", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_paper_size", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_plex", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_spoolercommand", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.has_special_printerfeatures", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.0.name", "portrait");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.1.name", "landscape");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.count", 2);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.height_mm", 210);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.name", "A5");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.width_mm", 148);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.height_mm", 297);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.name", "A4");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.width_mm", 210);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.height_mm", 420);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.name", "A3");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.width_mm", 297);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.height_mm", 279);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.name", "Letter");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.height_mm", 355);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.name", "Legal");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.height_mm", 254);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.name", "Executive");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.width_mm", 190);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.count", 6);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.0.name", "default");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.count", 1);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_orientation_change", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_paper_size_change", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_plex_change", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_spoolercommand_change", true);
bart@example.com:~$ grep print "${MOZILLA_PREFS}" | tee -a "${THUNDERBIRD_PREFS}"
user_pref("print.printer_PostScript/LC24-100.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
user_pref("print.printer_PostScript/LC24-100.print_edge_bottom", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_left", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_right", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_top", 4);
user_pref("print.printer_PostScript/LC24-100.print_in_color", true);
user_pref("print.printer_PostScript/LC24-100.print_paper_height", " 10.98");
user_pref("print.printer_PostScript/LC24-100.print_paper_name", "Letter");
user_pref("print.printer_PostScript/LC24-100.print_paper_size_type", 1);
user_pref("print.printer_PostScript/LC24-100.print_paper_size_unit", 0);
user_pref("print.printer_PostScript/LC24-100.print_paper_width", " 8.46");
user_pref("print.printer_PostScript/LC24-100.print_scaling", " 1.00");
user_pref("print.printer_PostScript/LC24-100.print_shrink_to_fit", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_num_copies", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_orientation", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_paper_size", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_plex", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_spoolercommand", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.has_special_printerfeatures", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.0.name", "portrait");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.1.name", "landscape");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.count", 2);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.height_mm", 210);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.name", "A5");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.width_mm", 148);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.height_mm", 297);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.name", "A4");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.width_mm", 210);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.height_mm", 420);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.name", "A3");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.width_mm", 297);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.height_mm", 279);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.name", "Letter");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.height_mm", 355);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.name", "Legal");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.height_mm", 254);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.name", "Executive");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.width_mm", 190);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.count", 6);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.0.name", "default");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.count", 1);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_orientation_change", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_paper_size_change", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_plex_change", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_spoolercommand_change", true);
bart@example.com:~$ grep print "${FIREFOX_PREFS}"
// user_pref("print.printer_PostScript/LC24-100.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
// user_pref("print.printer_PostScript/LC24-100.print_edge_bottom", 4);
// user_pref("print.printer_PostScript/LC24-100.print_edge_left", 4);
// user_pref("print.printer_PostScript/LC24-100.print_edge_right", 4);
// user_pref("print.printer_PostScript/LC24-100.print_edge_top", 4);
// user_pref("print.printer_PostScript/LC24-100.print_in_color", true);
// user_pref("print.printer_PostScript/LC24-100.print_paper_height", " 10.98");
// user_pref("print.printer_PostScript/LC24-100.print_paper_name", "Letter");
// user_pref("print.printer_PostScript/LC24-100.print_paper_size_type", 1);
// user_pref("print.printer_PostScript/LC24-100.print_paper_size_unit", 0);
// user_pref("print.printer_PostScript/LC24-100.print_paper_width", " 8.46");
// user_pref("print.printer_PostScript/LC24-100.print_scaling", " 1.00");
// user_pref("print.printer_PostScript/LC24-100.print_shrink_to_fit", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_num_copies", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_orientation", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_paper_size", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_plex", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_spoolercommand", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.has_special_printerfeatures", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.0.name", "portrait");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.1.name", "landscape");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.count", 2);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.height_mm", 210);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.is_inch", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.name", "A5");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.width_mm", 148);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.height_mm", 297);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.is_inch", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.name", "A4");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.width_mm", 210);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.height_mm", 420);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.is_inch", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.name", "A3");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.width_mm", 297);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.height_mm", 279);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.is_inch", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.name", "Letter");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.width_mm", 215);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.height_mm", 355);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.is_inch", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.name", "Legal");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.width_mm", 215);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.height_mm", 254);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.is_inch", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.name", "Executive");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.width_mm", 190);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.count", 6);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.0.name", "default");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.count", 1);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_orientation_change", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_paper_size_change", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_plex_change", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_spoolercommand_change", true);
user_pref("print.printer_PostScript/LC24-100.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
user_pref("print.printer_PostScript/LC24-100.print_edge_bottom", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_left", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_right", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_top", 4);
user_pref("print.printer_PostScript/LC24-100.print_in_color", true);
user_pref("print.printer_PostScript/LC24-100.print_paper_height", " 10.98");
user_pref("print.printer_PostScript/LC24-100.print_paper_name", "Letter");
user_pref("print.printer_PostScript/LC24-100.print_paper_size_type", 1);
user_pref("print.printer_PostScript/LC24-100.print_paper_size_unit", 0);
user_pref("print.printer_PostScript/LC24-100.print_paper_width", " 8.46");
user_pref("print.printer_PostScript/LC24-100.print_scaling", " 1.00");
user_pref("print.printer_PostScript/LC24-100.print_shrink_to_fit", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_num_copies", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_orientation", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_paper_size", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_plex", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_spoolercommand", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.has_special_printerfeatures", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.0.name", "portrait");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.1.name", "landscape");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.count", 2);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.height_mm", 210);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.name", "A5");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.width_mm", 148);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.height_mm", 297);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.name", "A4");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.width_mm", 210);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.height_mm", 420);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.name", "A3");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.width_mm", 297);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.height_mm", 279);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.name", "Letter");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.height_mm", 355);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.name", "Legal");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.height_mm", 254);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.name", "Executive");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.width_mm", 190);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.count", 6);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.0.name", "default");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.count", 1);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_orientation_change", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_paper_size_change", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_plex_change", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_spoolercommand_change", true);
bart@example.com:~$ Step 3e; grep print "${THUNDERBIRD_PREFS}"
bash: Step: command not found
Oops! But I think the grep worked:
// user_pref("print.printer_PostScript/LC24-100.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
// user_pref("print.printer_PostScript/LC24-100.print_edge_bottom", 4);
// user_pref("print.printer_PostScript/LC24-100.print_edge_left", 4);
// user_pref("print.printer_PostScript/LC24-100.print_edge_right", 4);
// user_pref("print.printer_PostScript/LC24-100.print_edge_top", 4);
// user_pref("print.printer_PostScript/LC24-100.print_in_color", true);
// user_pref("print.printer_PostScript/LC24-100.print_paper_height", " 10.98");
// user_pref("print.printer_PostScript/LC24-100.print_paper_name", "Letter");
// user_pref("print.printer_PostScript/LC24-100.print_paper_size_type", 1);
// user_pref("print.printer_PostScript/LC24-100.print_paper_size_unit", 0);
// user_pref("print.printer_PostScript/LC24-100.print_paper_width", " 8.46");
// user_pref("print.printer_PostScript/LC24-100.print_scaling", " 1.00");
// user_pref("print.printer_PostScript/LC24-100.print_shrink_to_fit", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_num_copies", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_orientation", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_paper_size", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_plex", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_spoolercommand", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.has_special_printerfeatures", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.0.name", "portrait");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.1.name", "landscape");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.count", 2);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.height_mm", 210);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.is_inch", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.name", "A5");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.width_mm", 148);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.height_mm", 297);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.is_inch", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.name", "A4");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.width_mm", 210);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.height_mm", 420);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.is_inch", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.name", "A3");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.width_mm", 297);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.height_mm", 279);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.is_inch", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.name", "Letter");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.width_mm", 215);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.height_mm", 355);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.is_inch", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.name", "Legal");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.width_mm", 215);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.height_mm", 254);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.is_inch", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.name", "Executive");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.width_mm", 190);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.count", 6);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.0.name", "default");
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.count", 1);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_orientation_change", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_paper_size_change", true);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_plex_change", false);
// user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_spoolercommand_change", true);
user_pref("print.printer_PostScript/LC24-100.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
user_pref("print.printer_PostScript/LC24-100.print_edge_bottom", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_left", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_right", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_top", 4);
user_pref("print.printer_PostScript/LC24-100.print_in_color", true);
user_pref("print.printer_PostScript/LC24-100.print_paper_height", " 10.98");
user_pref("print.printer_PostScript/LC24-100.print_paper_name", "Letter");
user_pref("print.printer_PostScript/LC24-100.print_paper_size_type", 1);
user_pref("print.printer_PostScript/LC24-100.print_paper_size_unit", 0);
user_pref("print.printer_PostScript/LC24-100.print_paper_width", " 8.46");
user_pref("print.printer_PostScript/LC24-100.print_scaling", " 1.00");
user_pref("print.printer_PostScript/LC24-100.print_shrink_to_fit", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_num_copies", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_orientation", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_paper_size", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_plex", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_spoolercommand", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.has_special_printerfeatures", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.0.name", "portrait");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.1.name", "landscape");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.count", 2);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.height_mm", 210);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.name", "A5");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.width_mm", 148);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.height_mm", 297);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.name", "A4");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.width_mm", 210);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.height_mm", 420);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.name", "A3");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.width_mm", 297);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.height_mm", 279);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.name", "Letter");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.height_mm", 355);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.name", "Legal");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.height_mm", 254);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.name", "Executive");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.width_mm", 190);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.count", 6);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.0.name", "default");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.count", 1);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_orientation_change", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_paper_size_change", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_plex_change", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_spoolercommand_change", true);
bart@example.com:~$ firefox &
[1] 967
bart@example.com:~$ grep print "${FIREFOX_PREFS}"
user_pref("print.printer_PostScript/LC24-100.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
user_pref("print.printer_PostScript/LC24-100.print_edge_bottom", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_left", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_right", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_top", 4);
user_pref("print.printer_PostScript/LC24-100.print_in_color", true);
user_pref("print.printer_PostScript/LC24-100.print_paper_height", " 10.98");
user_pref("print.printer_PostScript/LC24-100.print_paper_name", "Letter");
user_pref("print.printer_PostScript/LC24-100.print_paper_size_type", 1);
user_pref("print.printer_PostScript/LC24-100.print_paper_size_unit", 0);
user_pref("print.printer_PostScript/LC24-100.print_paper_width", " 8.46");
user_pref("print.printer_PostScript/LC24-100.print_scaling", " 1.00");
user_pref("print.printer_PostScript/LC24-100.print_shrink_to_fit", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_num_copies", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_orientation", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_paper_size", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_plex", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_spoolercommand", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.has_special_printerfeatures", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.0.name", "portrait");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.1.name", "landscape");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.count", 2);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.height_mm", 210);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.name", "A5");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.width_mm", 148);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.height_mm", 297);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.name", "A4");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.width_mm", 210);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.height_mm", 420);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.name", "A3");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.width_mm", 297);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.height_mm", 279);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.name", "Letter");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.height_mm", 355);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.name", "Legal");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.height_mm", 254);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.name", "Executive");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.width_mm", 190);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.count", 6);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.0.name", "default");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.count", 1);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_orientation_change", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_paper_size_change", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_plex_change", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_spoolercommand_change", true);
[1]+ Done firefox
bart@example.com:~$ mozilla-thunderbird &
[1] 1130
bart@example.com:~$ selected locale: en-US
DOUBLE-CLICK: 250 --> -1 THRESHOLD: 8 --> -1
[1]+ Done mozilla-thunderbird
bart@example.com:~$ grep print "${THUNDERBIRD_PREFS}"
user_pref("print.printer_PostScript/LC24-100.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
user_pref("print.printer_PostScript/LC24-100.print_edge_bottom", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_left", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_right", 4);
user_pref("print.printer_PostScript/LC24-100.print_edge_top", 4);
user_pref("print.printer_PostScript/LC24-100.print_in_color", true);
user_pref("print.printer_PostScript/LC24-100.print_paper_height", " 10.98");
user_pref("print.printer_PostScript/LC24-100.print_paper_name", "Letter");
user_pref("print.printer_PostScript/LC24-100.print_paper_size_type", 1);
user_pref("print.printer_PostScript/LC24-100.print_paper_size_unit", 0);
user_pref("print.printer_PostScript/LC24-100.print_paper_width", " 8.46");
user_pref("print.printer_PostScript/LC24-100.print_scaling", " 1.00");
user_pref("print.printer_PostScript/LC24-100.print_shrink_to_fit", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_num_copies", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_orientation", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_paper_size", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_plex", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.can_change_spoolercommand", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.has_special_printerfeatures", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.0.name", "portrait");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.1.name", "landscape");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.orientation.count", 2);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.height_mm", 210);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.name", "A5");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.0.width_mm", 148);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.height_mm", 297);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.name", "A4");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.1.width_mm", 210);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.height_mm", 420);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.name", "A3");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.2.width_mm", 297);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.height_mm", 279);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.name", "Letter");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.3.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.height_mm", 355);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.name", "Legal");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.4.width_mm", 215);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.height_mm", 254);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.is_inch", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.name", "Executive");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.5.width_mm", 190);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.paper.count", 6);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.0.name", "default");
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.plex.count", 1);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_orientation_change", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_paper_size_change", true);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_plex_change", false);
user_pref("print.tmp.printerfeatures.PostScript/LC24-100.supports_spoolercommand_change", true);





Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links