Microsoft KB Archive/164633

= SNA Server Issues with DBCS 3270 Printing. =

Article ID: 164633

Article Last Modified on 9/30/2003

-

APPLIES TO


 * Microsoft SNA Server 3.0 Service Pack 4

-



This article was previously published under Q164633



This article applies to DBCS (double byte character set) code pages only. DBCS code pages include:

290 (Japanese (Katakana))

930 (Japanese (Extend Katakana))

931 (Japanese (English-lower))

933 (Korean)

935 (Chinese (PRC))

937 (Chinese (Taiwan))

939 (Japanese (Extend English))


 * 1) DBCS Characters Incorrect and Multiple Sessions Fail.
 * 2) Multiple Fixes for DBCS SCS Printing.



SYMPTOMS
 DBCS Characters Incorrect and Multiple Sessions Fail.

SYMPTOMS

DBCS characters are not printing correctly in both LU1 and LU3 data streams and a Dr. Watson log is generated when multiple print sessions are activated.

 DBCS characters are not printed correctly in LU3. ShiftOut(0x0E) and ShiftIn(0x0F) are not handled correctly. These codes mark the beginning and end of DBCS data. Since these codes are not recognized, DBCS characters between SO(0x0E) and SI(0x0F) are printed as two SBCS characters. Dr.Watson appears on activations of multiple printer sessions. If only one of DBCS code page sessions is activated, the problem does not happen. However, if two or more DBCS code page sessions are activated, a Dr. Watson log results. DBCS characters are not printed correctly in LU1. If DBCS data is sent containing one or more control codes (NL, CR, LF, BS, and so forth), then the DBCS data is printed incorrectly.

RESOLUTION

A fix has been made to correct these problems. Multiple Fixes for DBCS SCS Printing.

SYMPTOMS

There were multiple problems found in SCS DBCS printing. The following problems were fixed:

 When the margin is set in the Printer Session Properties Printing Tab, the resulting position of the grid line is incorrect.</li> The grid line is incorrect on some control codes.</li> The automatic LF (Line Feed) is not performed. This automatic LF is a a special function for the grid handling (for DBCS code page only).</li> "-R" is not returned on incomplete Set Attribute (SA) data streams.

Complete SA format:

DBCS: 0x'2843xx'

Grid: 0x'28C2xx'

Incomplete SA:

The data chain ends with 0x'28' or 0x'2843' or 0x'28C2'.

</li> NewLine (NL) is not performed after maximum presentation position (MPP).</li> NUL control code is printed.</li></ol>

RESOLUTION

<ol style="list-style-type: lower-alpha;"> The printing position of the grid was adjusted for the margin.</li> The grid handling after some control codes(including NL, CR, LF, BS) was modified.</li> Corrected the automatic LF process for the grid.</li> The -R is now set at the end of the data chain, for the incomplete SA format.</li> The NL process was corrected for MPP.</li> The NUL character was translated to space.</li></ol>

An update to SNA Server 3.0 is available to correct this problem.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed these to be problems in SNA Server 3.0. This problem was corrected in the latest Microsoft SNA Server 3.0 U.S. Service Pack. 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

Keywords: kbbug kbfix kbnetwork KB164633

-

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

© Microsoft Corporation. All rights reserved.