beautypg.com

Remove resource command – Xerox 2025 User Manual

Page 173

background image

PCL 5 Emulation

C-29

Document Option Commands

Remove Resource Command

Purpose

Specifies the ID of the object that is to be removed
from the printer system.

Range

*, -1 to 32767

Default

-1 (wildcard)

Format

Integer

Notes

If the

object id

is not specified, or if it is specified as *

or -1, all objects on the specified resource are
removed.

Notes:

Unlike the %%IncludeFeature:install command, the
%%IncludeFeature:remove command does not set any
defaults, and it is not directly related to the job to which it is
attached. This command allows you to remove external objects
from the system without having to generate a job containing both
the DOC command to set the appropriate current resource and
the PCL code to delete the desired object.

If this command is specified more than once, the last command
received is the one that will be executed. In the following
example, the remove(6 5 font) command is executed, and the
remove(6 1 macro) command is ignored:

%%IncludeFeature:remove(6 1 macro) remove(6 5 font)

Syntax

%%IncludeFeature:removeresource(

resource id object id

)

Purpose

Identifies an external object that is to be removed from the
printer system.

Notes

This is an obsolete command that is identical to the remove
command, except that it does not allow specification of an object
type. The DOC string “removeresource(aaa bbb)” is equivalent
to “remove(aaa bbb *)”.

Variables

resource id

Purpose

Indicates the resource from which the object is to be
removed.

Range

0-6

Default

N/A

This manual is related to the following products: