LU3 print job fails if data includes X'27' control codes (180150)
The information in this article applies to:
- Microsoft SNA Server 3.0
- Microsoft SNA Server 3.0 SP1
- Microsoft SNA Server 3.0 SP2
- Microsoft SNA Server 4.0
This article was previously published under Q180150 Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows registry SYMPTOMS
SNA Server's Host Print Service rejects LU3 print jobs that contain X'27'
control codes. The X'27' control code is the EBCDIC equivalent of an ASCII
X'1B' control code. The ASCII X'1B' control code is the PCL Escape code for
Hewlett-Packard Printer Control Language (PCL) printers.
When the print server receives an LU3 print job that contains an invalid
EBCDIC control code, it returns an IBM sense code X'1003' to SNA Server.
SNA Server then sends an -RSP message to the host with the X'1003' sense
code, which terminates the print job.
Note All EBCDIC codes below X'40' are invalid.
Sense Code X'1003' is defined in the IBM SNA Formats Guide (GA27-3136) as
follows:
Function not supported: The function requested is not supported. The
function may have been specified by a formatted request code, a field in
an RU, or a control character.
SNA Server logs the following message in the Application Event log when
this problem occurs:
Event ID: 21
Source: SNA Server
Description: (X'1124') Negative Response Sent on Connection <connection
name> (SENSE = 1003)
CAUSE
The print service is designed to reject invalid EBCDIC control codes.
Because the X'27' control code is below X'40', it is rejected with a
X'1003' sense code.
The LU3 print data stream was not intended to support the inclusion of PCL
control codes that were intended to be passed to PCL printers. LU1 print
jobs do support transparent sections that can include PCL control codes.
STATUS
Microsoft has confirmed this to be a problem in SNA Server versions 3.0,
3.0 SP1, 3.0 SP2, and 4.0.
This problem was corrected in the latest SNA Server versions 3.0 and 4.0
U.S. Service Packs. For information on obtaining these Service Packs,
query on the following word in the Microsoft Knowledge Base (without the
spaces):
Modification Type: | Minor | Last Reviewed: | 4/29/2005 |
---|
Keywords: | kbbug kbfix KB180150 kbAudDeveloper |
---|
|