EPNRENAMINGOPTIONS

typedef struct tag_EPNRENAMINGOPTIONS
{
   L_UINT uStructSize; 
   L_CHAR szTagOptions[ L_MAXPATH ]; 
   EPNNUMTAGDATA structNum; 
   EPNALPHATAGDATA structAlpha; 
   EPNALPHANUMTAGDATA structAlphaNum; 
   L_BOOL bSuffix; 
} EPNRENAMINGOPTIONS, L_FAR * pEPNRENAMINGOPTIONS;

The EPNRENAMINGOPTIONS structure provides options for renaming files while saving.

Member

Description

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value.

szTagOptions

Character string that contains the tag type to be used. You can use any of the following predefined strings:

 

Value

Meaning

 

<NUM>

The target file name will contain a numeric counter, where the counter size, and behavior are dependent on the structNum settings.

 

<ALPHA>

The target file name will contain an alphabetical counter, where the counter size, and behavior are dependent on the structAlpha settings.

 

<ALPHANUM>

The target file name will contain a counter of mixed alphabetical and numeric symbols, where the counter size, and behavior are dependent on the structAlphaNum settings.

structNum

EPNNUMTAGDATA structure that contains numerical digits that will be used when the <NUM> string is used in szTagOptions.

structAlpha

EPNALPHATAGDATA structure that contains characters that will be used when the <ALPHA> string is used in szTagOptions.

structAlphaNum

EPNALPHANUMTAGDATA structure that contains numerical digits and characters that will be used when the <ALPHANUM> string is used in szTagOptions.

bSuffix

Flag that determines the location of the text to be added to the original file name. Possible values are:

 

Value

Meaning

 

TRUE

The text will be added at the end of the original file name.

 

FALSE

The text will be added at the beginning of the original file name.

Comments

This structure is used with the following functions:

L_EpnSetPrinterConflictSolving
L_EpnGetPrinterConflictSolving
L_EpnGetDefaultRenamingOptions