This method retrieves the printer port.

[C++Builder]   [ bool = ]imagekitcontrolname->PrintDraw->GetPrinterPort()
[Delphi]   [ Boolean = ]imagekitcontrolname.PrintDraw.GetPrinterPort()

Parameters

None

Return Value

Returns True when successful, returns False when not successful.

Explanation

The GetPrinterPort method retrieves the printer port. Before executing this method, the printer name must be set in the PrinterName property. If the GetPrinterPort method is successful, the port name will be set in the PortName property. If printers are using more than one port, the port names will be separated with a comma.

Example: "LPT1:,LPT2:"

 

The ImageKit10 VCL is a product created by Newtone Corporation