2.3.6.3 EMR_NAMEDESCAPE Record
The EMR_NAMEDESCAPE record passes arbitrary information to a named printer driver.
Fields not specified in this section are specified in section 2.3.6.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type |
|||||||||||||||||||||||||||||||
Size |
|||||||||||||||||||||||||||||||
iEscape |
|||||||||||||||||||||||||||||||
cjDriver |
|||||||||||||||||||||||||||||||
cjIn |
|||||||||||||||||||||||||||||||
DriverName (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
Data (variable) |
|||||||||||||||||||||||||||||||
... |
Type (4 bytes): An unsigned integer that identifies this record type from the RecordType enumeration (section 2.1.1). It MUST be EMR_NAMEDESCAPE, which is 0x0000006E.
cjDriver (4 bytes): An unsigned integer that specifies the number of bytes in the DriverName field. This value MUST be an even number.
cjIn (4 bytes): An unsigned integer specifying the number of bytes in the Data field to pass to the printer driver.
DriverName (variable): A null-terminated string of Unicode characters that specifies the name of the printer driver to receive data.
Data (variable): The data to pass to the printer driver.
See section 2.3.6 for more escape record types.