Programming with Reflection
PrintFileExistsAction property
Syntax |
object.PrintFileExistsAction |
Data type |
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.
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.