|
|
|
|
|
iInfoPrinter (Function) In french: iInfoImprimante Retrieves the characteristics of the current or default printer. // Retrieving the characteristics of the current printer CurrentPrinter is string = iInfoPrinter() // Recovering the characteristics of the default printer DefaultPrinter is string = iInfoPrinter(False) Â // Display an information dialog box Info("The current printer is: " + CurrentPrinter + CR + ... "The default printer is: " + DefaultPrinter) Syntax
<Result> = iInfoPrinter([<Current printer> [, <Type of information>]])
<Result>: Character string Requested information. <Current printer>: Optional boolean - True (default value) to get information about the current printer,
- False to get information about the default printer.
<Type of information>: Optional integer constant Type of information to retrieve. | | iDeviceName | Name of printer port used | iDriverName | Driver name | iPrinterName (default value) | Name of the printer |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|