User Tools

Site Tools


dev:browser_staff:hatch:who_needs_it

This is an old revision of the document!


Do I Need The Java Shim (AKA Hatch) For My Browser Staff Client?

Printing

I need to print unmediated (without a dialog) to multiple printers, like receipt and label printers.

You need Hatch

I need to print to exactly one printer unmediated.

You do NOT need Hatch
  • Firefox and Chrome both provide mechanisms for dialog-free printing.
    • For example, in Firefox, it means adding an about:config boolean preference called "print.always_print_silent" with a value of "true".
  • Note: only activate silent printing after initial printer configuration.

I need to apply custom printer settings

You do NOT need Hatch
  • When printing via the browser, use the browser's native print configuration dialog instead of the Evergreen/Hatch print configuration tool.

Offline

I create offline transactions

You need Hatch
  • NOTE: the development community decided as a policy to require Hatch for storage of offline transaction files. Hatch provides better security from unintentional deletion, more capacity, and allows us to back the files up locally for disaster recovery / historical reference, etc. Technically, though, small batches of offline transactions could be stored directly in the browser, avoiding the need for Hatch. Whether that's a good idea, though, is debatable.

I manage offline sessions (upload batches)

You need Hatch
  • See also note from above
  • NOTE: uploading externally created offline files will be handled via file upload, similar to the XUL client. It's conceivable that a shared Hatch instance could aggregate the files instead, avoiding the need for manual file upload, but there are no specific plans yet to implement anything like this.

Storing Local Preferences

I need to store local preferences (workstation, grid layout, other UI preferences) outside of the browser in a shared location

You need Hatch
  • Do this to persist preferences across multiple browsers
  • Do this to prevent tampering with preferences or the workstation name by staff via the browser developer tools.
    • Note: you can also do this by disabling access to the developer tools through browser configuration. (e.g. Chrome User Policies)

I'm fine storing all preferences directly in the browser

You do NOT need hatch
  • The browser's local storage will be used.
dev/browser_staff/hatch/who_needs_it.1399047103.txt.gz · Last modified: 2022/02/10 13:34 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.