Forums Register Login

connecting my Java application to the pos printer

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
@ Ulf Dittmer. Thanks very much, what am thinking is the paper size of pos printer if the basic printing library will work?
Thanks
+Pie Number of slices to send: Send
No idea. See what the printer documentation says, and give it a try.
+Pie Number of slices to send: Send
@ Ulf Dittmer, thanks for your contribution. God bless you.
Power corrupts. Absolute power xxxxxxxxxxxxxxxx is kinda neat.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2477 times.
Similar Threads
Printing with POS Printer
Problem in Threading
Printing in Unix
Need help with POS printer
JavaPOS EPSON printer
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 02:46:19.