SNA Server Issues with DBCS Printing to an AS/400Last reviewed: April 14, 1997Article ID: Q164794 |
The information in this article applies to:
This article only applies to DBCS (double byte character set) code pages. DBCS code pages include all of the following:
290 Japanese (Katakana) 930 Japanese (Extend Katakana) 931 Japanese (English-lower) 933 Korean 935 Chinese (PRC) 937 Chinese (Taiwan) 939 Japanese (Extend English)
SYMPTOMSSending the following sequence to the 5250 Print Service (J version)
"AAAA"+CR+LF+"BBBB"+NL (interpreted to ASCII for clarity)Will result in:
AAAA BBBBThe expected result is:
AAAA BBBB
SYMPTOMSWhen using the SNA Server Print Server (J version) to print to an AS/400, and a new line (NL) or line feed (LF) character is on the last line of the printable area, a form feed (FF) is not generated. Therefore, any remaining printable text is not printed on the next page.
SYMPTOMSWhen using the SNA Server Print Server (J version) to print to an AS/400, the last line may not print. The SNA Server Print Server (J version) does not correctly flush the write buffer for an end-of-page.
SYMPTOMSSNA Server Print Server ignores the first line feed or new line it comes across.
SYMPTOMSThe following is a sample datastream (converted to ASCII for ease of readability):
"AAAAA"+LF+PP(AHM 3)+"BBBB"+NLThe expected result is:
AAAAA BBBBBThe actual result is:
AAAAA ("BBBB" was not printed.)
SUMMARYThe following features have been added to DBCS printing in the SNA Server 3.0 J version:
SYMPTOMSThe following is a sample datastream: Sent data:
"12345" (NL) "67890" (FF) "ABCDE" (NL:New Line)The following is the result:
<Page 1> 12345 <line 1> 67890 <line 2> <Page 2> <line 1> ABCDE <line 2>Notice the ABCDE is indented to the right; it should be left justified.
SYMPTOMSWhen printing to an AS/400 using SNA Server 3.0 Print Server and selecting a DBCS character set, a general protection fault (GPF) occurs if you send a print job with STO in its datastream. The GPF is in the following function:
WinVPRTSetTextOrientation within SNAPrint.exe.The following is the assembler call:
cmp byte ptr [edx],0x40 ds:00000000=??
RESOLUTIONTo resolve these problems, obtain the hotfix mentioned below.
STATUSMicrosoft has confirmed this to be a problem in SNA Server version 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 : kbbug3.00 kbfix3.00.sp1 kbprint snaprintservice
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |