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
iListPrinter (Function)
In french: iListeImprimante
Returns the list of printers installed on the current computer.
WEBDEV - Server code The list of printers correspond to the local printers installed on the Web server (and not on the computer of the Web user). The network printers are not listed.
Example
sPrinterList is string
sPrinterList = iListPrinter()
Syntax
<Result> = iListPrinter()
<Result>: Character string
List of printers in the following format:
<Printer 1> + CR + ... + <Printer N>

Where <Printer 1> ... <Printer N> correspond to the name of the printers.
Remarks
To display the list of printers in a List Box or Combo Box control, use the following syntax:
ListAdd(<Name of List Box or Combo Box control>, <Result>)
Component: wd290prn.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
exemplo ilistPrinter
//Youtube
https://youtu.be/GkQLOltnskY
// buscanco impressoras
lista_impressoras is string=iListPrinter()
COMBO_IMPRESSORAS.DeleteAll()
COMBO_IMPRESSORAS.Add("Tela")
COMBO_IMPRESSORAS.Add(lista_impressoras)
ListSelectPlus(COMBO_IMPRESSORAS,1)
//imprimindo
IF COMBO_IMPRESSORAS..StoredValue="Tela" THEN
iPreview(ipvZoom100)
ELSE
iConfigure(COMBO_IMPRESSORAS..StoredValue)
END
iPrint(iFont(1)+"Teste de relatorio")
iEndPrinting()
amarildo
19 May 2023

Last update: 06/21/2023

Send a report | Local help