ng-thermal-print
ng-thermal-print copied to clipboard
Is it possible to print any text with WebPRNT?
I have been able to connect the printer to the network and when I press Connect to WebPRNT it prints the web request.
Now I wonder how I can make it print any text like the one in the example:
this.printService
.init ()
.setBold (true)
.writeLine ("Hello World!")
.setBold (false)
.feed (4)
.cut ("full")
.flush ();
Using webPrintDriver is it possible to print any text? So far it does not print anything other than the request from the web
Only print this:
When I execute :
this.printService .init () .setBold (true) .writeLine ("Hello World!") .setBold (false) .feed (4) .cut ("full") .flush ();
this is the ERROR Cannot initiate the print service. No connection detected.
And when execute:
this.printService .setDriver(this.webPrintDriver, "WebPRNT")
print the http response