Hi Everyone!
I am trying to set up an MK500 laser-based micro kiosk with PocketBrowser.
I have found how to set an imager-based MK500 to presentation mode, but I can't see how to set the auto trigger for the laser scanner.
Is it possible to set the auto trigger through PocketBrowser, or will I need to use a custom-written application or datawedge?
Thanks,
--John
MK500 Auto Trigger in PocketBrowser |
1 Replies
Hi John,
There is a code snippet in the PocketBrowser 3.1 help file for this (and earlier, I think it was introduced in 2.21):
The documentation is not online so I'll copy it here:
var Generic = new ActiveXObject("PocketBrowser.Generic");
function doSoftScan()
{
Generic.InvokeMetaFunction('scanner', 'start');
}
function doScan(data)
{
bcode.innerHTML = data;
doSoftScan();
}