Double Redirecting to Administer MS-DOS Printer Server

ID: 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) 

Additional query words: wfw wfwg 2.10 2.1 2.10a 2.1a 2.20 2.2

Keywords :
Version :
Platform :
Issue type :


Last Reviewed: November 9, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.