Double Redirecting to Administer MS-DOS Printer Server (99289)






This article was previously published under Q99289

SUMMARY

Although you cannot use OS/2 ADMIN or WINDOWS ADMIN to administer the queues on an MS-DOS printer server (LAN Manager 2.1a), you can set up a print queue that you can administer on a LAN Manager server, then redirect output to the MS-DOS printer.

MORE INFORMATION

This method is double redirection, and the print path is:
Client Machine             LM Server             DOS Print Machine
=============              =========             ==================
LPT1=\\server\share -> smart queue for LPTx
                      LPTx=\\dosprnt\share ->  LPT1 connected to printer
                                           (\\dosprnt\share=LPT1 share out)
				
From the initiating client's perspective, the print job appears to be using a print resource located on the LAN Manager server (the \\server\share to a printer). When the print job arrives, the server redirects it to a Windows for Workgroups print share (\\dosprnt\share).

Note: The server could also direct it to a print share on a different LAN Manager server.

In setting up the LAN Manager server, you must include these four lines in its STARTUP.CMD to ensure the correct order in re-establishing the server share:
   net share \\server\share /d  (remove the server share)
   net use lptx = /d            (optional--ensures next net use)
   net use lptx=\\dosprnt\share (establish the redirection)
   net share share=lptx         (add \\server\share back again)
				

Modification Type: Major Last Reviewed: 7/30/2001
Keywords: KB99289