Microsoft KB Archive/311837

= End of Print Job Handling Incorrect If Print Filter DLL Used =

Article ID: 311837

Article Last Modified on 2/19/2007

-

APPLIES TO


 * Microsoft SNA Server 4.0
 * Microsoft Host Integration Server 2000 Standard Edition

-



This article was previously published under Q311837



SYMPTOMS
The Host Print Service may not process the end of print jobs correctly when the print sessions are configured to use a print filter dynamic link library (DLL). The exact symptoms that result from the incorrect end-of-job processing will vary depending on the print job and on the print filter DLL that is being used. For example, this problem may result in abnormal termination of the affected print session or there may be no visible symptoms at all.



CAUSE
The following problems were identified in the Host Print Service when print sessions were configured to use print filter DLLs:
 * The Host Print Service was passing uninitialized variables to the print filter DLL.
 * If a print session was configured to use a Printer Definition Table (PDT) file that contains an END_JOB macro, the END_JOB macro was being processed after PrtFilterJobEnd had been called.
 * Under certain circumstances, data passed to the Host Print Service by the print filter DLL may have been passed back to the print filter DLL for further processing.



SNA Server 4.0
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Microsoft SNA Server version 4.0 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:

NOTE: Because of file dependencies, the most recent fix that contains the preceding files may also contain additional files.

Host Integration Server 2000
To resolve this problem, obtain the latest service pack for Host Integration Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

328152 How to Obtain the Latest Host Integration Server 2000 Service Pack



SNA Server 4.0
Microsoft has confirmed that this is a problem in Microsoft SNA Server version 4.0.

Host Integration Server 2000
Microsoft has confirmed that this is a problem in Microsoft Host Integration Server 2000. This problem was first corrected in Host Integration Server 2000 Service Pack 1.



MORE INFORMATION
See the Host Integration Server 2000 SDK for more information on the use of a print filter DLL.

Additional query words: HIS 2000

Keywords: kbbug kbfix kbhostintegserv2000presp1fix kbhostintegserv2000sp1fix KB311837

-

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

© Microsoft Corporation. All rights reserved.