12.11.2012 Views

ijpds formats.book - Kodak

ijpds formats.book - Kodak

ijpds formats.book - Kodak

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4. Record Formats<br />

Set Font and Spacing (SFS)<br />

Set Font and Spacing (SFS)<br />

The SFS record specifies a font and spacing values.<br />

4 - 38 IJPDS Formats<br />

The font identified in this record can be a regular or super font. It becomes<br />

the current font and remains in effect until another SFS record or an SOD,<br />

SDC, SFI, or SFT record is received.<br />

The SFS record sets all line and character spacing values to those<br />

contained in the spacing fields in this record. These become the current<br />

spacing values and remain in effect until another SFS record or an SOD,<br />

SDC, SFI, or SFT record is received.<br />

Byte Position Bytes Field Name Description<br />

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

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 31<br />

identifies the SFS record.<br />

5 1 Font Number A binary number that identifies the font or super font to be selected.<br />

The range is 0 - 254. For example, hex 0A specifies a font number<br />

of 10.<br />

6 1 Reserved This field is not used and must contain all binary zeroes.<br />

7-10 4 X Line Spacing A signed binary number that is added to the X Escapement<br />

specified in the font record to determine the starting X position of<br />

the next line relative to the starting X position of the current line.<br />

The X line spacing moves relative to the direction of the font.<br />

Negative values are represented using the two's complement form.<br />

For example, hex 00 00 00 08 specifies +8 dots hex FF FF FF F8<br />

specifies -8 dots.<br />

11-14 4 Y Line Spacing A signed binary number that is added to the Y Escapement<br />

specified in the font record to determine the starting Y position of<br />

the next line relative to the starting Y position of the current line.<br />

The Y line spacing moves relative to the direction of the font.<br />

Negative values are represented using the two's complement form.<br />

For example, hex 00 00 00 1B specifies +27 dots and hex FF FF FF<br />

E5 specifies -27 dots.<br />

15-18 4 X Character Spacing A signed binary number that is added to the X Escapement<br />

specified in each character record to determine the starting X<br />

position of the next character cursor relative to the starting X<br />

position of the current character cursor. The X character spacing<br />

moves relative to the direction of the font.<br />

Negative values are represented using the two's complement form.<br />

For example, hex 00 00 00 16 specifies +22 dots and hex FF FF FF<br />

EA specifies -22 dots.<br />

19-22 4 Y Character Spacing A signed binary number that is added to the Y Escapement<br />

specified in each character record to determine the starting Y<br />

position of the next character cursor relative to the starting Y<br />

position of the current character cursor. The Y character spacing<br />

moves relative to the direction of the font.<br />

Negative values are represented using the two's complement form.<br />

For example, hex 00 00 00 1B specifies +27 dots and hex FF FF FF<br />

E5 specifies -27 dots.

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

Saved successfully!

Ooh no, something went wrong!