I'm implementing a system for issuing invoices with fiscal printer in C #, but would like to know if the same is possible via web using JavaScript HTML, CSS etc.
How would I do this? Through which tools and resources?
I'm implementing a system for issuing invoices with fiscal printer in C #, but would like to know if the same is possible via web using JavaScript HTML, CSS etc.
How would I do this? Through which tools and resources?
If you are going to use a tax printer even for tax purposes, forget, the legislation itself prevents it from being used through browsers. Not explicitly but for the requirements for software approval.
Even if it is a non-fiscal printer or used for non-tax purposes, you still have the problem that the printer can only be accessed by the browser. He has control over how to send information to the printer. Even so, it still has the operating system limit.
Often these printers are already problematic to access from a desktop application given the limitations of the operating system. A common solution is to write directly to the port.
Imagine the difficulty of going through this with the extra limitations that the browser imposes. You can try to create a page, probably without HTML, and have it printed and see if you can get a result. But I doubt it works. Outside this may ask for support for the manufacturer but I think it will respond the same as I am responding here.
Otherwise, you can create an application that accesses the printer for the user to access. Eventually it can communicate with the browser but I think this solution is usually bad. Most of the time it is easier to make a desktop application that solves the whole problem. web applications do not solve all problems, a hammer does not work well with a screw . p>
So far I do not know a way to solve this problem otherwise. And it's something I've been looking for quite a bit.
And depending on what the definition of a normal HTML page is, you will not be able to print on this type of printer even if you have direct access to it. These printers are often not able to print sophisticated things like an HTML page.
It's probably not what you want but you can do the print job on the server without wrapping HTML in the print itself, so you have full control like a desktop application.
>