共用方式為


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.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

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.