GetTextOutputExistingFileAction

This function retrieves how the printer handles if a file with the same name as the text output file already exists in the output directory.

GetTextOutputExistingFileAction(pDevMode As Long) As Long

 

Input value   - handle to the BlackIceDEVMODE structure

Return value            - One of the following values:

0:         Append the new text output to the end of the existing document. (default)

1:         Delete the existing file, and generate the new text output with the same filename.

2:         Leave the existing text output file, and rename the new text output by appending a number to the end of the file.

For example: Text Output(2).txt, Text Output(3).txt.

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.