Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
04-19-2012, 05:35 AM #1
- Join Date
- May 2011
- Thanked 0 Times in 0 Posts
How to print receipt with receipt printer
Good day every one,
I have been looking for a solution to my problem for two weeks and I have not gotten any luck.
Please can anybody give a clue on how I can print reciept from a reciept printer?
Am developing a POS application using java and my mojor problem now is how to get my application to work with reciept printer.
04-20-2012, 03:24 AM #2
- Join Date
- Jun 2008
- Redmond, WA
- Thanked 100 Times in 94 Posts
Well your receipt printer should function similar to a typical printer plugged into the computer.
Your first step should be confirming this. Get your hands on the printer, plug it into your computer, install any needed drivers, and see if you can print to it from an application.
If so, then all you need to look into is printing in Java. Check out the official documentation here: http://docs.oracle.com/javase/tutori...ing/index.html.
Otherwise, you'll need to contact the printer's manufacturer as they're probably exists some sort of SDK for use in your application.Unless otherwise stated, any code posted is most likely untested and may contain syntax errors.
My posts, comments, code, and suggestions reflect only my personal views.
Web Portfolio and Code Snippets: http://shanechism.com