Difficulty: Easy
Correct Answer: MODE LPT1=COM1
Explanation:
Introduction / Context:
Legacy applications often send print jobs to parallel ports (LPT1). When only a serial printer is available, DOS can redirect output from LPT1 to COM1 using the MODE command. Correct syntax is vital for successful redirection.
Given Data / Assumptions:
Concept / Approach:
Use MODE to bind logical devices. The canonical form is MODE LPTn=COMm. After binding, any program printing to LPT1 actually transmits data through COM1, assuming compatible serial settings.
Step-by-Step Solution:
Verification / Alternative check:
After redirection, issuing a print test results in activity on the serial port. Documentation for MODE shows the LPT-to-COM mapping syntax exactly as above.
Why Other Options Are Wrong:
Common Pitfalls:
Forgetting to set serial parameters to match the printer, or overlooking that some applications bypass DOS and talk directly to hardware (rare), which can defeat redirection.
Final Answer:
MODE LPT1=COM1
Discussion & Comments