window.print();
window.print();
Browser AngularJS Service egHatch (JavaScript)
Browser Extension (JavaScript)
Native Application (Java)
{ "action":"print", "content":"<b>Hello, World!</b>", "contentType":"text/html", "showDialog":true, "msgid":10, "from":"page", "clientid":5319, // set by extension "origin":"https://eg.example.org", // set by extension "settings":{"context":"default","printer":"HP-Deskjet-5100", ...} }
# Linux $ ./hatch.sh test # Windows C:\Program Files (x86)\Hatch> hatch.bat test 2017-03-29 13:52:21 FINEST MessageWriter sending: {"clientid":1,"origin":"https://test.hatch... 2017-03-29 13:52:21 INFO Using data directory: /home/berick/.evergreen 2017-03-29 13:52:21 FINEST MessageReader read: {"clientid":1,"origin":"https://test.hatch.... 2017-03-29 13:52:21 INFO Received message id=1 action=keys ...
Administration ⇒ Workstation ⇒ Print/Storage Service ("Hatch")
Administration ⇒ Workstation ⇒ Printer Settings
/
#