Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Event 25 Error Messages Are Logged for Each Print Job in a Print Session


View products that this article applies to.

This article was previously published under Q327356

↑ Back to the top


Summary

When you configure 3270 print sessions and 5250 print sessions to use a Printer Definition Table (PDT) file, you may receive Event 25 error messages similar to the following in the Application Event Log for each print job that the print session processes:
Event ID: 25
Source: SNA Virtual Print Driver
Description: If your print output is correct, this warning can be ignored.

If your session has "Printer Language is Hewlett-Packard (HP) PCL" selected, then the SNA Virtual Print Driver has not recognised your PaperSize (1) or Orientation (1) setting. If your job output has incorrect PaperSize or Orientation, use GDI printing or put the definitions in the START_JOB macro in your PDT file.

If your session is not configured for HP PCL, the SNA Virtual Print Driver cannot automatically apply PaperSize and Orientation Admin settings. If your job output has incorrect PaperSize or Orientation, use GDI printing or put the definitions in the START_JOB macro in your PDT file.

Print Session: Print Session Name.
Printer: Printer Name.
This behavior can cause the Application Event Log to fill up on computers that print a large number of print jobs.

↑ Back to the top


More information

Service pack information

This feature is available in the latest service pack for Microsoft Host Integration Server 2000. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
328152� How to obtain the latest service pack for Host Integration Server 2000

Hotfix information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date          Time    Version     Size      File name
   --------------------------------------------------------
   09-Aug-2002   12:25   5.0.0.900   274,704   Winvprt.dll
   09-Aug-2002   12:25   5.0.0.900    90,384   Snaprint.exe
				

NOTE: Because of file dependencies, the most recent fix that contains the preceding files may also contain additional files.
The print service that is included with Host Integration Server 2000 was designed to log an Event 25 error message for each print job when the print service cannot recognize the paper size, orientation, or paper source that you specified in the printer's DEVMODE structure.

Because most print jobs print correctly even when Event 25 error messages are logged, it was determined that a reduction in the frequency of Event 25 error messages would help to prevent unnecessary message logging.

After you apply the update, the print server logs an Event 25 error message only when the print session is initially activated. The event is not logged for each print job that is processed by the print session.

REFERENCES

For additional information about print server related Event 25 error messages, click the article numbers below to view the articles in the Microsoft Knowledge Base:
325925� FIX: Event 25 Error Message Is Logged When You Create a Print Session by Using Snacfg.exe
327359� FIX: Event 25 Error Message Is Logged When the Printer Is Configured to Use the Upper Paper Tray
326561� BUG: Event 25 Error Message Is Logged When You Configure the UNC Printer Name Manually

↑ Back to the top


Keywords: KB327356, kbqfe, kbinfo, kbfix, kberrmsg, kbbug, kbqfe, kbhotfixserver

↑ Back to the top

Article Info
Article ID : 327356
Revision : 4
Created on : 2/19/2007
Published on : 2/19/2007
Exists online : False
Views : 308