wudong / escprinter Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/escprinter
Automatically exported from code.google.com/p/escprinter
What steps will reproduce the problem?
1. Printer Connected throug USB.
2. Process public boolean initialize()
3. ostream = new FileOutputStream(printer);
What is the expected output? What do you see instead?
The Process should creat FileOutputStream on Network Printer.
What version of the product are you using? On what operating system?
ESCPrinter.java found on trunk. On Windows Operating System.
Please provide any additional information below.
The Exact Same code is compiled and ran on Windows 7 and it does work there,
but it doesn't work on Windows XP.
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 9:27
Attachments:
Hi sir I wanted to try this in my local thermal paper what do I have to do?
Original issue reported on code.google.com by [email protected]
on 15 Jul 2014 at 9:52
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
thanks, for providing this code online it realy helped allot... but there is
one more issue kindly assist me it this. can u tell me how to print to default
printer or to a local printer which is connected by lpt1 port or usb,
Original issue reported on code.google.com by [email protected]
on 1 Feb 2014 at 12:02
What steps will reproduce the problem?
1. Using Linux OS.
2. Unable to read file from directory.
3. FileOutputStream is not able to print.
What is the expected output? What do you see instead?
i want to print multiple page using linux os.
What version of the product are you using? On what operating system?
i am using linux mint and kepler eclipse.
Please provide any additional information below.
please help me let out network share name in linux os.
please help me for multiple page printing.
what the procedure for network share name in linux os.
i have DOT MATRIX PRINTER EPSON FX-2175.
Original issue reported on code.google.com by [email protected]
on 15 Mar 2014 at 7:19
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.