Salesforce

How Do I Print a PDF from My Mobile Application? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Print a PDF from My Mobile Application? (Magic xpa 3.x)

For iOS devices, you can print a PDF like this:

  1. Create an Invoke OS Cmd operation.

  2. Make sure that the Execute On property is set to Client.

  3. Set the command with a syntax of Print:filename where filename is either:

  • A path to a local file (as received from the ServerFileToClient() function)

  • A URL to a file on a web server (such as 'http://1.1.1.1/myfile.pdf')

The printing is done using the iOS Air Print protocol.

Since version: 2.3

For Android devices, you can print a PDF like this:

  1. Create an Invoke OS Cmd operation.

  2. Make sure that the Execute On property is set to Client.

  3. Set the command with a syntax of Print:filename where filename is:

  • A path to a local file (as received from the ServerFileToClient function)

The printing is done using the Google Cloud Print protocol.

Since version: 3.0

Reference
Attachment 
Attachment