PrintFile

Description

Prints the file using the printer that is defined in the PASSPORT display session.

Syntax

ret = PrintFile (FileName)

Parameters

ret

Integer,output

 

0 = OK

 

Non zero = Error

 

 

FileName

String, input

 

This string contains the name of the file to print.

Remarks

This is a PASSPORT command.

Example

Sub ZMain()
PrintFile "C:\Temp\Test.txt"
End Sub