Skip to main content

Open Cash Drawer with ttyUSB under Linux

Recently involve in POS System, and I facing a problem that client don't buy receipt printer, without receipt printer the cash drawer won't open.

I found an solution, is Cash Drawer trigger DT-100U, this device will kick open any standard cash drawer protocol, below is how I integrate the solution to opensouce pos.

The trigger device will kick when receive ANY message from USB port, exe the cmd below 1 by 1, you will have your cash drawer open.

# sudo chmod 777 /dev/ttyUSB0

pls note that not always is ttyUSB0, is can be ttyUSB1 or 2 3 ....

# echo -en '1' > /dev/ttyUSB0

your cash drawer should opened now......

Comments

Popular posts from this blog

How to Archive your mailbox with outlook 2010

Below is the steps to archive the mailbox, please do the housekeeping to avoid mailbox full. File -> Mailbox Cleanup -> Archive Click on "INBOX" of your email account. Browse to select location to store the archive file. e.g. C:\Users\user\AppData\ Local\Microsoft\Outlook\ archive.pst Click OK to proceed.