HP Laserjet Pro CP1025nw backend/snmp-supplies.c doesn't work

Rick Richardson rick.richardson at comcast.net
Tue Dec 14 04:47:03 PST 2010


HP released the HP Laserjet Pro CP1025nw on 10/13/2010.

The trunk of backend/testsupplies gives:

    $ cd cups
    SVN repo is: http://svn.easysw.com/public/cups/trunk

    $ backend/testsupplies 192.168.1.16
    DEBUG2: hrDeviceDesc="HP LaserJet CP1025nw"
    DEBUG: prtGeneralCurrentLocalization type is 5, expected 2!
    backendSNMPSupplies: FAIL

However, 1.4.2 with local patch gives:

    $ cd cups-1.4.2
    $ backend/testsupplies 192.168.1.16
    DEBUG2: hrDeviceDesc="HP LaserJet CP1025nw"
    DEBUG: prtGeneralCurrentLocalization type is 5, expected 2!
    DEBUG2: prtGeneralCurrentLocalization=0
    DEBUG: prtLocalizationCharacterSet type is 5, expected 2!
    DEBUG2: prtLocalizationCharacterSet=0
    DEBUG2: prtMarkerSuppliesColorantIndex.1.1 = 1
    DEBUG2: prtMarkerSuppliesColorantIndex.1.2 = 2
    DEBUG2: prtMarkerSuppliesColorantIndex.1.3 = 3
    DEBUG2: prtMarkerSuppliesColorantIndex.1.4 = 4
    DEBUG2: prtMarkerSuppliesColorantIndex.1.5 = 0
    DEBUG2: prtMarkerSuppliesType.1.1 = 3
    DEBUG2: prtMarkerSuppliesType.1.2 = 3
    DEBUG2: prtMarkerSuppliesType.1.3 = 3
    DEBUG2: prtMarkerSuppliesType.1.4 = 3
    DEBUG2: prtMarkerSuppliesType.1.5 = 9
    DEBUG2: prtMarkerSuppliesDescription.1.1 = "CE310A"
    DEBUG2: prtMarkerSuppliesDescription.1.2 = "CE311A"
    DEBUG2: prtMarkerSuppliesDescription.1.3 = "CE313A"
    DEBUG2: prtMarkerSuppliesDescription.1.4 = "CE312A"
    DEBUG2: prtMarkerSuppliesDescription.1.5 = "CE314A"
    DEBUG2: prtMarkerSuppliesMaxCapacity.1.1 = 100
    DEBUG2: prtMarkerSuppliesMaxCapacity.1.2 = 100
    DEBUG2: prtMarkerSuppliesMaxCapacity.1.3 = 100
    DEBUG2: prtMarkerSuppliesMaxCapacity.1.4 = 100
    DEBUG2: prtMarkerSuppliesMaxCapacity.1.5 = 100
    DEBUG2: prtMarkerSuppliesLevel.1.1 = 90
    DEBUG2: prtMarkerSuppliesLevel.1.2 = 100
    DEBUG2: prtMarkerSuppliesLevel.1.3 = 100
    DEBUG2: prtMarkerSuppliesLevel.1.4 = 100
    DEBUG2: prtMarkerSuppliesLevel.1.5 = 100
    DEBUG2: prtMarkerColorantValue.1.1 = "black"
    DEBUG2: prtMarkerColorantValue.1.2 = "cyan"
    DEBUG2: prtMarkerColorantValue.1.3 = "magenta"
    DEBUG2: prtMarkerColorantValue.1.4 = "yellow"
    ATTR: marker-colors=#000000,#00FFFF,#FF00FF,#FFFF00,none
    ATTR: marker-names="CE310A","CE311A","CE313A","CE312A","CE314A"
    ATTR: marker-types=toner,toner,toner,toner,opc
    ATTR: marker-levels=90,100,100,100,100
    STATE: -media-low-report
    STATE: -media-empty-warning
    STATE: -toner-low-report
    STATE: -toner-empty-warning
    STATE: -door-open-report
    STATE: -media-jam-warning
    STATE: -input-tray-missing-warning
    STATE: -output-tray-missing-warning
    STATE: -marker-supply-missing-warning
    STATE: -output-area-almost-full-report
    STATE: -output-area-full-warning
    backendSNMPSupplies: backendSNMPSupplies: PASS (page_count=19, printer_state=3)

Patch is enclosed.  Please apply.





More information about the cups mailing list