PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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.
iDriverNameName of the driver
iPrinterName
(default value)
Name of the printer
iDeviceNameName of printer port used
Java Only the iPrinterName constant can be used. If another constant is used, <Result> will correspond to an empty string ("").
Component : wd250prn.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment