2.3.6.35 OPEN_CHANNEL Record

The OPEN_CHANNEL RECORD notifies the printer driver that a new print job is starting. This is the same function as a STARTDOC Record (section 2.3.6.44) specified with a NULL document and output file name, data in raw mode, and a type of zero.


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

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 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 0x100E (OPEN_CHANNEL) from the MetafileEscapes Enumeration (section 2.1.1.17) table.

ByteCount (2 bytes): A 16-bit unsigned integer that MUST be 0x0000.

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