Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Epson printer don't cut sheet after escp.close() #2

Open
GoogleCodeExporter opened this issue Sep 15, 2015 · 0 comments
Open

Epson printer don't cut sheet after escp.close() #2

GoogleCodeExporter opened this issue Sep 15, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant