Print

Prints a text file.

Function Group Execution Windows Embedded Thin Client Mobile Access
Print File Asynchronous Supported Supported Supported Not supported

Syntax

Web Studio Help ences2fr function file print.xml d128850e76 Print
strFilePath
Path and name of the text file that will be printed.
optNumOrientation
Set the paper orientation as follows:
  • 0 (default) = Portrait
  • 1 = Landscape

Returned value

No returned values.

Note: The optNumOrientation parameter is not supported when running the project on a Windows Embedded target system.

Examples

Tag Name Expression
  Print(“C:ReadMe.txt”)
  Print(“C:ReadMe.txt”, 1)
  Print(TagFileName, 0)
Note: This function can be used to print the contents of text files only. Information in any other format (e.g., pictures, binary files, etc.) cannot be printed with this function.

Print