Microsoft KB Archive/119256

= Setting Automatic Printing to a File Name in Windows NT =

Article ID: 119256

Article Last Modified on 2/20/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows NT Advanced Server 3.1
 * Microsoft Windows NT Workstation 3.1
 * Microsoft Windows NT Advanced Server 3.1
 * Microsoft Windows NT Workstation 3.5
 * Microsoft Windows NT Workstation 3.51
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Server 3.5
 * Microsoft Windows NT Server 3.51
 * Microsoft Windows NT Server 4.0 Standard Edition

-



This article was previously published under Q119256





SUMMARY
This article describes how to enable automatic printing to a file in Windows NT.



MORE INFORMATION
To enable automatic printing to a file in Windows NT 3.x, follow these steps:


 * 1) In Print Manager, click Create Printer on the Printer menu.

NOTE: If the printer already exists, select the printer, click Properties on the Printer menu, and then follow steps 3-5.
 * 1) In the Create Printer dialog box, type the printer name and description details in the Printer Name box, and then press ENTER.
 * 2) In the Print To dialog box, click Network Printer in Windows NT 3.1 or click Other in Windows NT 3.5x, and then click Local Port.
 * 3) In the Local Port box, type the 8.3 file name (include the drive and path if necessary) to which you want to print.
 * 4) Click OK. At this time, Print Manager may need to install the printer driver software.
 * 5) Changing the Print Setup settings in your programs to print to this newly created printer causes automatic printing to the file name supplied in step 4.

To enable automatic printing to a file in Windows NT 4.0, follow these steps:


 * 1) In the Printers folder, click Add Printer.

NOTE: If the printer already exists, select the printer, click Properties on the File menu, and then follow steps 3-9.
 * 1) Click My Computer, and then click Next.
 * 2) Click the Ports tab.
 * 3) Click Add Port.
 * 4) Click Local Port.
 * 5) Click New Port.
 * 6) Type a path and file name for the file, using either long file names or 8.3 naming conventions.
 * 7) Click OK.
 * 8) Click Close, and then click OK.

Additional Information
Windows 3.1 supports automatic printing to a file by modifying the Win.ini file so that programs print to the same file name. This disables the dialog box that prompts for a file name and writes to the same file name every time. This behavior is useful for certain programs that need to be automated.

Windows NT stores all the user-defined print information in the registry; it does not allow you to modify an .ini file to disable the pop-up messages prompting for a file name from program.

Additional query words: prodnt print to file 3.10

Keywords: kbprint KB119256

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.