How to Print Files Saved to an Android Device with Zebra Utilities

Article ID: 92893691

Details


 

Description

Using Zebra Utilities for Android to print files saved to the Android device's SD card

Applies To

Zebra Printers Excludes: ZQ110, EM220, EM220II

Requirements

Zebra Utilities application installed on your Android device as well as knowledge of your printers programming language.

CPCL Programming Manual Read More>>
ZPL Programming Manual Read More>>
EPL Programming Manual Read More>>

Overview

Zebra Utilities for Android (available on the Android Market or with the Android SDK download on Zebra.com  (Read More>>) offers printing functionality for files resident on the Android device.  This means, specifically, that a user can send a file stored on the Android device to print via WIFI or Bluetooth to the printer.  It is important to note that the file is being sent to the printer as pure text - there is no driver on the Android device which will actively turn the file into an image for printing.  

Example: Since mobile printers commonly accept CPCL commands, the following demonstrates how to save a CPCL label to the Android device and send it to a mobile printer.  A full manual on CPCL commands can be found here: Read More>>

Procedure

1. Save the document to the Android device.

First, connect the Android device via USB to the host computer.  When prompted, make sure that 'Disk Drive' is selected as the connection type.  This will allow us to transfer files to and from the Android device's SD card.  Generally, the following menu appears at the top Android toolbar when you connect the device to a computer, and it will allow you to connect as a disk drive:

User-added image


We will take a CPCL label, in this case called sample.cpcl, and store it to the printer.  The CPCL label's contents are:

! 0 200 200 210 1
TEXT 4 0 30 40 Hello World
FORM
PRINT

Notice that a carriage return follows each command, including the PRINT command.  Once connected and in 'disk drive' mode, the Android device should be listed as a memory device in 'My Computer'.  Open up 'My Computer' and explore the Android device.  Copy sample.cpcl into this directory.  Generally speaking, this directory corresponds to the Android's SD card.  For the purposes of this example, we are assuming that the files are being stored to the Android device's SD card, and not internal memory.

User-added image
 

After copying the files over, disconnect the Android device from the computer so that applications on the device may access the SD card to read the copied files.

2.  Load the document in Zebra Utilities and Print

Now that we have the CPCL file stored to the device's SD card, we can access it with Zebra Utilities.  Open up Zebra Utilities and hit the 'menu' button on the phone.  You should see a menu similar to this one:

User-added image

 

Select 'File Directory' and input '/mnt/sdcard/' as the directory.  This corresponds to the directory in which you placed sample.cpcl in step 1.

User-added image


At this point you can go back to the Zebra Utilities home screen and choose the 'File' option, which will explore basic files for printing.  If done correctly, the following should appear under the 'Other' category.  If the file is not yet there, make sure that your Android device is no longer acting as a disk drive by disconnecting it from the computer. 

User-added image


At this point, you can select the file to send it to print.

+ Product Codes

  • 105SLPlus Industrial Printers
  • 105SLPlus Industrial Printers
  • 110PAX Print Engines (disc.)
  • 110Xi4 Industrial Printer
  • 140Xi4 Industrial Printer
  • 170Xi4 Industrial Printer
  • 220Xi4 Industrial Printer
  • 2824 Plus Series
  • 2824-Z Series
  • All Surface RFID Label Solution
  • Desktop Printers
  • G-Series GC Desktop Printers
  • G-Series GK Desktop Printers
  • G-Series GX Desktop Printers
  • GC420d Desktop Printer
  • GC420t Desktop Printer
  • GK420 Healthcare Desktop Printers
  • GK420d Desktop Printer
  • GK420d Healthcare Desktop Printer
  • GK420t Desktop Printer
  • GK420t Healthcare Desktop Printer
  • GT800 Desktop Printer
  • GX420Rx Desktop Printer
  • GX420d Desktop Printer
  • GX420t Desktop Printer
  • GX430d Desktop Printer
  • GX430t Desktop Printer
  • HC100 Wristband Printer
  • HC100 Wristband Printer
  • Industrial Printers
  • KR403 Kiosk Receipt Printer
  • LP 2824 Plus Desktop Printer
  • Print Engines
  • R110Xi4 RFID Printer
  • RFID Printers
  • RP4T RFID Printers
  • RP4T RFID Printers
  • TLP 2824Plus Desktop Printer
  • Xi Series Industrial Printers
  • ZD410 Series
  • ZD410D
  • ZD420 Series
  • ZD420-HC
  • ZD420C
  • ZD500 Desktop Printer
  • ZD500 Desktop Printer
  • ZD500R RFID Printers
  • ZD500R RFID Printers
  • ZE500 Print Engines
  • ZE500 Print Engines
  • ZE500R RFID Print Engine
  • ZE500R RFID Print Engine
  • ZM400
  • ZM600
  • ZT200 Series Industrial Printers
  • ZT210 Industrial Printer
  • ZT220 Industrial Printer
  • ZT230 Industrial Printer
  • ZT400 Series Industrial Printers
  • ZT400 Series RFID Printers
  • ZT410 Industrial Printer
  • ZT410 RFID Industrial Printer
  • ZT420 Industrial Printer
  • ZT420 RFID Industrial Printer