By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,241 Members | 760 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,241 IT Pros & Developers. It's quick & easy.

Controling Cash Register With VBA Code

P: n/a
Hi There
I Have Finished A Point Of Sale Program On Access, I Still Need To
ControlThe Cash Register Drawer By Code.
In The Manual It Is Mentionned

To Open The Drawer through com1 under qbasic

OPEN "COM1:300,N8,1"
FOR RANDOM AS #1
PRINT #1,"0000000000"
Anuy Help On This Subject ?
Thanks In Advance

Mar 20 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On 20 Mar 2006 13:27:20 -0800, wa********@msn.com wrote:

The MSFT knowledge base is a great source of information. Check it out
some time. You'll find articles like this one:
http://msdn.microsoft.com/library/de.../vbobjComm.asp

-Tom.

Hi There
I Have Finished A Point Of Sale Program On Access, I Still Need To
ControlThe Cash Register Drawer By Code.
In The Manual It Is Mentionned

To Open The Drawer through com1 under qbasic

OPEN "COM1:300,N8,1"
FOR RANDOM AS #1
PRINT #1,"0000000000"
Anuy Help On This Subject ?
Thanks In Advance


Mar 21 '06 #2

P: n/a
This has worked for me in the past
create a 'generic text' printer that is assigned to COM1, with the
proper characteristics
create a report that has a textbox with a control source of
"0000000000"
print the report to this printer

some drawers use the 'bell' - chr(7) - character

Mar 21 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.