Updated DOC

Commands

object id

Purpose Assigns an ID to an object, such as a font, macro, or pattern

Range 0-32767

Default 0

Format Integer

Notes The object ID can be used instead of the usual PCL command to assign an ID. This ID is overwritten by any ID assigned from the PCL print job, if present. If neither a DOC command nor the PCL print job specify an ID, the default ID of 0 is used. Identifiers must be unique. If the ID matches an ID for an existing object, that object is deleted and replaced by the new object. If a %%IncludeFeature:remove command precedes a %%IncludeFeature:install command, the install command is ignored (these two commands are mutually exclusive).

Notes All downloaded objects are by default temporary and will be deleted at the end of a job unless Retain Temporary is set to On or On Compatibility. If the file the %%IncludeFeature:install command is attached to does not make its downloaded fonts permanent or Retain Temporary is not set, then those objects are removed from the disk when the job completes.

A downloaded font can be accessed only by its ID if the font is stored in the current resource. Regardless of its resource, a font can be selected by its attributes. Example A shows a pair of jobs that will not produce the desired results (subjob 2 has only the appearance of storing the font on disk). By contrast, examples B and C show a pair of jobs that will produce the desired results.

Examples Example

%!

 

A—Job 1

%%IncludeFeature:emulation(pcl5) install(6 20)

 

 

%%EndComments

 

 

<ESC>)s#W<<download font header>><ESC>*c33E

 

 

<ESC>(s#W<<char 33 data>><ESC>*c34E

 

 

<ESC>(s#W<<char 34 data>>... <ESC>*c5F

 

 

 

 

Example

<ESC>(20Xthis text is NOT in the downloaded font...

 

A—Job 2

 

 

 

 

Document Option Commands

C-9