Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Java 

Printing on Receipt Printer

If you're talking about an actual Receipt Printer, as in specialized hardware, then I doubt that Java libraries alone will provide the requisite functionality for printing. I would recommend checking the manufacturer's website for more information regarding the printer. Post the model here maybe?
If you're talking about a regular old printer, check the Oracle APIs. I'm about to go dig through them.
Edit: is this helpful? http://docs.oracle.com/javase/7/docs/tec...uides/jps/ http://docs.oracle.com/javase/7/docs/tec...OC.fm.html
(Jan 22, 2014 08:41 PM)Ajax1 Wrote:  If you're talking about an actual Receipt Printer, as in specialized hardware, then I doubt that Java libraries alone will provide the requisite functionality for printing. I would recommend checking the manufacturer's website for more information regarding the printer. Post the model here maybe?
If you're talking about a regular old printer, check the Oracle APIs. I'm about to go dig through them.
Edit: is this helpful? http://docs.oracle.com/javase/7/docs/tec...uides/jps/ http://docs.oracle.com/javase/7/docs/tec...OC.fm.html

why would a receipt printer not work for the java api?? its a printer
(Jan 24, 2014 11:03 PM)Colby_ Wrote:  why would a receipt printer not work for the java api?? its a printer

I would think it would require a specialized driver for support, You could always make it work using the JNI Library and possibly coding something in ASM or C to add support yourself, wouldn't be that hard.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by Will PattersonSep 25, 2021 10:42 PM 4 172 Sep 25, 2021 10:42 PM
Last Post: Able.
[Java] by severosJun 5, 2021 06:30 PM 4 350 Jun 5, 2021 06:30 PM
Last Post: GenericSkid
[Python] by HardStoNJul 14, 2020 08:10 AM 5 322 Jul 14, 2020 08:10 AM
Last Post: Anxuein