The document describes how to print from DOS using USB.
1. Install the printer to the USB port, in other words, USB00x (for example USB001/USB002/USB003).
2. Share the printer. Assume that the printer share name is HPPRINTER
for an HP LaserJet 4600 printer. Also assume that the computer name is COMP1
3. Open the DOS command prompt.
Then use the following command syntax:
NET USE LPT1 \\COMP_NAME\PRINTER_SHARE_NAME
NET USE LPT1 \\COMP1\HPPRINTER
This should all be on the same line. It basically redirects output on LPT1 to the shared printer HPPRINTER
NET VIEW \\COMP_NAME
To see the connection.
For example, NET VIEW \\COMP1
Screen shows something similar to Shared resources at \\COMP1 Share name TypeUsed as Comment
LPT1 HP Color LaserJet 4600 PCL 6
(The list of all shared resources and their types are displayed.)
Now try printing anything from DOS or DOS based
applications, and the printing should be redirected to the USB connected
4. If you do not need the connection anymore,
you can delete the connection by using the following command from the
DOS command prompt:
NET USE LPT1 /DELETE