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/

Common errors

  1. Printer list is not loading The plugin is not running, you have not given permission, the port was changed or the examples source code was modified.
  2. My printer is not listed You have not installed or shared your printer. Remember that you must share it as indicated in: https://parzibyte.me/blog/en/2019/10/13/how-to-share-printer-windows/
  3. The plugin is working on the examples but not on my website The plugin creates an HTTP server. That server is on localhost, which (from the browser) can be only invoked from HTTPS sites or localhost More info: https://parzibyte.me/blog/2021/10/01/the-request-client-is-not-a-secure-context-and-the-resource-is-in-more-private-address-space-local/
  4. There's a server error The plugin is as transparent as possible. The error will always tell you the reason, whether it's in English or translated, either as an HTTP response or in the log created in the plugin's directory.
  5. I am sending the license but it behaves like if I wasn't sending it Remember that the license must be sent in the "serial" field along with the operations and printer name. If you send an invalid license, the plugin will act as if you weren't sending one. I always test the license on this site in the License example
  6. error 0xc00007b Some users have reported that error which is caused due to a missing DLL. I have included that DLL in the zip and it shouldn't be a problem from now. Make sure to distribute that DLL along the plugin
  7. open Printer: the network name cannot be found o La ruta de acceso especificada no es válida You have not shared your printer, your printer's name is not using letters only or you are trying to print on a LAN.
  8. I need help with the integration Glad to help you athttps://parzibyte.me/#contacto

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