Adding a Filename to Print to in Print Manager

Last reviewed: May 13, 1997
Article ID: Q110160

The information in this article applies to:
  • Microsoft Windows NT operating system version 3.1
  • Microsoft Windows NT Advanced Server version 3.1

Windows NT can be configured to print directly to a specified file without prompting for a filename. You can accomplish this by adding a value to the Registry. Once you add the value, you can configure an additional port from Print Manager.

To add the value, use the following procedure:

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

  1. Start Registry Editor and locate the following Registry subkey:

          HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
          \Windows NT\CurrentVersion\Ports
    

  2. From the Edit menu, choose Add Value. In the Value Name field type the
full path and filename you would like to print to (c:\print2.fil for example). Select REG_SZ for the data type. Leave the String field Blank.

  1. Save your changes and exit Registry Editor.

  2. Exit Windows NT and restart your computer.

  3. Start Print Manager and select the correct printer.

  4. Choose Properties from the Printer menu.

  5. From Print To, select the filename you specified in Step 2.


Additional query words: prodnt
Keywords : kbprint ntprint ntregistry NTSrvWkst
Version : 3.1
Platform : Windows


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: May 13, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.