Xbasic

SYS_PRINT Function

Syntax

V SYS_PRINT(C Filename)

Arguments

Filename

The file you wish to print.

Description

Print a file using the files registered print method.

Discussion

SYS_PRINT() prints the specified filename, using the program associated with the corresponding file type of filename. The behavior of this command is the same as right clicking on filename in the Windows Explorer and selecting the print command.

This script prints a text file.

file = "c:\mydata\notes.txt"
sys_print(file)

Limitations

Desktop applications only.

See Also