Microsoft KB Archive/184576

= 3270 Order, Program Tab Randomly Prints Two Spaces Instead of Three =

Article ID: 184576

Article Last Modified on 5/23/2003

-

APPLIES TO


 * Microsoft SNA Server 3.0 Service Pack 4, when used with:
 * Microsoft Windows NT 4.0
 * Microsoft SNA Server 4.0, when used with:
 * Microsoft Windows NT 4.0
 * Microsoft SNA Server 3.0 Service Pack 2, when used with:
 * Microsoft Windows NT 4.0
 * Microsoft SNA Server 3.0 Service Pack 3, when used with:
 * Microsoft Windows NT 4.0
 * Microsoft SNA Server 3.0 Service Pack 4, when used with:
 * Microsoft Windows NT 4.0
 * Microsoft SNA Server 4.0, when used with:
 * Microsoft Windows NT 4.0

-



This article was previously published under Q184576



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
When the 3270 Datastream Order, Program Tab (0x05) is received by the print service, it is interpreted as a horizontal tab, and three space characters are placed in the print output. However, sometimes the Program Tab will resolve to only two spaces. This problem appears to occur at random.



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

184307 How to Obtain the Latest SNA Server Version 3.0 Service Pack

To resolve this problem, obtain the hotfix or service pack mentioned in this article. With the updated SNA Print Server fix applied, you can map tabs to a fixed number of spaces based on the size of the first tab in the Set Horizontal Format SCS control code. To do this, perform the steps below after applying the hotfix. WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

NOTE: The registry entry below needs to be created even if a Service Pack is applied. The registry entry is not created by the Service Pack.

 Start RegEdt32.exe.  Navigate to the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services \SnaPrint\Parameters  Add SetFixedTabs = 'TRUE' (the type is REG_SZ). Stop and Start SNA Print Service for registry change to take effect.



STATUS
Microsoft has confirmed that this is a problem in SNA Server 3.0, 3.0 Service Pack 1,3.0 Service Pack 2 and 4.0. This problem was first corrected in SNA Server 3.0 Service Pack 4. Microsoft has confirmed this to be a problem in SNA Server version 4.0. This problem has been corrected in the latest U.S. Service Pack for SNA Server version 4.0. For information on obtaining the Service Pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

S E R V P A C K

<div class="moreinformation_section">

MORE INFORMATION
A Program Tab is an SNA Order that advances as many spaces as are required to take the current column position to the next tab stop (that is, one, two, or three spaces, depending on how many characters you already have on the line).

Additional query words: prodsna prt prn prnt prnts prints data stream sp2 sp3 sp

Keywords: kbbug kbfix kbsna KB184576

-

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

© Microsoft Corporation. All rights reserved.