printToFileName

Description

The file name to print to.

Use the full path specification.

The file created doesn't accumulate subsequent printouts and (for security reasons) doesn't get overwritten if it already exists. Specify a new filename for each new printout.

Printing to file name is supported for Internet Explorer 5.0 and later. For Internet Explorer 7 and later protected mode must be disabled so that the file can be written to unless a writeable protected mode location is used.

This is a read/write property. With javacript, take care to double any backslash that appears in the file path, as in the example below. An empty string indicates that the printout should go to the printer driver.

Syntax

printing.printToFileName= sPathFileName

Example