Role: This interface is implemented by a component which represents the controller of the printer settings.
Methods
- Sub AddPrinterDirectory( iPrinterDir, iPrinterDirState)
-
Add a printer file directory to printer directories list and define its state.
- Parameters:
-
- iPrinterDir
- directory where some 3DPLM printers are defined.
The printers defined in this directory will be available for each user. dd> - iPrinterDirState
- printer directory state.
Each directory can be protected to prevent user access to the printers it contains.
The state could be protect or free.
If the state is CatPrinterDirProtect, the parameters of each printer included in the directory cannot be changed.
If the state is CatPrinterDirFree, the parameters of each printer included in the directory can be changed, and the printers can be removed.
Legal values:
CatPrinterDirProtect : the printers included in the directory are protected.
CatPrinterDirFree : the printers included in the directory are free. dd>
- Sub AddPrinterGroup( iPrinterGroupName, iPrinterNames)
-
Add a printer group and define the printers included in this group.
- Parameters:
-
- iPrinterGroupName
- printer group name dd>
- iPrinterNames
- array of printers included in the group. dd>
- Sub GetDriverConfigurationPath( oDriverCfgPath)
-
Returns the driver configuration file.
- Parameters:
-
- oDriverCfgPath
- path of the driver configuration file dd>
- Func GetDriverConfigurationPathInfo( oAdminLevel, oLocked) As
-
Retrieves environment informations for the driver configuration file.
Role: Retrieves the state of the driver configuration file in the current environment.- Parameters:
-
- oAdminLevel
- If the parameter is locked, oAdminLevel gives the administration
level that imposes the value of the parameter.
If the parameter is not locked, oAdminLevel gives the administration level that will give the value of the parameter after a reset. dd> - oLocked
- Indicates if the parameter has been locked. dd>
- Returns:
- Indicates if the parameter has been explicitly modified or remain to the administrated value. dd>
- Sub GetNewPrinterDirectory( oNewPrinterDir)
-
Returns the directory where new printers will be added.
- Parameters:
-
- oNewPrinterDir
- directory to add new printers
Role: Each new printer created by an user is added in this directory. dd>
- Func GetNewPrinterDirectoryInfo( oAdminLevel, oLocked) As
-
Retrieves environment informations for the directory where printers will be added.
Role: Retrieves the state of the directory where printers will be added in the current environment.- Parameters:
-
- oAdminLevel
- If the parameter is locked, oAdminLevel gives the administration
level that imposes the value of the parameter.
If the parameter is not locked, oAdminLevel gives the administration level that will give the value of the parameter after a reset. dd> - oLocked
- Indicates if the parameter has been locked. dd>
- Returns:
- Indicates if the parameter has been explicitly modified or remain to the administrated value. dd>
- Func GetPrinterArrayForGroup( iPrinterGroupName) As
-
Returns the definition of the printer group.
- Parameters:
-
- iPrinterGroupName
- printer group name dd>
- Returns:
- array of printers included in the group. dd>
- Func GetPrinterDirectories() As
-
Returns the directories of printer files.
- Returns:
- array of directories where 3DPLM printers are defined. dd>
- Func GetPrinterDirectoriesInfo( oAdminLevel, oLocked) As
-
Retrieves environment informations for the directories of printer files and their states.
Role: Retrieves the state of the directories of printer files and their states in the current environment.- Parameters:
-
- oAdminLevel
- If the parameter is locked, oAdminLevel gives the administration
level that imposes the value of the parameter.
If the parameter is not locked, oAdminLevel gives the administration level that will give the value of the parameter after a reset. dd> - oLocked
- Indicates if the parameter has been locked. dd>
- Returns:
- Indicates if the parameter has been explicitly modified or remain to the administrated value. dd>
- Func GetPrinterDirectoryState( iPrinterDir) As
-
Returns the state of the directory of printer files.
- Parameters:
-
- iPrinterDir
- directory where some 3DPLM printers are defined. dd>
- Returns:
- printer directory state.
Each directory can be protected to prevent user access to the printers it contains.
The state could be protect or free.
If the state is CatPrinterDirProtect, the parameters of each printer included in the directory cannot be changed.
If the state is CatPrinterDirFree, the parameters of each printer included in the directory can be changed, and the printers can be removed.
Legal values:
CatPrinterDirProtect : the printers included in the directory are protected.
CatPrinterDirFree : the printers included in the directory are free. dd>
- Func GetPrinterGroups() As
-
Returns the printer groups.
- Returns:
- array of printer group names dd>
- Func GetPrinterGroupsInfo( oAdminLevel, oLocked) As
-
Retrieves environment informations for the definition of each printer group.
Role: Retrieves the state of the definition of each printer group in the current environment.- Parameters:
-
- oAdminLevel
- If the parameter is locked, oAdminLevel gives the administration
level that imposes the value of the parameter.
If the parameter is not locked, oAdminLevel gives the administration level that will give the value of the parameter after a reset. dd> - oLocked
- Indicates if the parameter has been locked. dd>
- Returns:
- Indicates if the parameter has been explicitly modified or remain to the administrated value. dd>
- Sub ModifyPrinterArrayForGroup( iPrinterGroupName, iPrinterNames)
-
Modify a printer group: redefine the array of printers included in this group.
- Parameters:
-
- iPrinterGroupName
- printer group name dd>
- iPrinterNames
- array of printers included in the group. dd>
- Sub ModifyPrinterDirectoryState( iPrinterDir, iPrinterDirState)
-
Modify a printer file directory state.
- Parameters:
-
- iPrinterDir
- directory where some 3DPLM printers are defined. dd>
- iPrinterDirState
- printer directory state.
Each directory can be protected to prevent user access to the printers it contains.
The state could be protect or free.
If the state is CatPrinterDirProtect, the parameters of each printer included in the directory cannot be changed.
If the state is CatPrinterDirFree, the parameters of each printer included in the directory can be changed, and the printers can be removed.
Legal values:
CatPrinterDirProtect : the printers included in the directory are protected.
CatPrinterDirFree : the printers included in the directory are free. dd>
- Sub RemoveAllPrinterDirectories()
- Remove all the directories including printer files.
- Sub RemoveAllPrinterGroups()
- Remove all the groups of printers.
- Sub RemovePrinterDirectory( iPrinterDir)
-
Remove a directory of printer files from the directories list.
- Parameters:
-
- iPrinterDir
- directory where some 3DPLM printers are defined. dd>
- Sub RemovePrinterGroup( iPrinterGroupName)
-
Remove a group of printers.
- Parameters:
-
- iPrinterGroupName
- name of the group to remove. dd>
- Sub SetDriverConfigurationPath( iDriverCfgPath)
-
Sets the driver configuration file.
- Parameters:
-
- iDriverCfgPath
- path of the driver configuration file dd>
- Sub SetDriverConfigurationPathLock( iLock)
-
Locks or unlocks the driver configuration file.
Role: Locks or unlocks the driver configuration file if it is possible in the current administrative context. In user mode this method will always return E_FAIL.- Parameters:
-
- iLocked
- the locking operation to be performed
Legal values:
TRUE : to lock the parameter.
FALSE: to unlock the parameter. dd>
- Sub SetNewPrinterDirectory( iNewPrinterDir)
-
Sets the directory where new printers will be added.
- Parameters:
-
- iNewPrinterDir
- directory to add new printers
Role: Each new printer created by an user is added in this directory. dd>
- Sub SetNewPrinterDirectoryLock( iLock)
-
Locks or unlocks the directory where printers will be added.
Role: Locks or unlocks the directory where printers will be added if it is possible in the current administrative context. In user mode this method will always return E_FAIL.- Parameters:
-
- iLocked
- the locking operation to be performed
Legal values:
TRUE : to lock the parameter.
FALSE: to unlock the parameter. dd>
- Sub SetPrinterDirectoriesLock( iLock)
-
Locks or unlocks the directories of printer files and their states.
Role: Locks or unlocks the directories of printer files and their states if it is possible in the current administrative context. In user mode this method will always return E_FAIL.- Parameters:
-
- iLocked
- the locking operation to be performed
Legal values:
TRUE : to lock the parameter.
FALSE: to unlock the parameter. dd>
- Sub SetPrinterGroupsLock( iLock)
-
Locks or unlocks the definition of each printer group.
Role: Locks or unlocks the definition of each printer group if it is possible in the current administrative context. In user mode this method will always return E_FAIL.- Parameters:
-
- iLocked
- the locking operation to be performed
Legal values:
TRUE : to lock the parameter.
FALSE: to unlock the parameter. dd>