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

Fill a Rectangular Area (BOX)<br />

Fill a Rectangular Area (BOX)<br />

The BOX record defines the size of an area that is to be filled with a black<br />

or white fill pattern. The fill pattern is placed in the page bitmap using the<br />

current logical function as defined by a previous SLF record or by the<br />

default function (OR).<br />

Byte Position Bytes Field Name Description<br />

After this record, the cursor position is at the current X position and the<br />

current Y position plus the height of the box. The height and width of the<br />

box are in the upright orientation.<br />

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

field. For example, hex 00 09 specifies a record length of 9 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 27<br />

identifies the BOX record.<br />

5-6 2 Height An unsigned binary value representing the height of the box in<br />

dots. The range depends on the printer and the PLR record. The<br />

height is measured down the length of the page in the Y direction<br />

when looking at the substrate in the direction it is moving. For<br />

example, hex 00 37 specifies a box height of 55 dots.<br />

7-8 2 Width An unsigned binary value representing the width of the box in dots.<br />

The range is printer and printhead dependent. For example, the<br />

range is 1-4096 for systems using four stitched 4-inch printheads<br />

and 1-1024 for systems with one 4-inch printhead. The width is<br />

measured across the width of the page in the X direction when<br />

looking at the substrate in the direction it is moving. For example,<br />

hex 06 A1 specifies a width of 1697 dots.<br />

9 1 Fill Pattern A binary value that specifies the fill pattern. Hex 00 = white and<br />

hex 01 = black.<br />

Some KODAK VERSAMARK printers support clipping of the image created<br />

by a BOX record. Clipping means that if part of the box falls outside the<br />

buffer, the part that is in the buffer is printed and the cursor is moved. The<br />

cursor is moved as if the entire image was printed, even though it may fall<br />

outside the buffer. See Appendix C to determine if your printer supports<br />

clipping for the BOX record.<br />

If clipping is not supported and part of the box falls outside the buffer,<br />

none of the box is printed and the cursor is not moved.<br />

In both cases (clipping supported and clipping not supported), a message<br />

is generated only if the image falls outside the limits set by the RCR<br />

record (or the default range if no RCR). Refer to the RCR record<br />

description.<br />

Reference Guide 4 - 51

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

Saved successfully!

Ooh no, something went wrong!