Exercise 1: Copy Files to a USB Flash Drive and Perform USB Mirror

Exercise 1: Copy Files to a USB Flash Drive and Perform USB Mirror

  1. On your USB flash drive, create the following:
    • A folder called
      Zebra
    • In that folder, three subfolders:
      • appl
      • commands
      • files
  2. In the
    /appl
    folder, place a copy of the latest firmware for your printer.
    Avoid underscores in the filenames. Some functions may NOT work properly if there are underscores. Use periods instead.
  3. In the
    /files
    folder, place the following file:
    ZEBRA.BMP
  4. In the
    /commands
    folder, place the following files:
    SAMPLELABEL.TXT
    and
    LOGO.ZPL
    .
  5. Insert the USB flash drive into a USB host port situated on the front of your printer.
  6. Observe the user interface and wait for the following:
    • If the firmware on the USB flash drive is different than what is on the printer, the firmware downloads to the printer. The printer then restarts and prints a printer configuration label. (If there is no firmware on the USB flash drive or if the firmware version is the same, the printer skips this action.)
    • The printer downloads the files in the
      /files
      folder and briefly shows on the display and, in  case of printers that have a Color Touch display, the names of the files that are downloading to the printer from the USB drive.
    • The printer executes any files you added to the
      /commands
      folder.
    • The printer restarts, then displays the message
      MIRROR PROCESSING FINISHED.
  7. Remove the USB Flash drive from the printer.
Exercise 1: Information for Advanced Operators
See the ZPL Programming Guide for more information about these commands.
Enable/disable mirroring:
! U1 setvar "usb.mirror.enable" "value" —
Values
: "on" or "off"
Enable/disable automatic mirroring that occurs when a USB Flash drive is inserted into the USB host port:
! U1 setvar "usb.mirror.auto" "value" —
Values:
"on" or "off"
Mirror operation retry number — Specify the number of times that the mirror operation will be repeated if it fails:
! U1 setvar "usb.mirror.error_retry" "value" —
Values:
0 to 65535
Change file path from USB — Reprogram the file location the printer searches to retrieve files from the USB memory during mirror operations:
! U1 setvar "usb.mirror.appl_path" "new_path" — Default: "zebra/appl"
Change file path to USB — Reprogram the file location the printer places files into USB memory during mirror operations:
! U1 setvar "usb.mirror.path" "path" —
Default:
"zebra"
Enable/disable the USB host port:
! U1 setvar "usb.host.lock_out" "value" —
Values:
"on" or "off"