Microsoft KB Archive/326561

= BUG: Event 25 Error Message Is Logged When You Configure the UNC Printer Name Manually =

Article ID: 326561

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft Host Integration Server 2000 Standard Edition

-



This article was previously published under Q326561



SYMPTOMS
When you run a host print job through a Host Integration Server 2000 print session that you have configured to have a Universal Naming Convention (UNC) print path for Destination Printer (for example, \\Server_Name\Print_Queue_Name), the Application Event Log records an Event 25 error message.

The following is an example of a typical Event 25 error message that is logged in this scenario:

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 recognized 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:.



CAUSE
SNA Manager does not initialize the DEVMODE structure for the remote printer correctly. If the system where Host Integration Server 2000 is installed has a default local printer, the DEVMODE structure may have values that it got from the default local printer instead of from the remote printer.



WORKAROUND
To work around this behavior, follow these steps:
 * 1) Stop the SNA Print Service.
 * 2) Change the print session properties.
 * 3) On the General tab, click Printer.
 * 4) Click OK.
 * 5) Save the configuration.



STATUS
Microsoft has confirmed that this is a problem in Host Integration Server 2000.



MORE INFORMATION
For additional information, 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 Q327359 - FIX: Event 25 Error Message Is Logged When the Printer Is Configured to Use the Upper Paper Tray

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

Keywords: kbbug kberrmsg kbfix kbqfe KB326561

-

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

© Microsoft Corporation. All rights reserved.