|
roadhead posted:I have a receipt printer... Interestingly enough I have been messing around with a receipt printer that I got from a friend. It uses a serial connection with a cash drawer, but can use any old serial connection. I use rxtx for the serial communication by the way. ( http://users.frii.com/jarvi/rxtx/ ) The code was modified from examples from Sun and various other sources. It sends a string to the printer and then sends the print command (0x0D on my printer) to print the buffer. http://snipplr.com/view/5264/comm-write/
|
# ¿ Mar 4, 2008 05:29 |
|
|
# ¿ May 2, 2024 17:53 |