SetRemovedTextFromDocumentName

 

Sets a text that will be automatically removed from the document name by the driver when printing. The Printer Driver will remove the given text from the filename of the output document when printing. If the filename does not contain the given text, the filename of the output document remains the original document name." The “Use the document name” file name generation method must be used. The text is case sensitive.

 

SetRemovedTextFromDocumentName (pDevMode As Long, pValue As String) As Boolean

 

Input value pDevMode:

Handle to the BlackIceDEVMODE.

 

Input value pValue:

Sets the text to be removed from the document name. The maximum length is 259 characters.

 

 

Return value:

True on success, otherwise False.

 

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