This property sets and retrieves the name of the printer.
[Visual
Basic] imagekitcontrolname.PrintDraw.PrinterName[
= String ]
[Visual
C++] imagekitcontrolname.GetPrintDraw().SetPrinterName(LPCTSTR
Val)
[VB.NET] imagekitcontrolname.PrintDraw.PrinterName[
= String ]
[C#.NET] 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 or EnumPrintersVariant methods. Also, if the GetDevModeHandle and GetDevNamesInfo methods have successfully executed, then printer name is updated.
Example: ImageKit1.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 between ImageKit7/8/9
Executing the GetDevModeHandle or GetDevNamesInfo methods will update the printer name.