My program is written in Delphi (object oriented pascal). When I try to print anything I get the message “There is no default printer currently selected.” on computers with no printers installed.
To prevent this I want to check if there are any printers installed. Is there any way to check if any printers are installed?
Printer.Printers.Countgives you the number of printers installedThe comments form the Printers unit in D2007: