ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Print functions
  • Overview
  • Printing via infrared
  • Printing via a PCL file
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
Step 4: Starting the print
Overview
To start the print job, simply use iEndPrinting.
Printing via infrared
WINDEVWEBDEV - Server codeWindows If the computer and the associated printer are equipped with an infrared port, the print job is performed when iEndPrinting is called.
Reminder: The printer was previously selected by iDestination, iParameter or iConfigure.
Printing via a PCL file
WINDEVWEBDEV - Server codeWindows WINDEV and WEBDEV also allow you to print via a PCL file (Printer Control Language).
To perform this type of print:
  1. Specify the PCL file to create (iDestination).
    For example:
    iDestination(iPCL, "C:\MyDocuments\MyFile.PCL")
  2. Copy the PCL file from the PC to the printer that will be used.
    For example:
    • using the fCopyFile function.
    • by entering a command line (in the Windows "Run" dialog box).
      Copy "<PCLFile>" "<PrinterUsed>"
Remark: The user can also create a PCL file from the printer configuration window (iConfigure or iParameter).
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