home *** CD-ROM | disk | FTP | other *** search
- SAMPLE command and resulting output | Comments about the output
-
- MODE LPT1:132,6 This command instructs the
- printer connected to printer
- port #1 to print 132 character
- lines with 6 lines per inch.
-
- MODE COM1:96,N,8,1 This command instructs DOS to
- prepare the COM1 communications
- port for 9600 baud communications,
- with no parity checking, 8-bit
- characters, and 1 stop bit.
-
- MODE LPT3:80,8 Here we are setting the printer
- on port #3 to an 80 character
- page width and 8 lines per inch.
-
- MODE 80,R,T This example says to display 80
- characters per line, shifted one
- column right, with a test pattern.
- LPT2:,,P...Resident portion of MODE installed This was the first use of MODE,
- so it printed an initialization
- message.
-
- MODE CON CP PREP= (437,,850) \DOS\EGA.CPI This example says the first code
- page is 437, the second code page will
- remain whatever it was on the previous
- MODE PREP command for the CONsole
- device, and the third code page will
- be 850. The code pages are to be taken
- from the file EGA.CPI in the directory
- \DOS.
-
- MODE CON CP SEL= 437 This example selects the code page 437
- to be the active code page. 437 must
- have been PREPared by a previous MODE
- command.
-
- MODE LPT1: CP /STA The active code page and a list of
- previously PREPared code pages for
- printer port 1 will be displayed.