Specifications
ZPL Commands
^TO
274
45541L-004 Rev. A ZPL II Programming Guide 9/15/06
^TO
Transfer Object
Description The ^TO command is used to copy an object or group of objects from one
storage device to another. It is similar to the copy function used in PCs.
Source and destination devices must be supplied and must be different and valid for the action
specified. Invalid parameters cause the command to be ignored.
The asterisk (*) can be used as a wild card for object names and extensions. For instance,
ZEBRA.* or *.GRF are acceptable forms for use with the
^TO command.
At least one source parameter (
d, o, or x) and one destination parameter (s, o, or x) must be
specified. If only
^TO is entered, the command is ignored.
Format ^TOs:o.x,d:o.x
This table identifies the parameters for this format:
Comments Parameters
o, x, and s support the use of the wild card (*).
If the destination device does not have enough free space to store the object being copied, the
command is canceled.
Zebra files (
Z:*.*) cannot be transferred. These files are copyrighted by
Zebra Technologies.
Parameters Details
s = source device of
stored object
Accepted Values:
R:, E:, B:, and A:
Default Value: if a drive is not specified, all objects are transferred
to the drive set in parameter
s
o
= stored object
name
Accepted Values: any existing object conforming to Zebra
conventions
Default Value: if a name is not specified, * is used — all objects
are selected
x = extension
Accepted Values: any extension conforming to Zebra conventions
Default Value: if an extension is not specified, * is used — all
extensions are selected
d = destination
device of the
stored object
Accepted Values:
R:, E:, B:, and A:
Default Value: a destination must be specified
o = name of the
object at
destination
Accepted Values: up to 8 alphanumeric characters
Default Value: if a name is not specified, the name of the existing
object is used
x = extension
Accepted Values: any extension conforming to Zebra conventions
Default Value: if an extension is not specified, the extension of the
existing object is used