zpl.tools
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.x

Parameters

  • 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

DeviceCodeTypePersistence
RAMR:VolatileLost on power-off
Flash CardB:Non-volatileSurvives power-off
Flash MemoryE:Non-volatileSurvives 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
^XZ

Copies LOGO.GRF from RAM to Flash Card.

Copy All Graphics

^XA
^TOR:*.GRF,E:*.GRF
^XZ

Copies all .GRF files from RAM to Flash Memory.

Backup Fonts

^XA
^TOR:*.FNT,B:*.FNT
^XZ

Backs up all fonts to Flash Card.

Wildcard Patterns

PatternEffect
LOGO.GRFSingle file
LOGO.*All files named LOGO
*.GRFAll graphics files
.All files
  • ~DG - Download Graphic
  • ^ID - Image Delete
  • ~HM - Host Memory Status
  • ^HW - Host Directory List

See Also