Has a printer been installed?

Has a printer been installed?

Postby driessen » Sat Feb 10, 2024 6:51 pm

Hello,

How can I check in FWH if a printer has been installed?

I want to know if a printer has been installed
or
I want to know if a certain printer has been installed
or
I want to know if for instance "Microsoft Print to PDF" has been installed.

Thank you very much for any help.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Has a printer been installed?

Postby Armando » Sat Feb 10, 2024 7:36 pm

Michel:

One way

Code: Select all  Expand view  RUN

   acPrinters  := aGetPrinters()  
 


It returns an array with the names of all the installed printers

Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3229
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Has a printer been installed?

Postby driessen » Sat Feb 10, 2024 7:51 pm

Armando,

Thanks a lot for your help.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 71 guests