Microsoft KB Archive/327356

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

Article ID: 327356

Article Last Modified on 2/19/2007

-

APPLIES TO


 * Microsoft Host Integration Server 2000 Standard Edition

-



This article was previously published under Q327356



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 &quot;Printer Language is Hewlett-Packard (HP) PCL&quot; 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:.

Printer:.

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



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.