How can I find if there are printers installed (using Delphi)

Posted by Daisetsu on Stack Overflow See other posts from Stack Overflow or by Daisetsu
Published on 2010-06-07T22:15:29Z Indexed on 2010/06/07 22:22 UTC
Read the original article Hit count: 435

Filed under:
|
|
|

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?

© Stack Overflow or respective owner

Related posts about delphi

Related posts about printing