The Print Method of the MicroFlash ActiveX Object prints the data currently held in the printer buffer of the specified MicroFlash object.
Items listed in this section indicate parameters, or attributes which can be set.
Name Possible Values Description
Default Value iCopies Positive number Number of copies to be printed N/A
Examples
The following demonstrates the usage of the Print method:
<script> var MicroFlash= new ActiveXObject("PocketBrowser.MicroFlash"); MicroFlash.SetPort('COM1:'); MicroFlash.AddData('Hello'); MicroFlash.AddData(' '); MicroFlash.AddData('World\n'); MicroFlash.AddLine('From the Motorola PocketBrowser Team'); MicroFlash.Print(10); alert('printed'); MicroFlash.Clear(); </script>
Copy example to clipboard
Additional Information
Supported Platforms Windows CE, Windows Mobile Persistence Executes immediately. Minimum Requirements None.