HP (Hewlett-Packard) 4000 Series, 4050 Series Printer User Manual


 
3-40 Printer Operation
Serial MS-DOS Commands
Most IBM compatible computers default to a parallel printer port. To
ensure that information is sent to the serial printer port, type the
following MS-DOS commands at the MS-DOS prompt, or include
them in the 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
Note These examples assume that you are using serial printer port COM1.
If you are using COM2 or COM3, replace COM1 with 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 either in the root
directory or in a directory specified in a preceding PATH command in
the AUTOEXEC.BAT file.
After changing the AUTOEXEC.BAT file, reboot the computer to
initiate the changes.