Msbatch.inf Parameters: Installing Printers

Last reviewed: December 12, 1996
Article ID: Q157866
The information in this article applies to:
  • Microsoft Windows 95

SUMMARY

This article describes how to install printers using the Msbatch.inf file for batch installations of Windows 95.

MORE INFORMATION

Microsoft does not encourage or support changes to .inf files; therefore, Microsoft Technical Support does not support the procedure in this article. Although we have tested the following procedure and it appears to function as described, make a backup copy of your .inf file before you proceed.

In the Msbatch.inf file, modify the [printers] section to select printers to be installed during Setup. The following sections illustrate various printer selections.

No Printer

If you do not want to install a printer, make sure the [printers] section exists but contains no entries.

Local Printers

MyPrinter=HP LaserJet IIIsi,LPT1

This entry specifies the friendly name of the printer (MyPrinter), the name of the printer from the Msprint.inf file (HP LaserJet IIISi), and the port to which it is connected.

Network Printers

Networkprinter=HP LaserJet IIIsi,\\<printserver>\<printer>

This entry specifies the friendly name (Networkprinter), the name of the printer from the Msprint.inf file (HP LaserJet IIISi), and the server and share name for the print queue.


KBCategory: kbsetup kbprint
KBSubcategory: win95 winbatch
Additional Reference Words: automate


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 12, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.