CommandsMemory storage
^TO - Transfer Object
Copies objects between storage devices (RAM, Flash, Memory Card)
^TO - Transfer Object
Overview
The ^TO command copies objects or groups of objects from one storage device to another, similar to a file copy operation. This allows transferring stored graphics, fonts, and formats between different memory locations such as DRAM, Flash Memory, or Memory Cards.
Syntax
^TOd:o.x,s:o.xParameters
- d = Source device
- R: = RAM (DRAM)
- B: = Flash Card (PCMCIA)
- E: = Flash Memory (onboard)
- o = Source object name (1-8 characters, supports wildcards *)
- x = Extension (3 characters, supports wildcards *)
- s = Destination device (R:, B:, or E:)
- o = Destination object name (1-8 characters)
- x = Extension (3 characters)
Description
- Transfers objects between storage devices
- Supports wildcard patterns for multiple objects
- Cannot transfer Zebra system files (Z:.) - copyrighted
- Entire operation negated if destination lacks space
Storage Devices
| Device | Code | Type | Persistence |
|---|---|---|---|
| RAM | R: | Volatile | Lost on power-off |
| Flash Card | B: | Non-volatile | Survives power-off |
| Flash Memory | E: | Non-volatile | Survives power-off |
Usage Notes
- Source and destination must be different and valid
- If destination lacks space, operation is aborted completely
- Invalid parameters cause instruction to be ignored
- Wildcards can be used in object names and extensions
- Useful for backup, migration, and distribution
Examples
Copy Single File
^XA
^TOR:LOGO.GRF,B:LOGO.GRF
^XZCopies LOGO.GRF from RAM to Flash Card.
Copy All Graphics
^XA
^TOR:*.GRF,E:*.GRF
^XZCopies all .GRF files from RAM to Flash Memory.
Backup Fonts
^XA
^TOR:*.FNT,B:*.FNT
^XZBacks up all fonts to Flash Card.
Wildcard Patterns
| Pattern | Effect |
|---|---|
| LOGO.GRF | Single file |
| LOGO.* | All files named LOGO |
| *.GRF | All graphics files |
| . | All files |
Related Commands
~DG- Download Graphic^ID- Image Delete~HM- Host Memory Status^HW- Host Directory List