[PMP] Printer MIB question

"William Wagner" <wamwagner@comcast.net> Mon, 14 September 2009 17:14 UTC

Return-Path: <pmp-bounces@pwg.org>
X-Original-To: ietfarch-printmib-archive@core3.amsl.com
Delivered-To: ietfarch-printmib-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 794AB3A68C5 for <ietfarch-printmib-archive@core3.amsl.com>; Mon, 14 Sep 2009 10:14:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.143
X-Spam-Level:
X-Spam-Status: No, score=-1.143 tagged_above=-999 required=5 tests=[AWL=-0.034, BAYES_05=-1.11, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id axnVmjNfetFG for <ietfarch-printmib-archive@core3.amsl.com>; Mon, 14 Sep 2009 10:14:32 -0700 (PDT)
Received: from pwg.org (pwg.org [192.146.101.49]) by core3.amsl.com (Postfix) with ESMTP id E3FA93A62C1 for <printmib-archive@lists.ietf.org>; Mon, 14 Sep 2009 10:14:31 -0700 (PDT)
Received: from pwg.org (localhost.localdomain [127.0.0.1]) by pwg.org (Postfix) with ESMTP id 5494879F99; Mon, 14 Sep 2009 13:15:01 -0400 (EDT)
X-Original-To: pmp@pwg.org
Delivered-To: pmp@pwg.org
Received: from QMTA13.westchester.pa.mail.comcast.net (qmta13.westchester.pa.mail.comcast.net [76.96.59.243]) by pwg.org (Postfix) with ESMTP id DCFEF79F94 for <pmp@pwg.org>; Mon, 14 Sep 2009 13:14:45 -0400 (EDT)
Received: from OMTA09.westchester.pa.mail.comcast.net ([76.96.62.20]) by QMTA13.westchester.pa.mail.comcast.net with comcast id gd2n1c00M0SCNGk5DhEm5L; Mon, 14 Sep 2009 17:14:46 +0000
Received: from VistaBusiness ([98.216.200.109]) by OMTA09.westchester.pa.mail.comcast.net with comcast id ghEl1c0052N7D5e3VhElWH; Mon, 14 Sep 2009 17:14:45 +0000
From: William Wagner <wamwagner@comcast.net>
To: farouk.boujnah@gmail.com
Date: Mon, 14 Sep 2009 13:14:45 -0400
Message-ID: <002e01ca355e$db4c7760$91e56620$@net>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Aco1XtsAnZf3z1/VQo64dz3bgcY4jQ==
Content-Language: en-us
X-pwg-MailScanner: Found to be clean, Found to be clean
Cc: pmp@pwg.org
Subject: [PMP] Printer MIB question
X-BeenThere: pmp@pwg.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Printer MIB <pmp.pwg.org>
List-Unsubscribe: <https://www.pwg.org/mailman/listinfo/pmp>, <mailto:pmp-request@pwg.org?subject=unsubscribe>
List-Archive: <http://www.pwg.org/archives/pmp>
List-Post: <mailto:pmp@pwg.org>
List-Help: <mailto:pmp-request@pwg.org?subject=help>
List-Subscribe: <https://www.pwg.org/mailman/listinfo/pmp>, <mailto:pmp-request@pwg.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2018749230=="
Sender: pmp-bounces@pwg.org
Errors-To: pmp-bounces@pwg.org
X-pwg-MailScanner-Information: Please contact the ISP for more information
X-pwg-MailScanner-ID: 5494879F99.7A1F4
X-pwg-MailScanner-From: pmp-bounces@pwg.org

With regard to the question that you sent to hastings@cp10.es.xerox.com,
szilles@mv.us.adobe.com, don@lexmark.com, jgyllens@hpdmd48.boi.hp.com, it
has been forwarded to the Printer Working Group "PMP" mail list, which deals
with printer MIB issues. You may well have responses from other members, but
if I understand your question, it is how to interpret the response to  OID
[.iso.3.6.1.2.1.25.3.5.1.2.1]. This appears to be the
hrPrinterDetectedErrorState object in the host resources MIB (RFC2790.) The
object value is "bit coded" as follows, and your program is interpreting the
response in hexadecimal.

   lowPaper              0

   noPaper               1

                lowToner              2

                noToner               3

                doorOpen              4

                jammed                5

                offline               6

                serviceRequested      7

                inputTrayMissing      8

                outputTrayMissing     9

                markerSupplyMissing  10

                outputNearFull       11

                outputFull           12

                inputTrayEmpty       13

                overduePreventMaint  14

 

But remember that, in the MIB, bits are numbered starting with the most
significant bit of the first byte being bit 0,

 

To interpret 80 04, it may be easiest conceptually to covert the value to
binary 1000 0000 0000 0100. The value read therefore corresponds to bits 0
and bit 13, low paper and input tray empty.

 

Hope this helps. Note also that the current Printer MIB is RFC3805, although
some printers still support only the earlier verson.

 

Bill Wagner/ Chair, Printer Working Group WIMS/PMP 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
pmp mailing list
pmp@pwg.org
https://www.pwg.org/mailman/listinfo/pmp