PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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.
iDriverNameDriver name
iPrinterName
(default value)
Name of the printer
iDeviceNameName of printer port used
Component: wd260prn.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment