This property sets and retrieves the name of the printer.

[C++Builder]   imagekitcontrolname->PrintDraw->PrinterName[ = UnicodeString ]
[Delphi]   imagekitcontrolname.PrintDraw.PrinterName[ = String ]

Property Value

The name of the printer

Explanation

The PrinterName property sets and retrieves the name of the printer. It is used with the GetDevModeHandle or PrintCreateDC methods. Please set a name that has been retrieved by the EnumPrinters method.

Also, if the GetDevModeHandle or GetDevNamesInfo methods are executed successfully, the printer name is updated.


Example: VImageKit1.PrintDraw.PrinterName := 'EPSON LP-8200C'

Setting this value

This value can be set at runtime.

Retrieving this value

This value can be retrieved at runtime.

[Differences with ImageKit 7/8/9 ActiveX/VCL]

The printer names are updated when the GetDevModeHandle or GetDevNamesInfo methods are executed.

 

The ImageKit10 VCL is a product created by Newtone Corporation