Change user interface

It is possible to hide unnecessary controls from each printer driver dialog. This can be useful when some of the controls on a specific tab are needed on the user interface and therefore the whole tab cannot be hidden.

 

The source code of the Resource DLL is included in the Resource Toolkit (RTK). The Resource DLL can be compiled using Microsoft Visual C++ 8.0 (Visual Studio 2005) or higher. The developer can hide controls and/or can move controls and in this way change the user interface to fit the needs of the application that integrates the printer driver.

 

In order to hide a control, open the resource DLL project (BI_RES.SLN) using Visual Studio.

 

The project is located in the ResourceDLL\ folder in [the RTK Installation directory]\[RTK 32 bit] or [RTK 64 bit]\Install directory.

 

Open the dialog box resource you would like to modify and click on the control you want to hide. Set the ‘Visible’ property to False in order to hide the control.

 

The controls on the user interface are disabled/enabled (gray/available) programmatically by the printer driver. Black Ice recommends hiding the unnecessary controls instead of disabling them, because at runtime, the printer driver may enable the controls. However, if a control was hidden it will not appear for the users.

 

Rebuild the Resource DLL by selecting the project setting matching your driver to make sure that the DLL has the proper file name.

 

How to use the Resource.DLL in your custom Printer driver install:

Replace the custom Resource.DLL in your custom installer.

The Resource.dll locations after install: <SYSTEM> and < DRIVERDIR >

For more information, please refer to Printer Driver Redistribution Files section

 

If you are replacing the Resource DLL manually in an existing installation for test purposes and you are not using a packaged installation, the resource DLL is present in 3 directories on the system. Please make sure you overwrite the DLL in all directories:

 

On 32-bit systems:

c:\Windows\System32\spool\drivers\W32X86\

c:\Windows\System32\spool\drivers\W32X86\3\

c:\Windows\System32\

 

On 64-bit systems:

c:\Windows\System32\spool\drivers\x64\

c:\Windows\System32\spool\drivers\x64\3\

c:\Windows\System32\

 

Please restart the printing application after replacing the DLLs.

You may also have to restart the computer for the changes to take effect.