VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Open Cash Drawer Through LPT Printer

by SeanL (1 Submission)
Category: Files/File Controls/Input/Output
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

This code opens a cash drawer that is connected through a printer using a connector that goes from a reciept printer to an electronic cash drawer. This will kick the drawer open. This should work on an epson printer connected to a cash drawer.

Rate Open Cash Drawer Through LPT Printer

Open "LPT1" For Output As #1
Print #1, Chr$(27); Chr$(112); Chr$(0)
Close #1
'Short and simple :)

Download this snippet    Add to My Saved Code

Open Cash Drawer Through LPT Printer Comments

No comments have been posted about Open Cash Drawer Through LPT Printer. Why not be the first to post a comment about Open Cash Drawer Through LPT Printer.

Post your comment

Subject:
Message:
0/1000 characters