SNA Server Print Stuck in InSession Status

Last reviewed: March 19, 1998
Article ID: Q169370

The information in this article applies to:

  • Microsoft SNA Server versions 3.0 and 3.0 Service Pack 1 (SP1)

SYMPTOMS

When you print through the SNA Server Print Service, a print session may get stuck in InSession status and never print. This usually happens after many print jobs have printed to this logical SNA Server Printer.

The following trace excerpt from the Sprtintx.trc file shows where this problem occurs. The Windows NT api call, CreateFontIndirect(), returns a null pointer, thus giving the following error message:

   winvprtj.c(762)    FONTM ERROR CreateFontIndirect failed, rc=0x20000017

When this error occurs, the SNA Server Print service attempts to cycle through initializing the Windows NT print again, but continues to fail with the same error. The administrator must stop the SNA Server Print service and restart to temporarily correct this problem.

NOTE: If the print session is configured for a PDT file, the result is that the printer prints some errors at the top of the page.

CAUSE

There are two font handle leaks:

  • When fonts are created and then rejected as the wrong width, they are not subsequently deleted. The Sprtintx.trc shows the rejection as:

          winvprtj.c(807)    FONTM WARNING selected font is too wide at 61
    
    
  • The fonts created and stored in an array to use in a document are not properly freed when the document is finished printing.

STATUS

Microsoft has confirmed this to be a problem in SNA Server 3.0 and 3.0 sp1. This problem was corrected in the latest SNA Server version 3.0 U.S. Service Pack. For information on obtaining this Service Pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

   S E R V P A C K
Keywords          : prodsna snaprintservice kbfix3.00.sp2 kbnetwork
Platform          : WINDOWS


================================================================================


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