Programming with Reflection

image\rwnprg32.gif PrintFileExistsAction property

 

Syntax

object.PrintFileExistsAction
object.PrintFileExistsAction = Value

Data type

Enumeration

 

Description

Returns (first syntax line) or specifies (second syntax line) what Reflection does when you send a print job to an existing file. This property is relevant only when the PrintToFile property is set to True. Use the PrintFileName property to specify the print file name.

Values

The default value is rcAskUser.

rcAppend Add the information to the end of the existing file.

rcAskUser Display a dialog box asking the user what action to take.

rcAutoNumber Create a new file by adding an incremented number to the existing file name.

rcOpenError Cause the print job to fail and return an error.

rcOverwrite Replace the existing file with the new information.

 

image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this property