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

Set Page Length (SPL)<br />

Set Page Length (SPL) The SPL record specifies the length of the current page. By default, the<br />

length of each page is calculated based on the image data on the page.<br />

The page length is the number of dot rows to be printed. Printing always<br />

starts at the top of the buffer (Y = 0). The default page length is the<br />

maximum of the Y value of any position that the cursor ever occupied on<br />

the page, or one more than the highest Y position occupied by the cell or<br />

bounding box of any character, BOX or IBM.<br />

Byte Position Bytes Field Name Description<br />

Using the SPL record, the page length can be set to be longer or shorter<br />

than the length calculated based on the image data. If the page length is<br />

set to be shorter than the calculated length, part of the image will be<br />

clipped. If the page length is set to be longer than the calculated length,<br />

white space is included up to the specified length.<br />

If the SPL record occurs more than once for a page, the last value<br />

specified is used.<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 3A<br />

identifies the SPL record.<br />

5-6 2 Page Length An unsigned binary value representing the page length in dots.<br />

The range is 1 to the maximum page buffer length. For example,<br />

0E 06 represents a page length of 3590 dots.<br />

Reference Guide 4 - 55

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

Saved successfully!

Ooh no, something went wrong!