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

Remote Resource (RSRC)<br />

Remote Resource (RSRC)<br />

The RSRC record in the data stream directs the data system to read a<br />

sequence of IJPDS records from a remote resource file.<br />

Byte Position Bytes Field Name Description<br />

4 - 54 IJPDS Formats<br />

Primary applications can read fonts or bitmaps (IBMs and CBMs) from the<br />

remote resource file to enable:<br />

Faster font loading<br />

Faster inline bitmap (IBM or CBM) printing<br />

Smaller data stream<br />

Reuse of IBMs and CBMs.<br />

Resource files are assumed to be placed on the source by the host or a<br />

customer application.<br />

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

field. For example, hex 00 22 specifies a record length of 34 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 3F<br />

identifies the RSRC record.<br />

5 1 Resource Type Resource type:<br />

0 = This value is reserved;<br />

1 = IJPDS (the resource file is a sequence of IJPDS records).<br />

There is no block length or file length at the beginning of the<br />

resource file; the file starts with the first IJPDS record of the<br />

resource. The IJPDS records are sequential; there is no provision<br />

to pad the file for odd record lengths.<br />

6-8 3 Reserved These bytes are reserved for future use.<br />

9-n varies Resource Name NULL-terminated ASCII file name or path from the source file<br />

system.

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

Saved successfully!

Ooh no, something went wrong!