Serial MS-DOS Commands

Most IBM compatible computers default to a parallel printer port. To ensure that information is sent to your serial printer port, type the following MS-DOS commands at your MS-DOS prompt, or include them in your AUTOEXEC.BAT file.

MODE COM1:9600,N,8,1,P

MODE LPT1:=COM1

For MS-DOS version 4.0 or above, enter:

MODE COM1:9600,N,8,1,B

MODE LPT1:=COM1

N o t e

These examples assume that you are using serial

 

printer COM1. If you are using COM2 or COM3,

 

replace COM1 with the the printer port that you

 

are using.

Since the MODE command is an external MS-DOS command (a program named MODE.COM is run when the MODE command is invoked), the program file must be contained in the root directory, or in a directory specified in a preceding PATH command in the AUTOEXEC.BAT file.

N o t e

After changing the AUTOEXEC.BAT file, reboot

 

the computer to initiate the changes.

3-32 Configuration

Page 68
Image 68
HP 5 C3916A, C2021A, 5n C3952A, 5m C3917A, 4 plus C2037A, 4 C2001A manual Serial MS-DOS Commands