From owner-tn3270e@list.nih.gov  Tue Feb 17 12:45:37 2004
Received: from gdecker.net.nih.gov (gdecker.net.nih.gov [165.112.130.6])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA21076
	for <tn3270e-archive@LISTS.IETF.ORG>; Tue, 17 Feb 2004 12:45:36 -0500 (EST)
Received: from list.nih.gov (gdecker.net.nih.gov [165.112.130.6])
	by gdecker.net.nih.gov (8.12.10/8.12.10) with ESMTP id i1HGV61Y010068;
	Tue, 17 Feb 2004 12:38:52 -0500 (EST)
Received: from LIST.NIH.GOV by LIST.NIH.GOV (LISTSERV-TCP/IP release 1.8d) with
          spool id 75252 for TN3270E@LIST.NIH.GOV; Tue, 17 Feb 2004 12:38:52
          -0500
Received: from mx5.net.nih.gov (mx5.net.nih.gov [165.112.130.36]) by
          gdecker.net.nih.gov (8.12.10/8.12.10) with ESMTP id i1HHcpfu012626
          for <tn3270e@list.nih.gov>; Tue, 17 Feb 2004 12:38:51 -0500 (EST)
Received: from mx5.net.nih.gov (localhost [127.0.0.1]) by mx5.net.nih.gov
          (8.12.10/8.12.8p1) with ESMTP id i1HHcp3V014968 for
          <tn3270e@list.nih.gov>; Tue, 17 Feb 2004 12:38:51 -0500
Received: from menon (bi-02pt1.bluebird.ibm.com [129.42.208.182]) by
          mx5.net.nih.gov (8.12.10/8.12.8p1) with SMTP id i1HHcolb014963 for
          <tn3270e@list.nih.gov>; Tue, 17 Feb 2004 12:38:51 -0500
Date: Tue, 17 Feb 2004 09:35:54 -0800
To: tn3270e@list.nih.gov
Subject: ID xjuoeev... thanks
From: mboe@CISCO.COM
Message-ID: <scjglojkaqtcjghpiit@cisco.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="--------526230848054643"
Sender: owner-tn3270e@list.nih.gov

----------526230848054643
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Yours ID njd
--
Thank


----------526230848054643
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

[Filename: racjyuvus.exe, Content-Type: application/x-msdownload]
The attachment file in the message has been removed as it constitutes a security hazard.

----------526230848054643--


From owner-tn3270e@list.nih.gov  Thu Feb 19 16:50:20 2004
Received: from gdecker.net.nih.gov (gdecker.net.nih.gov [165.112.130.6])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA15959
	for <tn3270e-archive@LISTS.IETF.ORG>; Thu, 19 Feb 2004 16:50:20 -0500 (EST)
Received: from list.nih.gov (list.nih.gov [165.112.130.6])
	by gdecker.net.nih.gov (8.12.10/8.12.10) with ESMTP id i1JGJ0dQ016093;
	Thu, 19 Feb 2004 16:41:03 -0500 (EST)
Received: from LIST.NIH.GOV by LIST.NIH.GOV (LISTSERV-TCP/IP release 1.8d) with
          spool id 29145 for TN3270E@LIST.NIH.GOV; Thu, 19 Feb 2004 16:41:03
          -0500
Received: from mx5.net.nih.gov (mx5.net.nih.gov [165.112.130.36]) by
          gdecker.net.nih.gov (8.12.10/8.12.10) with ESMTP id i1JLf3fu007861
          for <tn3270e@list.nih.gov>; Thu, 19 Feb 2004 16:41:03 -0500 (EST)
Received: from mx5.net.nih.gov (localhost [127.0.0.1]) by mx5.net.nih.gov
          (8.12.10/8.12.8p1) with ESMTP id i1JLf33V030236 for
          <tn3270e@list.nih.gov>; Thu, 19 Feb 2004 16:41:03 -0500
Received: from tomts7-srv.bellnexxia.net (tomts7.bellnexxia.net
          [209.226.175.40]) by mx5.net.nih.gov (8.12.10/8.12.8p1) with ESMTP id
          i1JLf2la030231 for <tn3270e@list.nih.gov>; Thu, 19 Feb 2004 16:41:03
          -0500
Received: from mail.farabi.com ([207.61.98.29]) by tomts7-srv.bellnexxia.net
          (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id
          <20040219214101.CWBX18182.tomts7-srv.bellnexxia.net@mail.farabi.com>
          for <tn3270e@list.nih.gov>; Thu, 19 Feb 2004 16:41:01 -0500
Received: by mail.farabi.com with Internet Mail Service (5.5.2657.72) id
          <16Y1DWNF>; Thu, 19 Feb 2004 16:33:47 -0500
Message-ID: <2D79D6E92AB1D511B202000629131B459824D0@mail.farabi.com>
From: Patrick Germain <pgermain@FARABI.COM>
To: tn3270e@list.nih.gov
Subject: TN3270E - Printer response messages - RFC 2355 or RFC 1646 ?
Date: Thu, 19 Feb 2004 16:33:37 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain; charset="iso-8859-1"
Sender: owner-tn3270e@list.nih.gov

Hi all


I would need some explanation about RFC 1646 (TN3270 Extensions for LUname
and Printer Selection)
and RFC 2355 (TN3270 Enhancements) regarding printer answer to a Telnet
3270E server.

RFC 2355 states that a response must be sent to the Telnet server when it
specified
ERROR-RESPONSE or ALWAYS-RESPONSE in the header's RESPONSE-FLAG.
So if I'm a printer emulation program and I want time to process the
received data,
I can send a RESPONSE message with a NEGATIVE-RESPONSE and a RESPONSE-FLAG
value of
0x01 (Printer is not ready).

So the response message would be :
Data-Type      RESPONSE                0x02
Request-Flag   REQUEST                 0x00
Response-Flag  NEGATIVE-RESPONSE       0x01
Seq-Number     My own response number  nnnn

Data = 0x01 (Printer is not ready)

Now the RFC 1646 says that a status message can be sent anytime
but it also must be sent when a EOR is received.
However the format of this status message is :
SOH  %    R     S1  S2
0x01 0x6C 0xD9  xx  yy

which is totally different from the response specified in RFC 2355

So I'm lost. Which one should I use ?

Thanks

==================

Patrick Germain
Farabi Technology Corp.
www.farabi.com
Montreal (Qc) , Canada

pgermain@farabi.com
1 (514) 332 3455 Ext 233


