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:
Select your printer from the list.
Make sure it is a thermal one.
Click Print and a receipt should be printed. The ticket
should look like the one in the image below
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
If everything goes well and a ticket is printed, congratulations, now you can invoke the plugin from any programming language