Define a generic text printer that points to the port com1 and try that.

 

Emmitt Dove

Manager, DairyPak Business Systems

Evergreen Packaging, Inc.

[EMAIL PROTECTED]

(203) 214-5683 m

(203) 643-8022 o

(203) 643-8086 f

[EMAIL PROTECTED]

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2008 2:48 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Writing to COM port

 

Any thoughts on the following?

 

Output COM1

Write .vVar1

Write .vVar2

Write .vVar3

OutPut Screen

 

Nothing goes to the COM port.  (I have a LED communications monitor on the
port)

 

Output Test.dat

Write .vVar1

Write .vVar2

Write .vVar3

OutPut Screen

 

Output COM1

Type test.dat

Output screen

 

Nothing goes to the COM port.

 

Make a batch file Test.Bat containing: 

Print /D:COM1 Test.dat

Exit

 

Launch Test.Bat

The data flows to the COM port perfectly.

 

I would like not to use the Launch command if possible.  Help states :

The following command sends data and messages to the printer, designated as
COM1. COM1 is treated as a file that is automatically copied to a printer
device when the OUTPUT SCREEN command is issued. 

OUTPUT COM1 

 

Any thoughts on how I write to the COM1 serial port directly without using
Launch?

 

Thanks,

-Bob

 

--
Thompson Technology Consultants 
LaPorte, IN 46350 
219-363-7441

 

Reply via email to