Skip to main content
Skip table of contents

f$Word: Print


f$Word: Print

Print out the active document on the default printer.

Syntax:

Status = f$Word('Print','','')

 

Argument

Type

Meaning

 

Print

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'

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.