Motherboard Forums


Reply
Thread Tools Display Modes

initialize serial port

 
 





















miguel.ossa
Guest
Posts: n/a

 
      02-14-2004, 08:25 PM


Hi to all!

I have a very strange problem... I am working with a fiscal printer on
Polland, and trying to communicate with it. I have a program in Visual
C++ 1.52, over MS/DOS, that initializes the port using int 14h,
function 00h (the same that does the mode.com command).

I can send any information to the printer using COM1, and the printer
hears me with no problem, but it's not answering to any command.

If I previously execute MSD.EXE, and then I press "C" (Com port
status), then the thing works properly.

Does anybody knows which function I can use to emulate this program?
Or does anybody have another program that does exactly the same
function without interaction with the user? I need to activate the
ports in a public commerce, and I don't want they press "c" and "F3"
every morning in order to work (it's not a clean solucion, isn't it?).

Well, I would appreciate any suggestion... I am leaving Polland this
sunday...
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inspiron 531 serial port tim fm ct Dell 21 11-29-2007 04:26 PM
[LONG] Problems with new ddr400 ô_ô Asus 0 05-07-2007 10:00 PM
Serial port card in AW9-Max? Scott Smith Abit 2 03-08-2007 05:53 PM
Adding Serial Port to Desktop Von Fourche Dell 2 03-03-2007 03:57 AM
P5P800 SE PCI Slots and shared interrupts John Asus 4 02-24-2007 11:38 AM


All times are GMT. The time now is 04:59 PM.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43