To run successfully, this sample demo requires the following:
While the JavaScript included in this code sample is compatible with earlier versions of Kiosk Pro, those versions require a different 'kiosk_functions.js' file to access this functionality.
For live projects, we highly recommend hosting the 'kiosk_functions.js' file with your own files, whether they are placed on a server or stored locally on the iPad, and checking the app's change logs before updating. The 'kiosk_functions.js' file referenced in the sample may be updated or moved without warning - if you are referencing this file directly, this would prevent your kiosks from working correctly.
To run the demo on earlier versions of the app, generate the 'kiosk_functions.js' for that version from the settings menu under 'JavaScript API > Generate API Functions File'. Transfer the file from the device using iTunes so you can place it where you need it, then change the reference in the sample code to point at the file.
This app supports the following Custom America thermal kiosk printers:
MY3A | K3 | KPM216H ETH 200 dpi | KPM216H ETH 300 dpi |
KPM302H | KUBE | KUBE ETHERNET | Q1 |
Q3 | VKP80II | VKP80II ETHERNET | TG2460H |
TG2480H | D-ONE | KPM150H | KPM180H |
VK80 | VKP80III | MYPRINTER | KPM216H 200 dpi |
KPM216H 300 dpi | TL60 | TL80 | TG02-H |
PLUS2 | mPLUS2 | PLUS4 |
Your iOS device must be connected to the Custom America printer either through a local Wi-Fi connection or via Bluetooth dongle (recommended), which must be configured prior to app launch in iOS Settings.
For more information about Custom America printers, visit this page. Custom America has a utility app available through the iTunes App Store that can be used for testing and configuration, available for free here.