This section describes step-by-step instructions on how to add an agent printer to an already installed Black Ice Printer Driver for every user through Group policy using a Black Ice Printer Driver profile file (.BIP).
Black Ice Software provides a utility “BiAddAgentPrinter.exe” that can be deployed with a Group Policy log on script when the users log in to the system.
Please contact sales@blackice.comto request a download of the BiAddAgentPrinter utility.
The BiAddAgentPrinter.zip contains the following components:
- BiAddAgentPrinter.exe
- BlackIceDEVMODE.dll
- Mydll_NT.dll
To use BiAddAgentPrinter.exe:
- Create Black Ice Profile File
- Run the BiAddAgentPrinter.exe with the following parameters:
- Base printer name
- Agent printer name
- Agent printer description
- Agent printer profile file with full path
How to use BiAddAgentPrinter on command line as Administrator:
BiAddAgentPrinter.exe "Black Ice ColorPlus" "My Agent printer name" "My Agent description" "c:\test\BiProfile.bip"
How to use BiAddAgentPrinter with the group policy:
Copy the exported profile file (BiProfile.bip) to the shared directory
Open the Group Policy Management and add the new logon script:
Add Script Name:
[Shared directory path]\BiAddAgentPrinter.exe
Add Script Parameters:
"[Base Printer name]" "[Agent Printer name]" "[Agent Printer Description]" "[Shared directory path]\BiProfile.bip"
Click on the OK button and apply.
Error codes:
Error code |
Error Description |
50 |
An internal function failed without an error code. |
51 |
Could not open the specified agent printer. |
52 |
The specified base printer was not found. |
53 |
You don’t have sufficient permission to create the specified agent printer. |
54 |
Failed to get printer properties from Windows. |
55 |
Failed to set printer properties. |
56 |
Failed to allocate memory. |
57 |
Could not set the settings of the specified agent printer in the registry. |
58 |
The specified base printer is currently in use. |
59 |
Could not delete the specified agent printer. |
60 |
The specified agent printer with that name already exists. |