SBotirov
SBotirov

Reputation: 14138

How to print a cheque through the receipt printer in Java?

I have pos58 receipt printer(printer made in China), this printer supports ESC-POS Commands. I want to print out a cheque in Java without JavaPos api. Just I don't know how do this.

Is there some way to implement it? Or what the library is? Or are there any examples of that?

Thanks for advance.

Upvotes: 0

Views: 1409

Answers (1)

Elemental
Elemental

Reputation: 7476

The easiest way would be to find a way to write a text stream (or even better byte stream) to the printer (this really depends how the printer is connected COM port? USB?)

I have worked with numerous POS printers over the years and once you can get ANY text at all you should find the escape codes to handle the details of paper loading etc quite easy to manage.

Upvotes: 2

Related Questions