ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Print functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
iInfoPrinter (Function)
In french: iInfoImprimante
Retrieves the characteristics of the current or default printer.
Example
// 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.
iDeviceNameName of printer port used
iDriverNameDriver name
iPrinterName
(default value)
Name of the printer
Java Only the iPrinterName constant can be used. If another constant is used, <Result> will correspond to an empty string ("").
Component: wd300prn.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help