Application.printVar() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to Application Class Summary

Availability
Windows

Usage
mdm.Application.printVar(varToPrint:String, showPrintDialog:Boolean):void

Parameters
varToPrint:String- Text to print
showPrintDialog:Boolean - Print dialog visibility

Returns
Nothing

Description
Prints the specified string. The 'showPrintDialog' parameter determines whether or not to show the print dialog.
You could use this method to print simple text receipts for example. The text could be formatted using LF and TAB characters (\n\r\t)

Notes
None

Example Code
//Prints a string withoug showing the print dialog:
mdm.Application.printVar("Print this Text", false);

mdm.Application Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page