12.11.2012 Views

ijpds formats.book - Kodak

ijpds formats.book - Kodak

ijpds formats.book - Kodak

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 4. Record Formats<br />

Super Font with Metrics (SFM)<br />

Super Font with Metrics (SFM)<br />

The SFM record is used to provide general information about a Category<br />

II super font and to indicate that the following CDM and/or CCD records<br />

define characters in the super font. A super font is a double-byte font<br />

used with certain languages to provide a large number of characters that<br />

all have the same typeface and size.<br />

Byte Position Bytes Field Name Description<br />

After an SFM in the job file, any record other than a CDM, CCD, RIP,<br />

NOP, or MSG ends the super font.<br />

1-2 2 Record Length The length of this record, in binary, including the record length<br />

field. For example, hex 00 16 specifies a record length of 22 bytes.<br />

3 1 Cyclic Record Count A binary cyclic record count using modulo 256. Each record in the<br />

job is counted, starting with hex 01 for the first record. The 255th<br />

record is hex FF and the 256th record is hex 00. This count is used<br />

to verify record sequence.<br />

4 1 Control Code A binary code that identifies the record type. A value of hex 2F<br />

identifies the SFM record.<br />

5-8 4 X Escapement A signed binary number used to calculate the X coordinate of the<br />

starting position for the next line. Negative values are represented<br />

using the two's complement form. For example, hex 00 00 00 08<br />

specifies +8 dots and hex FF FF FF F8 specifies -8 dots.<br />

The current X line spacing value is added to the value in this field<br />

to calculate the X position for the next line.<br />

9-12 4 Y Escapement A signed binary number used to calculate the Y coordinate of the<br />

starting position for the next line. Negative values are represented<br />

using the two's complement form. For example, hex 00 00 00 1B<br />

specifies +27 dots and hex FF FF FF E5 specifies -27 dots.<br />

The current Y line spacing value is added to the value in this field<br />

to calculate the Y position for the next line.<br />

13 1 Font Rotation A binary code that identifies the font rotation.<br />

0 (hex 00)=Upright2 (hex 02)=Inverted<br />

1 (hex 01)=Right-Rotated3 (hex 03)=Left-Rotated<br />

The font must be patterned in an upright rotation. This field is used<br />

by the printing system to rotate the font to the desired rotation.<br />

If it is to be used in more than one rotation in the same job, a super<br />

font and all characters in the super font must be defined once for<br />

each rotation.<br />

14 1 Super Font Number A number, in binary, that identifies the super font. The range is 0 -<br />

254. For example, hex 0A specifies a font number of 10.<br />

15-22 8 Super Font Name The name of the super font in EBCDIC. The field must be left<br />

justified and space filled to the right. For example, hex C8 C5 E6<br />

C9 E3 E3 40 40 specifies a font name of HEWITT. This name must<br />

match a font name in the FAR record.<br />

Reference Guide 4 - 13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!