Receipt printing - PLIST entry

  1. 6 months ago

    Thomas P

    7 Jun 2019 Pre-Release Testers, Xojo Pro

    I am trying to use Mobi Print Enterprise on an iPad using encodebase64 ZPL to print receipts. I am writing an app that can modify the ZPL code, convert to encodebase64, and then send it to toe IOSHTMLViewer. Right now I can copy the encoded64 zpl code+link and paste it to Safari and it sends the zpl to the Mobi App and prints to my Zebra ZQ320. However, I want to be able to send it to the IOSHTMLViewer in my app, so after it prints it will return to my app, However, I get no results. I can open any normal webpage for http or https in the IOSHTMLViewer, but this won't run. I think there may be an Apple plist key that can be set for IOS to allow this.

    Here's what gets passed as the URL to the viewer/browser:

    arrowhead://x-callback-url/zplcode?x-success=http://&code=XkNUfn5DRCx+Q0NefkNUfg1eWEF+VEEwMDB+SlNOXkxUMF5NTk5eTVREXlBPTl5QTU5eTEgwLDBeSk1BXlBSOCw4flNEMTVeSlVTXkxSTl5DSTBeWFoNXlhBDV5NTVQNXlBXODEyDV5MTDA0MDYNXkxTMA1eRlQ0MjAsMzY0XkEwTiwyMCwxOV5GSF5GRFNQRUNJQUxUWTogKDEyKV5GUw1eRlQxNSwzNjReQTBOLDIwLDE5XkZIXkZEU1RFUklMSVpFOig3KV5GUw1eRlQ0MjAsMzIzXkEwTiwyMCwxOV5GSF5GRFBBVElFTlQ6ICgxMSleRlMNXkZUMTUsMzIzXkEwTiwyMCwxOV5GSF5GRCMgT0YgVFJBWVM6KDYpXkZTDV5GVDQyMCwyODNeQTBOLDIwLDE5XkZIXkZERE9DVE9SOiAoMTApXkZTDV5GVDE1LDI4M15BME4sMjAsMTleRkheRkRQSE9ORTogKDUpXkZTDV5GVDQyMCwyNDNeQTBOLDIwLDE5XkZIXkZEQ0FTRSBUSU1FOiAoOSleRlMNXkZUMTUsMjQzXkEwTiwyMCwxOV5GSF5GRFJFUDogKDQpXkZTDV5GVDQyMCwyMDNeQTBOLDIwLDE5XkZIXkZEQ0FTRSBEQVRFOig4KV5GUw1eRlQxNSwyMDNeQTBOLDIwLDE5XkZIXkZEQ09NUEFOWTogKDMpXkZTDV5GVDE1LDE2NF5BME4sMjAsMTleRkheRkRUUkFZIE5VTUJFUjogKDIpXkZTDV5GVDE1LDExN15BME4sMjgsMjheRkheRkRTRUNPTkQgVElUTEVeRlMNXkZUMTUsNTReQTBOLDI4LDI4XkZIXkZETE9BTkVSIFRSQVkgTUFOQUdFTUVOVF5GUw1eUFExLDAsMSxZXlha

    Again, this works in Safari, but not in XOJO IOSHTMLViewer.

    Does anyone have an idea what it would be or know any way to get this to work in XOJO?

    Thanks in advance.
    Tom

    Lookup the OpenURL example included with your installation. You need to use that code to make this work, not an HTML viewer.

  2. Jason K

    8 Jun 2019 Pre-Release Testers Answer

    Lookup the OpenURL example included with your installation. You need to use that code to make this work, not an HTML viewer.

  3. Thomas P

    11 Jun 2019 Pre-Release Testers, Xojo Pro

    Thanks Jason. That works, but not reliably. Not sure there is anything that would with IOS and a Zebra print?

or Sign Up to reply!