These examples are deprecated. I have kept them for compatibility purposes. The new and totally documented API is located at https://parzibyte.me/http-esc-pos-desktop-docs/
Remember that, when printing from the browser, you must use https, localhost o 127.0.0.1. It won't work on sites without HTTPS nor localhost with a different port than 80 (which is the default ) nor IP. If you want to print on the local area network, check:How to print on a network printer
If the examples are not working, make sure that:
  1. The plugin is running in the background. Download it from: https://parzibyte.me/http-esc-pos-desktop-docs/es/guia/descargar.html
  2. Your printer is shared and has a friendly name as indicated in: https://parzibyte.me/blog/en/2019/10/13/how-to-share-printer-windows/

Open cash drawer

I suggest to leave the inputs untouched, but if the default values do not work for you, then you can change them and test. They are based on the docs published at: https://gist.github.com/parzibyte/2f36655ef9d6ea8e6de73c6e09bbc735#file-documentacion-txt

When printing, the cash drawer should be opened

Proudly brought to you by Parzibyte. This site is open source. You can see the source code on GitHub