User manual - Web_Browser_Prog_Guide

NAURTECH WEB BROWSER SMART CLIENTS FOR WINDOWS CE .NET / POCKET PC
Web Browser Programming Guide Page 50
var serial;
var ceuuid;
var version;
function saveunitinfo(serialarg, ceuuidarg, versionarg)
{
serial = serialarg;
ceuuid = ceuuidarg;
version = versionarg;
}
</script>
</head>
<body onload="javascript:checkversion();">
....check version variable and return info to host....
</body>
Alternatively, you can use a CEBrowseX or “external” object to retrieve the
version in a CETerm.GetProperty call. Other browsers will be able to create a
CEBrowseX object if it is installed, but CETerm.GetProperty will not return a valid
result.
<object id="CEBrowseX"
classid="clsid:D14943BD-4900-453E-8582-725F21A57E0C"
height=0, width=0>
</object>
...
<script language=javascript>
function checkversion()
{
version = document.CEBrowseX.CETerm.GetProperty( "app.version" );
// check the version value, return info to host
}
4.6 DEVICE INFORMATION
You can retrieve information about the device configuration using the
CETerm.GetProperty method. See the CEBrowseX section for details
4.7 SYMBOL WEB CLIENT
An early browser developed for Symbol devices running the Palm OS had some
extensions for controlling the scanner and printing. These extensions were
implemented through custom attributes on standard HTML tags and custom
HTML tags. The Naurtech Web Browser running on Windows CE .NET or CE
5.0 platforms supports these extensions. These extensions are not supported on
Pocket PC 2002 or Windows Mobile based devices. These extensions are
supported for compatibility with existing Web based applications. New Web
applications should use the META tags.