Customising Printing
Posted: 27 Aug 2014, 12:40
Further to my post on Customising Printing in the "User's modifications to the Kiosk ISO"
viewtopic.php?f=127&t=3755
Would it be possible to change the Porteus Kiosk wizard to always create a user.js file in the directory /home/guest/.mozilla/firefox/c3pp43bg.default/ when the printing option has been selected in the wizard
The file user.js will indicate the preferred print_paper_name for the installations locale. For Europe, which includes Britain, this will be
user_pref("print.print_paper_name", "iso_a4");
For other locales could either not include the file at all or set the preference to the correct setting for letter sized paper.
The above suggestion doesn't require any changes to the user interface of the wizard.
It may not be necessary to include all the detail of the user.js file or might be better to just update the prefs.js file thus leaving the user.js file free for other site specific printing options.
Alex
viewtopic.php?f=127&t=3755
Would it be possible to change the Porteus Kiosk wizard to always create a user.js file in the directory /home/guest/.mozilla/firefox/c3pp43bg.default/ when the printing option has been selected in the wizard
The file user.js will indicate the preferred print_paper_name for the installations locale. For Europe, which includes Britain, this will be
user_pref("print.print_paper_name", "iso_a4");
For other locales could either not include the file at all or set the preference to the correct setting for letter sized paper.
The above suggestion doesn't require any changes to the user interface of the wizard.
It may not be necessary to include all the detail of the user.js file or might be better to just update the prefs.js file thus leaving the user.js file free for other site specific printing options.
Alex