Description:
Black Ice Software no longer supports Delphi programming language. The Samples are provided without technical support.
Demonstrates how to change the printer settings programmatically for every user on the computer or just the current user running the sample using the BlackIceDEVMODE.OCX. The sample needs administrative privileges to change the settings for every user. This sample was created and compiled using Delphi XE2.
Sample Source Code Folder Location:
<RTK Installation Folder>\<RTK 32 bit>\Samples\Sample Source Codes\Delphi\Global Settings Delphi Sample
Language |
Project file: |
Compiler: |
Delphi |
GlobalSettings_Delphi.dpr |
Delphi 5 |
Delphi |
GlobalSettings_Delphi.dproj |
Delphi XE2 |
Files needed for redistribution:
Global Settings Delphi Sample (32 bit only)
- Global Settings Delphi Sample.exe
- BlackIceDEVMODE.dll
- BlackIceDEVMODE.ocx (Needs to be registered into the OS and Delphi)
- SampleSettings.ini (optionally change the printer name in the ini file)
NOTE: To be able to run the sample, please place every component into the same directory as the executable. Also, the ActiveX controls must be reregistered in the directory where the developed executable file will run.
Warning: You must copy the appropriate dll files to the project folder.
Note: Please make sure that you use the appropriate Resource ToolKit, there are two different RTKs.
- API/RTK for 32/64 bit Windows 11, 10, 8.1, 7
- API/RTK for 32/64 bit Windows Server 2025/2022/2019/2016/2012