How to Print in Matrix using PHP and / or Javascript in WEB Applications?

0

Sorry guys, I may be redundant, this question may have been asked, but I confess that I was not satisfied with my searches.

I have an ERP in Delphi, I'm seriously thinking of programming it in PHP because I've done other PHP applications that serve me very well, but the one I want to migrate makes a lot of dot matrix printer use, at this point I'm breaking my head , some may tell me, "but why not migrate to inkjet?", let's face it, there are some impressions that for simple conference, or that will be thrown in the trash in 1 minute, should take into account the cost benefit of a dot matrix printer and also the customer does not want to and does not think it's fair to buy an inkjet printer that is full of fuses to put there on the factory floor ... well let's actually need it.

Is there any way to print in dot matrix printer, considering that the scenario is Web Server and WebBrowser?

That is, my application will be accessed on my web server by the machines that are there on the client (local network) via browser, so the printer to be used is out of direct reach of PHP.

In fact it would be printing via Javascript or some other technology that gave me the condition to send "low" commands to the local printer or network.

For example, in Delphi we send the command to // NetworkManager / SharedPrinter or LPT1 when local or mapped

Is there such a possibility or should I forget this and start with inkjet?

    
asked by anonymous 16.02.2018 / 16:25

0 answers