f$Word: Print
f$Word: Print
Print out the active document on the default printer.
Syntax: | Status = f$Word('Print','','') | ||
| Argument | Type | Meaning |
| String | Keyword | |
| '' | String | '' |
| '' | String | '' |
Result: | Integer | 0: Command successfully executed -1: No active document | |
Example: | Status = f$Word('Document', 'e:\\temp\\letter.doc' , 'Open' ) Status = f$Word('DefaultPrinter', 'PDFCreator' , 'AltPrinter' ) Status = f$Word('Print', '' , '' ) Status = f$Word('Default printer', AltPrinter, '' ) Status = f$Word('Close document', '' , 'N') Status = f$Word('End', '' , 'End' | ||