Hexadecimal values with UTF8 in the Printer-MIB

Tags: #<Tag:0x00007f3b8262f718>

Hello all,

I have a HP LaserJet MFP527 printer/scanner/copier and I see that lnms named printer cartridges and another supplements as:

prtMarkerSuppliesDescription.1.1 = "............ ................ 87X HP CF287X."
prtMarkerSuppliesDescription.1.2 = ".......... ............ .................... HP B5L52A."
prtMarkerSuppliesDescription.1.3 = ".............. .............. ......-.... ............ ......-.... HP None."

I think the dots is a HEX-formatted UTF8 symbols in national alphabet of device installation/initialization.

I’ve tried to get values with snmpwalk -v 2c -c public {{ address }} 1.3.6.1.2.1.43.11.1.1.6 and i got:

iso.3.6.1.2.1.43.11.1.1.6.1.1 = Hex-STRING: D0 A7 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BA D0 
B0 D1 80 D1 82 D1 80 D0 B8 D0 B4 D0 B6 20 38 37 
58 20 48 50 20 43 46 32 38 37 58 00 
iso.3.6.1.2.1.43.11.1.1.6.1.2 = Hex-STRING: D0 9D D0 B0 D0 B1 D0 BE D1 80 20 D0 BF D0 BE D0 
B4 D0 B0 D1 87 D0 B8 20 D0 B4 D0 BE D0 BA D1 83 
D0 BC D0 B5 D0 BD D1 82 D0 BE D0 B2 20 48 50 20 
42 35 4C 35 32 41 00 
iso.3.6.1.2.1.43.11.1.1.6.1.3 = Hex-STRING: D0 9E D1 87 D0 B8 D1 81 D1 82 D0 BA D0 B0 20 D1 
80 D0 BE D0 BB D0 B8 D0 BA D0 BE D0 B2 20 D1 83 
D1 81 D1 82 2D D0 B2 D0 B0 20 D0 BF D0 BE D0 B4 
D0 B0 D1 87 D0 B8 20 D0 B4 D0 BE D0 BA 2D D0 BE 
D0 B2 20 48 50 20 4E 6F 6E 65 00 

For example the first HEX string evaluates as Черный картридж 87X HP CF287X.

Maybe it is relatively simple to recognize that HEX values to the national alphabet symbols?