-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
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 sascha.p...@gmail.com on 24 Dec 2013 at 3:57