This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

connecting my Java application to the pos printer

 
Julius Adek
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please, am developing an application that will be used for printing receipt but i don't know if there is a library for connecting my Java application to the pos printer. The printer is "sam4s ellix 2011s POS printer." Please your help will be highly appreciated.
Thanks.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's a starting point for printing from Java code: http://docs.oracle.com/javase/7/docs/technotes/guides/jps/spec/JPSTOC.fm.html. Chapter 1 has basic code that selects a printer and prints to it; if the driver for your printer is installed, I would expect it to be one of the available options in the PrintService[] services array.
 
Julius Adek
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@ Ulf Dittmer. Thanks very much, what am thinking is the paper size of pos printer if the basic printing library will work?
Thanks
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No idea. See what the printer documentation says, and give it a try.
 
Julius Adek
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@ Ulf Dittmer, thanks for your contribution. God bless you.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic