Search Tools Links Login

Open Cash Drawer Through LPT Printer


Visual Basic 6, or VB Classic

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.

Original Author: SeanL

Code

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

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 181 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.