Microsoft KB Archive/890947

= FIX: Host print sessions may stay in a spooling state when the &quot;No Line Formatting&quot; option is enabled and the &quot;Characters Per Line&quot; setting is 255 in Host Integration Server 2000 or 2004 =

Article ID: 890947

Article Last Modified on 12/4/2007

-

APPLIES TO


 * Microsoft Host Integration Server 2000 Standard Edition
 * Microsoft Host Integration Server 2000 Service Pack 1
 * Microsoft Host Integration Server 2004 Standard Edition
 * Microsoft Host Integration Server 2000 Standard Edition

-





SYMPTOMS
In Microsoft Host Integration Server 2000 or 2004, host print sessions that have the No Line Formatting option enabled and a Characters Per Line setting of 255 may stay in a spooling state. After this problem occurs, the current print job does not print and you cannot send any new host print jobs to the host print session.



CAUSE
This problem occurs because the host print server incorrectly resets the internal line length to 0 (zero) when the internal line length counter increments past 255 characters. When the internal line length is reset to 0, the host print server does not flush the received print data to the printer. Therefore, the print session becomes stuck in a spooling state and the print job does not print.



Host Integration Server 2000
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Host Integration Server 2000 service pack that contains this hotfix.

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

http://support.microsoft.com/contactus/?ws=support

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 usual 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 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 - 16-Dec-2004  17:18  5.0.0.1016   20,752  Msg5250.dll 16-Dec-2004 17:18  5.0.0.1016  250,128  Ppd3270.dll 16-Dec-2004 17:18  5.0.0.1016  139,536  Ppd5250.dll 16-Dec-2004 17:18  5.0.0.1016   49,424  Prmngext.dll 16-Dec-2004 17:17  5.0.0.1016  209,168  Snacfg.dll 16-Dec-2004 17:18  5.0.0.1016   24,848  Snaxlt.dll 16-Dec-2004 17:18  5.0.0.1016  282,896  Winvprt.dll 16-Dec-2004 17:18  5.0.0.1016   57,616  Pdfcomp.exe 16-Dec-2004 17:18  5.0.0.1016   94,480  Snaprint.exe Note Because of file dependencies, the most recent fix that contains these files may also contain additional files.

Host Integration Server 2004
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

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 - 16-Dec-2004  22:52  6.0.1922.0   29,184  Msg5250.dll 16-Dec-2004 22:52  6.0.1922.0   39,424  Pdfcomp.exe 16-Dec-2004 22:52  6.0.1922.0  184,320  Ppd3270.dll 16-Dec-2004 22:52  6.0.1922.0   93,184  Ppd5250.dll 16-Dec-2004 22:52  6.0.1922.0   33,280  Prmngext.dll 16-Dec-2004 22:51  6.0.1922.0  167,936  Snacfg.dll 16-Dec-2004 22:52  6.0.1922.0   61,440  Snaprint.exe 16-Dec-2004 22:52  6.0.1922.0   12,288  Snaxlt.dll 16-Dec-2004 22:52  6.0.1922.0  195,072  Winvprt.dll Note Because of file dependencies, the most recent fix that contains these files may also contain additional files.



WORKAROUND
To work around this problem, change the Characters Per Line setting to a value that is less than 255.

Note This change will not affect the formatting of any print job as long as the No Line Formatting option is enabled for the host print session. The print server does not send any Carriage Return/Line Feed commands to the print job when the No Line Formatting option is enabled. Use this option to enable the printer to insert its own line wrapping commands.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbbug kbfix kbqfe kbhotfixserver KB890947

-

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

© Microsoft Corporation. All rights reserved.