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.

Cursor Restore (CSR)<br />

Byte Position Bytes Field Name Description<br />

Chapter 4. Record Formats<br />

Cursor Restore (CSR)<br />

The CSR record restores the cursor position to the last position stored by<br />

a CSS record for the specified number. The restore number in this record<br />

references the save number in the CSS record.<br />

If a cursor position was not stored for the number specified in the CSR<br />

record, the cursor is set to the default position (0,0).<br />

The CSR record does not reset the saved cursor position it restores.<br />

Successive CSR records for the same position number, without an<br />

intermediate CSS record, set the cursor to the same saved position.<br />

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

field. For example, hex 00 05 specifies a record length of 5 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 37<br />

identifies the CSR record.<br />

5 1 Restore Number A binary number that identifies the saved cursor position. The<br />

range is 0-15, allowing 15 cursor positions to be restored. Restore<br />

number 0 always sets the cursor position to 0,0.<br />

Reference Guide 4 - 37

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

Saved successfully!

Ooh no, something went wrong!