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 />
Verify Character Checksum (VCC)<br />
Verify Character Checksum (VCC)<br />
The VCC record is used to verify the data written to each page buffer. The<br />
printer starts calculating a checksum value at the start of each page and<br />
continues until the end of the page. When the VCC record occurs, the<br />
checksum value in the record is compared to the current checksum value<br />
calculated by the printer. If the two checksums do not agree, the printer<br />
does a fast stop operation. The VCC record may appear several times in<br />
the data stream for one page. For a multiple RIP, the checksum is<br />
calculated independently for each page for each RIP.<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 08 specifies a record length of 8 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 2D<br />
identifies the VCC record.<br />
5-8 4 Checksum A value calculated by the printer in the printing system as<br />
described below.<br />
4 - 60 IJPDS Formats<br />
The character checksum is calculated as follows:<br />
The checksum is set to 0 by the printer at the start of each page.<br />
As each character printed by an SFI, IML, SIL, or UIL record is placed<br />
into the page buffer, its character value is added to the character<br />
checksum for the page. Only the least significant 32 bits of the<br />
checksum is retained and checked.<br />
For a single-byte font, the character value is an 8-bit number calculated<br />
as follows:<br />
Character value = (character position + font number) modulo 256.<br />
Where:<br />
Character position = character identifier specified in CDR/CDM/CCD.<br />
Font number = number specified in FDR/FDM.<br />
For a double-byte font, the character value is an 8-bit number calculated<br />
as follows:<br />
Character value = (character position + subfont number + super font<br />
number) modulo 256.<br />
Where:<br />
Character position = character identifier specified in CDR.<br />
Subfont number is the number specified in FDR.<br />
Character position + subfont number = the sum of the two bytes in the<br />
character identifier in CDM/CCD.<br />
Superfont number is the number specified in SFD/SFM.