次の方法で共有


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

2.2.3.1

Page content records specify formatting and graphical content, in the form of embedded EMF metafiles.

Page Offset records

2.2.3.2

Page offset records specify the location of page content records in the EMF spool format metafile.

Font Definition records

2.2.3.3

Font definition records specify partial fonts, complete fonts, and font properties.

Font Offset records

2.2.3.4

Font offset records specify offsets to embedded font definition records.

EMRI_DEVMODE record

2.2.3.5

EMRI_DEVMODE records store device settings and properties.

EMRI_PRESTARTPAGE record

2.2.3.6

EMRI_PRESTARTPAGE records contain information used in encapsulated PostScript (EPS) printing.

EMRI_PS_JOB_DATA record

2.2.3.7

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.


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

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.