Koha Test Wiki MW Canasta on Koha Portainer

Test major Koha Wiki changes or bug fixes here without fear of breaking the production wiki.

For the current Koha Wiki, visit https://wiki.koha-community.org .

Configure Automatic Receipt Printing

From Koha Test Wiki MW Canasta on Koha Portainer
Jump to navigation Jump to search

For Epson TM-T88III (3) & TM-T88IV (4) Printers (Scroll down for instructions for the TM-T88II):

In the Print Driver:

We are using version 5,0,3,0 of the Epson TM-T88III print driver; the EPSON TM-T88IV version is ReceiptE4. Register at the EpsonExpert Technical Resource Center website to gain access to the drivers; go to Technical Resources, then choose the printer model from the Printers drop-down list.

Go to your printer properties: Click Start → Printers and Faxes → Right click the receipt printer → Properties: (XP)

  • Advanced Tab, click Printing Defaults button
  • Layout Tab: Paper size: Roll Paper 80 x 297mm
  • TM-T88III: Layout Tab: Check Reduce Printing and Fit to Printable Width
  • TM-T88IV: Check Reduced Size Print; Click OK on the popup window that appears. Fit to Printable Width should be automatically selected.
  • OK your way out of there.

In Firefox:

Note: For an alternative see Setting_up_slip_printer_to_print_silently

Under File → Page Setup:

  • Shrink to fit page on Format & Options tab
  • 0,0,0,0 for Margins on Margins & Header/Footer Tab. This makes the receipts use all available space on the paper roll.
  • Set all Headers/Footers to –blank–. This removes all of the gunk you might normally find on a print from firefox, such as the URL, number of pages, etc.
  • Click OK

Set the default printer settings in Firefox so you don’t see a “Print” dialog:

  • Go to File -> Print
  • Set the Printer to the receipt printer.
  • Click the Advanced (or Properties) button
  • Layout Tab: Paper size: Roll Paper 80 x 297mm
  • TM-T88III: Layout Tab: Check Reduce Printing and Fit to Printable Width
  • TM-T88IV: Check Reduced Size Print; click OK on the popup window that appears. Fit to Printable Width should be automatically selected.
  • OK your way out, go ahead and print whatever page you are on.
  • Type about:config, in the address bar. Click “I’ll be careful, I promise!” on the warning message.
  • Type, print.always in Filter.
  • Look for print.always_print_silent.
  • If the preference is there then set the value to true.
  • If the preference is not there (and it shouldn’t be in most browsers) you have to add the preference.
  • Right click the preference area and select New –> Boolean
  • Type print.always_print_silent in the dialog box and set the value to True. This sets the print settings in Firefox to always use the same settings and print without showing a dialog box.

For Epson TM-T88II (2) Printers:

Register at the EpsonExpert Technical Resource Center website to gain access to the drivers; go to Technical Resources, then choose the printer model from the Printers drop-down list.

In Firefox:

Note: For an alternative see Setting_up_slip_printer_to_print_silently

Under File → Page Setup:

  • Check “Shrink to fit page” on Format & Options tab
  • 0,0,0,0 for Margins on Margins & Header/Footer Tab. This makes the receipts use all available space on the paper roll.
  • Set all Headers/Footers to –blank–. This removes all of the gunk you might normally find on a print from firefox, such as the URL, number of pages, etc.
  • Click OK
  • Set the default printer settings in Firefox so you don’t see a “Print” dialog:
  • Go to File -> Print
  • Set the printer to the receipt printer.
  • Print whatever page you are on.
  • Type about:config, in the address bar. Click “I’ll be careful, I promise!” on the warning message.
  • Type, print.always in Filter.
  • Look for, print.always_print_silent.
  • If the preference is there then set the value to true.
  • If the preference is not there (and it shouldn’t be in most browsers) you have to add the preference.
  • Right click the preference area and select New –> Boolean
  • Type, print.always_print_silent in the dialog box and set the value to True. This sets the print settings in Firefox to always use the same settings and print without showing a dialog box.

CAUTION – Setting the print.always_print_silent setting in about:config DISABLES the ability to choose a printer in Firefox. See Using Portable Firefox as a Koha Client for a way to allow your users to print to any printer from their locally installed Firefox.

In Chrome

  • Click the three dots on the top right of the browser -> Print
  • Set the printer to the receipt printer.
  • Make sure your receipt printer is selected.
  • Open up More Settings
  • Under Margins select None. This makes the receipts use all available space on the paper roll.
  • Un-check the Heads and footers under options. This removes all of the gunk you might normally find on a print from chrome, such as the URL, number of pages, etc.
  • Click OK
  • Print the page to save the settings. You will need to do this anytime you change the settings.
  • To auto print in Chrome, you will need to set up a modified shortcut.
  • Begin by creating a new shortcut on your desktop.
  • Right click the new shortcut and select properties.
  • Under General you can rename the icon to Autoprint if you want
  • Under the Shortcut tab find the target field.
  • At the end of the target, after the last " add a space and then --kiosk-printing
  • Hit OK to save the settings.

CAUTION - Setting kiosk mode Disables the ability to choose a printer in Chrome, however they can still open a non-kiosk mode of Chrome by not using the modified shortcut (including if Chrome is pinned to the toolbar in windows 7+).