ShellPrint |
Top Previous Next |
Prototype
ShellPrint(FileName)
Description
Prints a file by using the registered application.
Parameters
FileName: A string containing a valid path and filename.
Returned value
None.
Notes
None.
Example
// file name variable File:= 'c:\data.txt';
// Checks for the file bIfExists:=FileExists(File);
// If file exists then… If bIfExists = True then
Begin // opens the file ShellOpen(File);
// file printing ShellPrint(File); End
// If the file doesn't exist, log a message. Else ApplicationLog('File not found'); |