I have an ancient POS printer Axhiohm A470 LINK. You won't find drivers to this printer on the Internet. One way to print (text mode only) is to send print job directly to LPT1 (printer is connected to lpt). After some digging I found that it's pretty easy. Only thing you have to do is correctly create file LPT1 and write to it. I wrote a short program that does the work. However, it prints only slips. The other function of the printer is to validate receipts (or that's how I think it's called). There a slit next to where slip comes out. You can put a receipt inside and printer will print on the receipt. I don't know how to make the printer do that. Anyone knows ?
EDIT:
This might be the answer ESC/POS commands but I have no idea which code that might be.
EDIT:
This might be the answer ESC/POS commands but I have no idea which code that might be.