Pass variables into Mobi Print with a URL, and print to a selected format.

  • Pass variables into Mobi Print with a URL, and print to a selected format.

    There are several ways to transmit data to and from Mobi Print. The most common is a URL.

    REQUIRED to construct URL
    URL always starts with:

    Arrowhead://x-callback-url/print?

    Followed by Variables (no limit to amount of variables just separate them with a “&”
    • v1=
    • v2=
    • v3=
    • ..etc

    Complete example of a URL would look like:

    Arrowhead://x-callback-url/print?&v1=This&v2=is&v3=a&v4=Zebra&v5=printer&v6=test

    Once you have made the URL, you need to make a label format.:

    Designing Label Formats:

    • Click print, and verify the label prints correctly on your printer.  If all is well, proceed…(note it will say _var_1_ but this will be replaced in the app once the URL is received.
    • Click Print again, and then on print dialog screen, select print to file.  Save the file to desktop, it should be a .prn file (you can open a PRN file with Notepad to verify the information).
    • Open .prn in a text editor.  This is your RAW cpcl code.

    Email the .prn file to support@mobiprintapp.com and it will be hosted in your custom folder in your app.

     

     

     

     

     

    Comments (6)

    Leave a comment

Loading...