Output File Name Delphi Sample

Description:

Black Ice Software no longer supports Delphi programming language. The Samples are provided without technical support.

 

The printer driver generates a ‘group file’ when the printing is finished. The group file contains information about the printed image, including the image format (TIFF, JPEG, etc.), color depth, number of pages, and the name and full path of the generated images.

An application can read the group file and process the output images (copy, move, rename, etc.).

The Output File Name sample will show how to get the name of the output images from the group file.

 

Trying the Sample:

Open the Black Ice printer driver’s Printing Preferences window, on the Start Application tab, check Enable Start Application and choose Output Filename Delphi Sample.exe from the Samples folder. Select Start After Printing and check Pass Parameters. Leave the parameters in their default order.

The “Do not show this window again.” checkbox is just a convenient way of turning off the Enable Start Application option in the printing preferences.

 

 

Sample Source Code Folder Location:

 

32 bit:

<RTK Installation Folder>\<RTK 32 bit>\Samples\Sample Source Codes\Delphi\Output File Name Delphi Sample

 

Language

Project file:

Compiler:

Delphi

OutputFileName_Delphi.dpr

Delphi 5

Delphi

OutputFileName_Delphi.dproj

Delphi XE2

 

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