extract_msg.structures.dev_mode_a Module
Module contents
- class extract_msg.structures.dev_mode_a.DevModeA(data: bytes | None = None)[source]
Bases:
object
A DEVMODEA structure, as specified in [MS-OLEDS].
For the purposes of parsing from bytes, if something goes wrong this will evaluate to
False
when converting tobool
. If no data is prodided, the fields are set to default values.- PARSE_STRUCT: Final[Struct] = <Struct object>
- property collate: int
- property color: int
- property copies: int
- property defaultSource: int
- property deviceName: bytes
A 32 byte ANSI string.
- property ditherType: int
- property driverExtra: int
- property driverVersion: int
- property duplex: int
- property formName: bytes
A 32 byte ANSI string.
- property icmIntent: int
- property icmMethod: int
- property mediaType: int
- property nup: int
- property orientation: int
- property paperLength: int
- property paperSize: int
- property paperWidth: int
- property printQuality: int
- property scale: int
- property specVersion: int
- property ttOption: int
- property yResolution: int