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 Relative Position (SRP)<br />

Set Relative Position (SRP)<br />

The SRP record contains X and Y values that set a new cursor position<br />

relative to the current cursor position.<br />

Byte Position Bytes Field Name Description<br />

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

field. For example, hex 00 0C specifies a record length of 12 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 38<br />

identifies the SRP record.<br />

5-8 4 X Value A signed binary number that is added to the current X position of<br />

the cursor to determine the new X position of the cursor.<br />

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

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

F8 specifies -8 dots.<br />

9-12 4 Y Value A signed binary number that is added to the current Y position of<br />

the cursor to determine the new Y position of the cursor.<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<br />

FF E5 specifies -27 dots.<br />

Reference Guide 4 - 35

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

Saved successfully!

Ooh no, something went wrong!