== Hatch In a Nutshell
-"Hatch is the bionic arm of the Evergreen browser client" --Anonymous.
+* Unmediated printing across multiple printers
+* File storage free of browser restrictions or garbage collection
+
+[small]_"Hatch is the bionic arm of the Evergreen browser client." --Anonymous._
== Hatch Install Recap
* Install Java code
* Install the Chrome extension
+== Testing the Java Install
+
+[source,sh]
+---------------------------------------------------------------------------
+# Linux
+% ./hatch.sh test
+
+# Windows
+> C:\Users\berick> hatch.bat test
+
+2017-03-10 16:42:04 FINEST MessageWriter sending: {"clientid":1,...
+2017-03-10 16:42:04 INFO Using data directory: /home/berick/.evergreen
+2017-03-10 16:42:04 FINEST MessageReader read: {"clientid":1,...
+2017-03-10 16:42:04 INFO Received message id=1 action=keys
+2017-03-10 16:42:04 FINEST MessageWriter sending: {"clientid":1,...
+2017-03-10 16:42:04 FINEST MessageReader read: {"clientid":1,...
+2017-03-10 16:42:04 INFO TestJSON:doReceive(): {"clientid":1,...
+2017-03-10 16:42:05 FINEST MessageWriter sending: {"clientid":1,...
+...
+---------------------------------------------------------------------------
+
+
== chrome://extensions/
image:images/hatch_chrome_ext.png[Hatch Extension]
image:images/hatch_icon.png[Hatch Diagram]
+== Developer Mode Beware!
+
+image:images/hatch_ext_warning.png[Hatch Extension Warning]
+
== Hatch Config UI
-image:images/hatch_config.png[Hatch Config]
+image:images/hatch_settings.png[Hatch Config]
== Hatch Printing UI
image:images/hatch_print_config.png[Hatch Print Config]
+== Hatch Message Flow
+
+image:images/Hatch_Flow_Diagram.png[Hatch Diagram]
+
== A Quick Word on Rendering Print Templates
* Browser inserts template HTML into the page DOM.
** Hatch does not inject any JS or CSS (but it can load remote content,
i.e. scripts, css, images, etc.).
-== Browser Extension Loading / Debugging
-
-https://developer.chrome.com/extensions/nativeMessaging
-
-TODO: Extensions running in developer mode can harm your computer...
-
-== Hatch Message Flow
-
-image:images/Hatch_Flow_Diagram.png[Hatch Diagram]
-
== Native Messaging API
Sample print message JSON.
== Hatch Data Files
-[source,js]
----------------------------------------------------------------------------
----------------------------------------------------------------------------
+Data is stored by default in the ".evergreen" directory in the user's
+home directory.
+
+image:images/hatch_data_dir.png[Hatch Data Dir]
+
== Hatch Settings Files