Front & Rear Camera Scanning Settings

Use the iPad's front & rear cameras to scan and interpret specific types of barcodes, including UPC and QR codes.

Camera

Supported in:

Kiosk Pro Enterprise

Choose whether to use the front or rear camera for scanning. The rear camera features a higher resolution camera, which may provide more reliable scanning results than the front camera.

Default Value:
  • None
Other Possible Values:
  • Front
  • Back

We've added custom JavaScript functions that you can call to begin the scan, at which point the camera goes full-screen allowing the visitor to easily position the code for scanning. When the scan had been captured, the data from the barcode is returned to your page through a JavaScript callback.

More information and sample code demonstrating these functions are available here.

Values for Remote Settings Control & Managed App Configuration

Key zscannerCamera
Key Type integer
Default Value 0
Possible Values
  • 0 = None
  • 1 = Front
  • 2 = Back


Supported Codes

Supported in:

Kiosk Pro Enterprise

Control the type of barcode scanning your visitors can perform.

Default Value:
  • All
Other Possible Values:
  • QR codes only
  • UPC barcodes only
  • Interleaved 2 of 5

The "All" option includes the following codes:

  • EAN-2, GS1 2-digit add-on
  • EAN-5, GS1 5-digit add-on
  • EAN-8
  • EAN-13
  • UPC-A
  • UPC-E
  • ISBN-10 (from EAN-13)
  • ISBN-13 (from EAN-13)
  • EAN/UPC composite
  • GS1 DataBar (RSS)
  • GS1 DataBar Expanded
  • Code 39
  • Code 93
  • Code 128
  • QR Code

Other options include "QR codes only", "UPC barcodes only", and "Interleaved 2 of 5". Using these narrower categories may decrease the amount of time it takes the app to interpret and return barcode data.

Note: "Interleaved 2 of 5" is not supported as a part of "All" due to default behavior of the underlying ZBar library Kiosk Pro uses for scanning. ZBar turns off support for Interleaved 2 of 5 to improve scanning time for other barcode types.

Values for Remote Settings Control & Managed App Configuration

Key zscannerTypeOfCodes
Key Type integer
Default Value 0
Possible Values
  • 0 = All
  • 1 = QR codes only
  • 2 = UPC barcodes only
  • 3 = Interleaved 2 of 5


Show Help Icon

Supported in:

Kiosk Pro Enterprise

Choose to show or hide the help icon that appears when scanning a barcode.

Default Value: On

Values for Remote Settings Control & Managed App Configuration

Key kp_zscannerShowHelpIcon
Key Type boolean
Default Value true


Scan Area

Supported in:

Kiosk Pro Enterprise

Define how much of the camera overlay can be used for scanning when using the JavaScript API. The scan area is outlined on screen with a blue rectangular overlay.

Scan area is defined as a set of four coordinates: leftCorner, topCorner, width, height. These are expressed as a decimal percentage of the screen where 0 = 0% and 1 = 100%.

Default Value: 0, 0, 1, 1

The default value of "0, 0, 1, 1", uses the full camera overlay. A value of "0.25, 0.25, 0.5, 0.5" would allow scanning in a rectangular area that covered the center 50% of the screen.

Values for Remote Settings Control & Managed App Configuration

Key kp_zscanner_scanArea
Key Type string
Default Value 0,0,1,1

Change Log

Ability to choose display of help icon added in version 7.0, ability to show the area for scanning added in version 7.5.

Still stuck? How can we help? How can we help?