Changes

m
Line 99: Line 99:  
</pre>
 
</pre>
   −
Setup of Dolibarr module: With TakePOS connector 18+, as soon as the module is activated, TakePOS will use the Java server "Hardware bridge" as print method. To switch back to use the bowser, you must disable the module.
+
Setup of Dolibarr module: With TakePOS connector 18+, as soon as the module is activated, TakePOS will use the Java server "Hardware bridge" as print method. To switch back to use the browser, you must disable the module.
 +
The Java server accept websocket from the browser of the local computer. So when the server is stopped or restarted, it can warm the browser with a popup.
 +
The local browser (The module TakePOS connector) is sending the print request by sending the Raw text content encoded in Base64.
 +
 
    
Setup of the Java hardware Bridge:
 
Setup of the Java hardware Bridge:
This gateway run on Windows. You can download a release at https://github.com/imTigger/webapp-hardware-bridge/releases/. Click on a the version you want, so you will reach the list of files to download. You can download the zip file with the java server.
+
This gateway run on Windows (or Linux but dev for Linux is not complete). You can download a release at https://github.com/imTigger/webapp-hardware-bridge/releases/. Click on a the version you want, so you will reach the list of files to download.
On windows, you can also download the '''whb-x.y.0.exe''' and run it.
+
 
 +
For a bridge on Windows: Download and execute the '''whb-x.y.0.exe''' and run it. This will install and run the server. Also, from the board of running application, you will find an icon that allow you tu run the Configuration. Run the configuration and select the POS serial printer. If you don't have a POS serial printer, you can select "Fallback to default printer", then install a virtual POS driver (like the EMF Virtual Printer available at https://www.colorpilot.com/emfprinter_versions.html) and finally set this virtual Driver as the default printer.
 +
 
 +
For a bridge on Linux:  You can download the zip file with the java server and run the java server by launching it from the command line. However, it seems not possible to run the Configurator to select the printer. So on Linux, the server may not work properly.
    
= Related videos =
 
= Related videos =
 
<youtube width="200" height="120">I7ZNzj6uzHc</youtube>
 
<youtube width="200" height="120">I7ZNzj6uzHc</youtube>