Device IO
Last edited by
KogAdmin:
draft Fri, 16 Jun 2006 03:45 PDT [
diff]
NOTE: this is all draft quality, stream of consciousness spat out at ~0338 on a Friday morning...
Cash drawer
Going to use javax.comm at the moment. It'll limit the current platforms, unfortunately, to Linux, Solaris and Win32 - although there may be a FreeBSD port by now. I'm not sure what exactly a cash drawer really understands in terms of instructions - probably just knows that when voltage is passed it needs to open.
In the event javax.comm fails for either me, or a user, JNI may come in handy, or a native serial server <-IPC-> app would work (see my
HeartOfGold project for details_
Printer
Looking at the Java Printing API. Only problem is you need something printable - which looks like it might be images. We'll really only need to print receipts and return notices - but the printer is also specialized. Going to need some sort of test on this, which will be rather hard since we don't have any spares.
This page is
CategoryJPoS
There are no comments on this page. [Add comment]