ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Print functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
iInfoPrinter (Function)
In french: iInfoImprimante
Retrieves the characteristics of the current or default printer.
Example
// Récupération des caractéristiques de l'imprimante en cours
ImprimanteEnCours is string = iInfoPrinter()
// Récupération des caractéristiques de l'imprimante par défaut
ImprimanteDéfaut is string = iInfoPrinter(False)

// Affichage d'une boîte d'information
Info("L'imprimante en cours est : " + ImprimanteEnCours + CR + ...
	"L'imprimante par défaut est : " + ImprimanteDéfaut)
Syntax
<Result> = iInfoPrinter([<Current printer> [, <Type of information>]])
<Result>: Character string
Requested information.
<Current printer>: Optional boolean
  • True (default) 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: 03/28/2025

Send a report | Local help