home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / mode / examples.hlp < prev    next >
Encoding:
Text File  |  1989-01-01  |  1.5 KB  |  42 lines

  1. SAMPLE command and resulting output   | Comments about the output
  2.  
  3.   MODE LPT1:132,6            This command instructs the
  4.                     printer connected to printer
  5.                     port #1 to print 132 character
  6.                     lines with 6 lines per inch.
  7.  
  8.   MODE COM1:96,N,8,1            This command instructs DOS to
  9.                     prepare the COM1 communications 
  10.                     port for 9600 baud communications,
  11.                     with no parity checking, 8-bit
  12.                     characters, and 1 stop bit.
  13.  
  14.   MODE LPT3:80,8            Here we are setting the printer
  15.                     on port #3 to an 80 character
  16.                     page width and 8 lines per inch.
  17.  
  18.   MODE 80,R,T                This example says to display 80 
  19.                     characters per line, shifted one 
  20.                     column right, with a test pattern.
  21. LPT2:,,P...Resident portion of MODE installed    This was the first use of MODE,
  22.                         so it printed an initialization
  23.                         message.
  24.  
  25.   MODE CON CP PREP= (437,,850) \DOS\EGA.CPI This example says the first code
  26.                     page is 437, the second code page will
  27.                     remain whatever it was on the previous
  28.                     MODE PREP command for the CONsole
  29.                     device, and the third code page will 
  30.                     be 850. The code pages are to be taken 
  31.                     from the file EGA.CPI in the directory 
  32.                     \DOS.
  33.  
  34.   MODE CON CP SEL= 437            This example selects the code page 437
  35.                     to be the active code page. 437 must 
  36.                     have been PREPared by a previous MODE
  37.                     command.
  38.  
  39.   MODE LPT1: CP /STA            The active code page and a list of
  40.                     previously PREPared code pages for
  41.                     printer port 1 will be displayed.
  42.