How to Print Windows NT 4.0 EMF Spool Files

Last reviewed: March 11, 1998
Article ID: Q179774
The information in this article applies to:
  • Microsoft Windows NT Workstation version 4.0
  • Microsoft Windows NT Server versions 4.0

SUMMARY

When troubleshooting printing problems with Windows NT 4.0, it may become necessary to capture the .spl file from a particular print job for later examination and test printing. When you to copy this file to a Windows NT 4.0 print queue, the output from the printer may come out as a mixture of text and printable and nonprintable extended ASCII codes. This is most likely because the file was spooled in the EMF format.

MORE INFORMATION

To force Windows NT to print a .spl file using EMF, follow these steps:

  1. Click Start, point to Settings, and then click Printers.

  2. Right-click the printer in question and then click Properties.

  3. On the General tab, click Print Processor.

  4. If the option for Always Spool RAW Datatype is selected, click to clear the check box.

  5. Change the Default Datatype to NT EMF 1.003.

After the print processor is switched to EMF, use the following steps to print the .spl file:

  1. Click Start, point to Programs, and then click MS-DOS Command Prompt.

  2. Change to the folder where the .spl file is located.

  3. Use the following command to copy the spool file to the printer in question:

          copy 00002.spl \\<server_name>\<print_queue_name>.
    

  4. After the SPL file is printed, switch the Default Datatype back to the original value. The default value is RAW.

When printing from one computer running Windows NT 4.0 to another, Windows NT will still negotiate an EMF file even if the Default Datatype option is set to RAW. This will only happen if the receiving workstation or server can support EMF 1.003 and if the printing application has the ability to use EMF. The reason that this is done is so that the operating system can return control to the application that requested the print faster.

To override the negotiation of an EMF file and always printing using RAW format, use the following steps:

  1. Click Start, point to Settings, and then click Printers.

  2. Right-click the print queue in question, and then click Properties.

  3. Click the General tab, and then click Print Processor.

  4. Click the Always Spool RAW Datatype option.

For more information about the enhanced metafile formatting of spool files in Windows NT 4.0, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q155676
   TITLE     : Enhanced Metafile Spooling Architecture in Windows NT 4.0


Additional query words: 4SPL Meta File format print architecture
Keywords : ntprint NTSrvWkst kbprint
Version : WinNT:4.0
Platform : winnt
Issue type : kbhowto


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