Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Write to COM1 Port

Status
Not open for further replies.

Gigatech

Programmer
Jul 12, 2000
80
CR
I'm a Delphi 5 user. I need to open a cash drawer that is connect to COM1 port. I need to send the string CHR(27)+CHR(112)+CHR(0)+CHR(10)+CHR(100) direct to the port COM1.
Any help?

Thanks
 
Hello Gigatech
I notice that you havent logged on since 10 Sept so I don't know if you will see this or if it still of any relavence.

I use a 3rd party component called TCommportDriver to access the PC comm ports.

It's writen by Marco Coco
E-mail: d3k@mdnet.it
URL :
However I dont know if his web site is still live.
If you can get hold of it there are some example programs to show how to use. it should be simple to send the character string you mention.

Steve.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top