scan-resolution

HP-LASERJET-COMMON-MIB · .1.3.6.1.4.1.11.2.3.9.4.2.1.2.2.1.2

Object

scalar mandatory r/w OctetString
struct {
unsigned_32bit x_res; /* 1st four bytes; big endian */
unsigned_32bit y_res; /* 2nd four bytes; big endian */
}
Sets the scanning resolution.  The x and y resolutions
in this object are in fixed-point with 16 bits of
fraction, and 16 bits of integer, and are in dots per
inch.  X is horizontal; Y is vertical.
Examples of computing x_res and y_res:
 300 dots/inch:round(300 * 65536) = 19660800
 16 dots/mm:   round(16 * 25.4 * 65536) = 26633830.
If the device does not support the given combination,
then it'll select the nearest supported values in a
device-dependent manner (documented in the POS).
Additional information:
The 4-pack device will support only: 100,
150, 200, 300 and 600.  The Host SW may scale the image to
many more resolutions. If an invalid resolution setting
is passed to the device or the setting is greater than
the max value(600ppi), the device will set the resolution
to the default value.  If the resolution setting is not
100, 150, 200, 300 or 600, the value is snapped up.  For
instance, if the value is < 100, the resolution is snapped
to 100.  If the value is between 101-149, the value is 
snapped to 150, etc. NOTE: The last 16 bits of the
horizontal and vertical settings are ignored.  Only the
first 16 bits of the horizontal and vertical resolution
setting are used.

Context

MIB
HP-LASERJET-COMMON-MIB
OID
.1.3.6.1.4.1.11.2.3.9.4.2.1.2.2.1.2
Type
scalar
Access
readwrite
Status
mandatory
Parent
settings-scanner
Siblings
48

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-32

Related Objects

Sibling Objects