Microsoft KB Archive/173447

= Limited Support for MPP for 5250 Printing =

Article ID: 173447

Article Last Modified on 7/15/2004

-

APPLIES TO


 * Microsoft SNA Server 3.0 Service Pack 4
 * Microsoft SNA Server 4.0

-



This article was previously published under Q173447



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
AS/400 applications that require specific page width (or maximum print position) settings may not print correctly when printed via a 5250 print session configured in SNA Server 3.0 or 3.0 SP1. Print jobs that have truncated lines are one example of how this problem may appear.



CAUSE
The SNA Server print service only supports a limited range of values for the Maximum Print Position (MPP) SCS control code for the 5250 data stream. The supported values for 5250 printing are 80, 132, 158, and 198.



STATUS
Microsoft has confirmed this to be a problem in SNA Server versions 3.0 and 3.0 Service Pack 1 (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



MORE INFORMATION
With the fix applied, the SNA Server print service accepts MPP SCS control codes in the 5250 data stream for any language and to change the line length accordingly. The print service will also set an overall MPP value for each print job as it starts. To set this value, edit registry as follows.

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: This registry parameter is only needed if you want a default MPP value for each print job. If each print job includes an MPP SCS control code that sets the line length, this registry entry is not required.

 Start Registry Editor (Regedt32.exe or Regedit.exe, as appropriate for your version of Windows NT).  Go to the following key in the registry: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\snaprint\ parameters  On the Edit menu, click Add Value and use the following entry:

Value Name: mpp

Data Type: REG_SZ

In the Value field, type a value between 40 and 255. The Default value is 132. The range is 40-255. Exit Registry Editor.</ol>

This registry parameter is only needed if you want a default MPP value for each print job. If each print job includes an MPP SCS control code that sets the line length, this registry entry is not required.

Keywords: kbbug kbfix kbprint KB173447

-

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

© Microsoft Corporation. All rights reserved.