2.2.7.1 BIN File Format
The BIN file contains the information needed to access printer setup and configuration data. The format of that information is shown below. All fields are in little-endian format.
File Header:
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00000001 |
|||||||||||||||||||||||||||||||
cItems |
|||||||||||||||||||||||||||||||
UserDevMode (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
PrnDataRoot (variable) |
|||||||||||||||||||||||||||||||
... |
cItems (4 bytes): The number of PrnDataRoot structures (section 2.2.7.1.2) contained in the BIN file. This value can be zero.
UserDevMode (variable): A UserDevMode structure (section 2.2.7.1.1).
PrnDataRoot (variable): A PrnDataRoot structure, which is repeated cItems times in this field.