You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for library ! I use with my Epson TM-T81-082.
I use this code:
ESCPrinter escp = new ESCPrinter("\\\\assistenza1\\tm81", true); //create ESCPrinter on network location \\computer\sharename, 9pin printer
if (escp.initialize()) {
escp.setCharacterSet(ESCPrinter.USA);
escp.select10CPI();
escp.print("jMagazzino V1.0 POS");
escp.lineFeed();
escp.print("Username: test@reteivo");
escp.lineFeed();
escp.print("Password: prova");
escp.advanceVertical(5); //go down 5cm
escp.formFeed(); //eject paper
escp.close(); //close stream
}
else
System.out.println("Couldn't open stream to printer");
all work fine, but don't cut the sheet .. if I send a print job from my window,
when it's completed cut the sheet ...
Thanks for your library
Original issue reported on code.google.com by [email protected] on 24 Dec 2013 at 3:57
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 24 Dec 2013 at 3:57The text was updated successfully, but these errors were encountered: