2.3.6.43 SPCLPASSTHROUGH2 Record

The SPCLPASSTHROUGH2 Record enables documents to include private procedures and other resources to send to the printer driver.


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

RecordSize

RecordFunction

EscapeFunction

ByteCount

Reserved

...

Size

RawData (variable)

...

RecordSize (4 bytes): A 32-bit unsigned integer that defines the number of WORD structures, defined in [MS-DTYP] section 2.2.61, in the record.

RecordFunction (2 bytes): A 16-bit unsigned integer that defines this record type. The lower byte MUST match the lower byte of the RecordType Enumeration (section 2.1.1.1) table value META_ESCAPE.

EscapeFunction (2 bytes): A 16-bit unsigned integer that defines the escape function. The value MUST be 0x11D8 (SPCLPASSTHROUGH2) from the MetafileEscapes Enumeration (section 2.1.1.17).

ByteCount (2 bytes): A 16-bit unsigned integer that specifies the size, in bytes, of the record data that follows.

Reserved (4 bytes): A 32-bit unsigned integer that is not used and MUST be ignored.

Size (2 bytes): A 16-bit unsigned integer that specifies the size, in bytes, of the RawData field.

RawData (variable): The Size-length byte array of unprocessed private data to send to the printer driver.

See section 2.3.6 for the specification of other Escape Record Types.