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.
Open "LPT1" For Output As #1
Print #1, Chr$(27); Chr$(112); Chr$(0)
Close #1
'Short and simple :)