2.3.6.11 ENCAPSULATED_POSTSCRIPT Record

The ENCAPSULATED_POSTSCRIPT Record sends arbitrary PostScript data directly to a 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

Size

...

Version

...

Points (24 bytes)

...

...

...

Data (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 WMF record.

RecordFunction (2 bytes): A 16-bit unsigned integer that defines this record type. The low-order byte MUST match the low-order 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 0x1014 (ENCAPSULATED_POSTSCRIPT) 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. This value SHOULD be greater than or equal to the value of the Size field.<65>

Size (4 bytes): A 32-bit unsigned integer that specifies the total size, in bytes, of the Size, Version, Points, and Data fields.

Version (4 bytes): A 32-bit unsigned integer that defines the PostScript language level.

Points (24 bytes): An array of three PointL Objects (section 2.2.2.15) that define the output parallelogram in 28.4 FIX device coordinates.

Data (variable): The PostScript data.

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