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/

Try plugin

  1. Make sure your printer is installed and shared as indicated in: https://parzibyte.me/blog/en/2019/10/13/how-to-share-printer-windows/
  2. Select your printer from the list. Make sure it is a thermal one.
  3. Click Print and a receipt should be printed. The ticket should look like the one in the image below
  4. Depending on your printer model, some things may vary. For example, maybe the images are not supported or the diacritic text is malformed. Here's where you have to adapt the plugin to your printer by using the docs
  5. If everything goes well and a ticket is printed, congratulations, now you can invoke the plugin from any programming language
  6. Remember that I'm glad to help at https://parzibyte.me/#contacto
  7. If you're wondering, my printer is one of the simplest on the market. It's the Xprinter 58.

When printing, the result receipt should be as follows:

Resultado de impresión de ticket con plugin versión 3

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