Which DOS command will configure a serial printing port? A. Parallel serial B. Mode LPT1=C0M1 C. Direct LPTl=COMl D. Mode printer ()-serial () E. None of the above

Parallel serial
Mode LPT1=C0M1
Direct LPTl=COMl
Mode printer ()-serial () E. None of the above

The correct answer is D. Mode printer ()-serial ().

The Mode command is used to configure serial ports. The syntax for the Mode command is:

Mode [device] [parameters]

The device parameter is the name of the serial port to be configured. The parameters parameter is a list of options that control the configuration of the serial port.

The option to configure a serial port for printing is -p. For example, to configure serial port COM1 for printing, you would use the following command:

Mode COM1 -p

This command would set the baud rate to 9600, the data bits to 8, the stop bits to 1, and the parity to none.

The other options in the question are not valid DOS commands.

Exit mobile version