You are on page 1of 2

URL format: arrowhead://x-callback-

url/method?parameter=value&parameter=value&parameter=value&


Method Parameter Value Description
setup copies_num numeric Number of copies to print


Method Parameter Value Description
print selected_format
(optional)
file name Filename from the Custom Formats directory

copies_num
(optional)
numeric Number of copies to print

v[number] text The text to be put in the label


Method Parameter Value Description
zplcode code base64 code Decoded string will be saved on disk and selected on
Format selected

copies_num
(optional)
numeric Number of copies to print


Method Parameter Value Description
cpclcode code base64 code Decoded string will be saved on disk and selected on
Format selected

copies_num
(optional)
numeric Number of copies to print


Method Parameter Value Description
printpdf file The URL of
the pdf.
If the URL is valid then the PDF file will be saved, and
print command is performed

copies_num
(optional)
numeric Number of copies to print


Method Parameter Value Description
printimage file The URL of the
image.
If the URL is valid then the PDF file will be saved,
and print command is performed

copies_num
(optional)
numeric Number of copies to print




Notes:

* Return to source app: There are two ways:
- set x-source parameter. Eg. to return to Safari: airconnect://x-callback-url/print?x-
source=http://&parameter=value
http is the source app protocol like in our app: airconnect

- if the source app have a protocol set then will be placed automatically. This protocol
must respond to x-callback-url protocol

More informations about x-callback-url at: http://x-callback-url.com/examples/


* For all CPCL/ZPL codes encoded with base64 characters: = sign from the end of the string
must be replaced with the _ sign.

You might also like