2.2.3 Data Records
This section specifies the Data records, which follow the EMF spool format Header Record (section 2.2.2). These records have been grouped into the following categories, as described in Record Syntax (section 2.2.1).
Name |
Section |
Description |
---|---|---|
Page Content records |
Page content records specify formatting and graphical content, in the form of embedded EMF metafiles. |
|
Page Offset records |
Page offset records specify the location of page content records in the EMF spool format metafile. |
|
Font Definition records |
Font definition records specify partial fonts, complete fonts, and font properties. |
|
Font Offset records |
Font offset records specify offsets to embedded font definition records. |
|
EMRI_DEVMODE record |
EMRI_DEVMODE records store device settings and properties. |
|
EMRI_PRESTARTPAGE record |
EMRI_PRESTARTPAGE records contain information used in encapsulated PostScript (EPS) printing. |
|
EMRI_PS_JOB_DATA record |
EMRI_PS_JOB_DATA records store injected PostScript data at the job level.<3> |
All EMF spool format data records have the generic format specified as follows.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ulID |
|||||||||||||||||||||||||||||||
cjSize |
|||||||||||||||||||||||||||||||
data (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
ulID (4 bytes): A 32-bit unsigned identifier that specifies the type of record from the RecordType Enumeration (section 2.1.1).
cjSize (4 bytes): A 32-bit unsigned integer that specifies the size, in bytes, of the data attached to the record. The size of each record in an EMF spool format metafile MUST be rounded up to a multiple of 4 bytes.
data (variable): A variable-size array that stores the data information of the record, according to its record type. The data array MUST be 32-bit aligned.