Printing in landscape mode
Posted: 23 Jun 2016, 22:01
Just started using this to help my wife at the church where she works to create simple, bulletproof kiosks from older laptops. Porteus-kiosk is awsome! Perfect fit. Having worked in the industry for 25 years as a UNIX admin, I'm very impressed with the work done with this. Thank you and well done.
I am, though, running into one minor issue. It has to do with printing labels. I can get the software to send the label through to the attached printer with no issues. All of the custom margin settings I've made in a .js file seem to be working. The one piece that I can't figure out is getting the data to print in landscape mode. The only way I can get it to work is by clicking on the print button in Firefox, selecting landscape and closing the print dialogue.
The installation is version 4.0.0. It is configured to download the parameter file from a web site. Here's the contents:
This in turn references a Firefox prefs file which contain this:
Anyone have any tips or ideas what I've missed? Please let me know if there is any other information I can provide. Thanks in advance for the help.
I am, though, running into one minor issue. It has to do with printing labels. I can get the software to send the label through to the attached printer with no issues. All of the custom margin settings I've made in a .js file seem to be working. The one piece that I can't figure out is getting the data to print in landscape mode. The only way I can get it to work is by clicking on the print button in Firefox, selecting landscape and closing the print dialogue.
The installation is version 4.0.0. It is configured to download the parameter file from a web site. Here's the contents:
Code: Select all
connection=wired
network_interface=eth0
dhcp=yes
browser=firefox
managed_bookmarks=https://fbcfrisco.ccbchurch.com/checkin_login.php https://fbcfrisco.ccbchurch.com/w_form_list.php
homepage=https://fbcfrisco.ccbchurch.com/checkin_login.php
kiosk_config=http://www.tjsimerson.org/fbc/kiosk-config-remote.txt
allow_popup_windows=yes
printer_connection=direct
printer_model=DYMO LabelWriter 450 Turbo
root_password=P@ssw0rd
silent_printing=yes
timezone=America/Chicago
whitelist=https://fbcfrisco.ccbchurch.com https://cdn[1-9].ccbchurch.com http://www.fbcfrisco.org http://www.firstbaptist https://ajax.googleapis.com/ajax http://fonts.googleapis.com
disable_zoom_controls=yes
additional_components=uefi.zip 10-printing.xzm
browser_preferences=http://www.tjsimerson.org/fbc/kiosk-firefox-prefs.js
Code: Select all
// Printer settings
user_pref("print.show_print_progress","false");
user_pref("print.always_print_silent","true");
user_pref("print.print_footercenter","");
user_pref("print.print_footerleft","");
user_pref("print.print_footerright","");
user_pref("print.print_headercenter","");
user_pref("print.print_headerleft","");
user_pref("print.print_headerright","");
user_pref("print.print_margin_bottom","0");
user_pref("print.print_margin_left","0.3");
user_pref("print.print_margin_right","0");
user_pref("print.print_margin_top","0");
user_pref("print.print_orientation","1");
user_pref("print.print_shrink_to_fit","false");
user_pref("print_printer","kiosk-printer");