473,597 Members | 2,375 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Controling Cash Register With VBA Code

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,N 8,1"
FOR RANDOM AS #1
PRINT #1,"0000000000 "
Anuy Help On This Subject ?
Thanks In Advance

Mar 20 '06 #1
2 3842
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,N 8,1"
FOR RANDOM AS #1
PRINT #1,"0000000000 "
Anuy Help On This Subject ?
Thanks In Advance


Mar 21 '06 #2
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
6329
by: Ryan Q. | last post by:
It works, i'm just posting it hoping someone could do better. print '' print ' *** CASH REGISTER ***' print ' PRESS 0 AND THEN ENTER TO TOTAL' b = 1 t = 0 v = 0 while b != 0: a = 1
5
6311
by: Scott A. Keen | last post by:
Hi, I'm getting tasked with writing an ASP application deployed throughout the company's intranet where all the workstations will be running Internet Explorer 6.0. It's a retail business, and some of the workstations are Point-Of-Sale and will need to have cash drawers and bar-code scanners. The project managers want this as a web-application because of the ease of
1
1960
by: Philippe C. Martin | last post by:
Hi, I just got the pywin32 "hello world" COM server to install and I did manage to use it from VB 6.0. However, there are some glitches I do not comprehend: 1) at one point I got a python runtime error telling me the "testcomserver" was not found - I got rid of that problem by deleteting the appropriate (I hope) registry and reregistering the server
1
4197
by: Earl Anderson | last post by:
My brother is in the process of purchasing a neighborhood dry cleaners store. Having seen some of the process applications I've written in MS Access, he asked me if I could develop an application to use in his new dry cleaning store since the existing one is of 1988 vintage. I told him that although I thought the 'process' involved in a dry cleaners couldn't be too complex and probably could be developed in Access, I had absolutely no...
2
3795
by: carl | last post by:
need to send a command from a POS Application in Microsoft Access 2000 to open a cash drawer. If anyone can help, please contact me. I will pay $$ for very specific directions if I have to. please email me at carl@technology4all.com. Time is of the essence. :-)
1
2634
by: Gen | last post by:
Hello there, I am a leader of a team, developing business application based on the ASP.NET platform. Now we need to add cash register support to the application and it seems to be a bit of a problem. In general communication with the cash register consists of two steps: 1 - Creation of a text file, describing the items, quantities and prices; 2 - Invoke cash register's driver (which is an exe file in most cases), passing the text file...
1
1154
by: vbsoft | last post by:
How do i develop a CASH REGISTER PROGRAM IN VB.NET and that user can put it on a CHIP I NEED UR HELP.
3
28468
by: gggram2000 | last post by:
Hi, I need some assistance. I'ved been searching the web for days now and can't find an example that really helps me. I have an EPSON TM-T88IV printer through which I want to open a cash drawer. I have this class in my project: using System; using System.IO; using System.Runtime.InteropServices; namespace PrintDataGrid /* For a standard cash drawer, there's a physical cable that runs from the cash drawer and plugs into the receipt...
2
3331
Fary4u
by: Fary4u | last post by:
Hi i'm trying to develop a software in VB for Cash Register - Till Operator the only problem is send amount using serial port that can display the amount to pay. i've got this machine Epos Touch Screen Terminal & cash register till Dulwich Software for last 3 day i can't find what should i do any help or any body know any coding which i can use in VB ?
0
7959
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7883
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8021
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6677
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5842
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3876
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3917
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2393
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1492
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.