If you redirect the parallel printer output from LPT1 to COM1, but then you decide that you want to print the file using LPT1, enter the following command before you proceed to printing the file:
mode lpt1
This command prevents redirecting files from LPT1 to COM1.
Syntax
mode codepage select =
mode codepage [/ status]
Parameters
Parameters
Describe
Required parameters.Specify the device you want to select the code page.CON is the only valid name for a device.
codepage select =
Required parameters.Specify which code page to use with the specified device.You can abbreviate the codepage select parameter as cp sel .
Required parameters.Specify the code page number to select.The following list shows each supported code page and its country and region or language.
437: United States (United States)
850: Multilingual (Latin countries I)
852: Slavic (Latin countries II)
855: Cyrillic (Russian - Russian)
857: Turkish (Turkey)
860: Portuguese (Portugal)
861: Icelandic (Iceland)
863: Canadian-French (Canada-French)
865: Nordic (Norway)
866: Russian (Russia)
869: Modern Greek (Greece)
codepage
Required parameters.Displays the number of code pages (if any) selected for the specified device.
/ status
Displays the number of current code pages selected for the specified device.You can abbreviate the parameter/ status to / sta . Whether you specify the parameter / status or not, the mode codepage will still display the number of code pages selected for the specified device.
/?
Show help at the command prompt.
Syntax
sub mode [:] [cols =] [lines =]
Parameters
Parameters
Describe
child [:]
Required parameters.Indicates that changes apply to the command prompt window.
cols =
Specify the number of columns in the Prompt command screen buffer .
lines =
Specify the line number in the Prompt command screen buffer.
/?
Show help at the command prompt.
Syntax
mode child [:] [rate = delay =]
Parameters
Parameters
Describe
child [:]
Required parameters.Refers to the keyboard.
rate =
Specify the speed of repeating a character on the screen when you hold the key.
delay =
Specifies the amount of time that will elapse after you press and hold the key before the character output is repeated.
/?
Show help at the command prompt.
Note
The speed at which to type is the speed of repeating characters when you hold the key representing that character.Typing speed has two components, speed and latency.Some types of keyboards may not recognize this command.
Use rate = R :Valid values range from 1 to 32. These values correspond to between 2 and 30 characters per second.The default value is 20 for keyboards compatible with IBM AT and 21 for IBM compatible PS / 2 keyboards.If you set the speed, you must also set the latency.
Usedelay = D :Valid values for D are 1, 2, 3 and 4 (representing 0.25, 0.50, 0.75 and 1 second).The default value is 2. If you set the latency, you must also set the speed.
See more: