Step by Step Instructions for Sending Encoded ZPL Directly to Zebra Printer with Mobi Print v 2.5

  • Step by Step Instructions for Sending Encoded ZPL Directly to Zebra Printer with Mobi Print v 2.5

    Programming Printer in ZPL:

    • Obtain Zebra W-Fi printer (usually a label printer) or the Zebra iMZ Series for Bluetooth (receipts only)
    • Connect device to Wi-Fi network or attach Bluetooth to iOS device.
    • Download and install latest version of Mobi Print from the App Store
      • Connect printer under Printer Setup in Mobi Print.
      • Once connected, go to Printer Utilities and select Printer Language.  Select ZPL, and make sure to click Send.  The printer won’t do much, but you will see it flash or something briefly will appear on LCD. (You can verify it is in ZPL by then clicking the Get button on the Printer Language line)
      • mobiii
      • Once printer is in ZPL mode, it is ready to accept an encoded ZPL string.
        • Go to the Print page in Mobi Print
        • Exit Mobi print by tapping home button, and go to link below in Safari or Google Chrome.
        • On the bottom of the post is a hyperlink entitled “Test link”.  Click that.  It will bring you into Mobi Print page.  (For the first time, it might take 4-5 seconds as its downloading your ZPL format into an array in the app.)
        • Then hit Print to confirm it worked.  You have the option click insert variables for manual entry of items on the format or have the entire code from your web service insert the variables (This likely won’t be necessary; however, if you want to enter variables on the Mobi Print side there are scanners available that can input text into the variable fields HERE.  You would designate _var_1_ or _var_2_ in your original ZPL code (before encoding) and it then will also allow you to enter an additional variable inside Mobi Print.

     Designing Label Formats:

    Once raw zpl is encoded, you can use it below

    • The output for the above method would
    • [code]XlhBXkZPMTAsMTAwXkJZNl5CRk4sNiwyMF5GREV4YW1wbGUgb2YgWlBMIEVuY29kaW5nXkZTXlha[/code]
    • You would then place that variable or the result into the Mobi print call URL
      • arrowhead://x-callback-url/zplcode?code=<ZPL_CODE>
      • arrowhead://x-callback-url/zplcode?code=$str
      • [code]arrowhead://x-callback-url/zplcode?code=XlhBXkZPMTAsMTAwXkJZNl5CRk4sNiwyMF5GREV4YW1wbGUgb2YgWlBMIEVuY29kaW5nXkZTXlha [/code]

    On your iOS device, with MobiPrint and a connected zebra printer, you can test via this link below.

    Here is a Test Print link (click here)

    Leave a comment