We are pleased to announce the availability of a Printing library.

This library is about collecting printer related information from within a DataFlex application. The library is now available for DataFlex 2021 and 2022.

With the DataFlex Printing Library you can set the current default printer, retrieve the capabilities of the printer, enumerate the printer ports and more...

Classes in the DataFlex Printing Library:

  • cDefaultPrinter - Getting and setting (if allowed) of the current default printer
  • cDeviceCapabilities - Retrieves device capabilities. This class is used in the Printer Driver Analyzer tool
  • cPrinterDriversHandler - Use this class to enumerate the available printer drivers
  • cPrinterFormsHandler - Use this class to enumerate the forms supported by a printer driver
  • cPrinterJobsHandler - Use this class to enumerate the jobs for a printer
  • cPrinterPortsHandler - Use this class to enumerate the printer ports
  • cPrintersHandler - Use this class to get the current status of a printer and to enumerate the listed Windows printers


The installer comes with an option to install a demo application that shows how to enumerate information, test if a printer status is ready etc.

Download the library here

The demo application needs the Date & Time libary for the same DataFlex version to be installed.