Adds the specified print processor to the system.
LONG dAddPrintProcessor(LPSTR lpProcessorDllName, LPSTR lpProcessorName)
Input value: lpProcessorDllName |
The name of the print processor DLL. The maximum number of characters is 259. The print processor DLL cannot contain any of following characters: <>:”/|?* and Black slash \ allowed in full path but not in file name. |
Input value: lpProcessorName |
The name of the print processor |
Return value: |
Returns 0 if the print processor was successfully added, otherwise the function returns the occurred error code by calling the GetLastError() internally. The GetLastError() returns the last error code that has occurred in the system. |
Most common error is Error code: 193:
The printer processor dll (BuXProNT.dll) is not valid on 32-bit or 64-bit Systems.
Naming convention for Printer Driver files:
Printer |
X |
OS |
YY |
Color |
C |
Desktop |
NT |
ColorPlus |
A |
Server |
TS |
EMF |
E |
Evaluation Desktop |
ND |
Monochrome |
M |
Evaluation Server |
TD |
|
P |
Example:
Driver file name of ColorPlus Desktop:
BuAIniNT.dll
For example: In case of ColorPlus OEM Evaluation: BuAiniND.ini for Desktop, and BuAiniTD.ini for Server. The NT is replaced with ND, and the TS is replaced with TD.
In case of error code 193, most likely the installer is not compatible with the Windows 32/64-bit OS.
Please make sure that the BuXProNT.dll is a valid 32/64-bit dll in your printer driver installer.