A DOS print redirector enables you to print from a DOS application to a network printer. To enable DOS printing, you must first add the printer using the Windows 95 or Windows NT Printer Wizard.
Once the printer has been added, enable DOS printing by associating the network printer with an LPT port on your computer (referred to as capturing a port). Print requests that are sent to that port are then redirected to the network printer.
On a Windows 95 system, you can enable DOS printing by capturing a printer port with Print Wizard or with the net use command:
net use LPT# \\server_name\printer_queue_name
where # is number 1-4.
Click the Start button, point to Settings, and then click Printers.
Right-click a printer icon and then click Properties.
Click Details.
The printer Properties window opens.
Click Capture Printer Port.
The Capture Printer Port window opens.
Select an LPT port: LPT1, LPT2, LPT3, or LPT4.
Type the path of the selected printer. For example,
pcnfsd://server_name/printer_queue_name
or
lpr://server_name/printer_queue_name
Click OK on the Capture Printer Port window.
Click OK in the printer Properties window.
On a Windows NT system, you can use the print pooling option to pool a network printer with an unused LPT port. When you send a print request to that LPT port, the document will be redirected to the network printer.
Click the Start button, point to Settings, and then click Printers.
Right-click a printer icon and then click Properties.
The printer Properties page opens.
Click Ports.
Select Enable Printer Pooling.
Select a port-- LPT1, LPT2, or LPT3--that does not have a local printer attached to it.
You should now be able to print to the LPT port from a 16-bit DOS application.