Exercise 1: Copying Files to a USB Flash Drive and Performing USB Mirror

Exercise 1: Copying Files to a USB Flash Drive and Performing USB Mirror

  1. On your USB flash drive, create the following:
    • A folder called
      Zebra
    • In that folder, three sub folders:
      • appl
      • commands
      • files
  2. In the
    /appl
    folder, place a copy of the latest firmware for your printer.
    Some functions may not work properly if there are underscores in a file name. 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 on the front of your printer.
  6. Observe the user interface and wait. The following should happen:
    • 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 the names of the files that are downloading on the display.
    • The printer executes any files in the
      /commands
      folder.
    • The printer restarts and then displays the message
      MIRROR PROCESSING FINISHED.
  7. Remove the USB flash drive from the printer.
Exercise 1: Advanced User Information
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"