Test on Printer installed

Test on Printer installed

Postby Marc Vanzegbroeck » Tue Nov 08, 2011 9:09 pm

Hi,

Is there a way to check if a specific printer is installed.

I want to check whether eg. PDFcreator is installed.

Thanks
Marc
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Test on Printer installed

Postby jll-fwh » Wed Nov 09, 2011 12:10 am

Marc;

Code: Select all  Expand view
  ::aPrinters       := aGetPrinters()             // ARRAY que contiene las impresoras instaladas
   ::cPrinter        := PrnGetName()               // Impresora por Defecto
 


Un saludo
JLL
Libreria: FWH/FWH1109 + Harbour 5.8.2 + Borland C++ 5.8.2
Editor de Recursos: PellecC
ADA, OURXDBU
S.O: XP / Win 7 /Win10
Blog: http://javierlloris.blogspot.com.es/
e-mail: javierllorisprogramador@gmail.com
User avatar
jll-fwh
 
Posts: 408
Joined: Fri Jan 29, 2010 8:14 pm
Location: Meliana - Valencia

Re: Test on Printer installed

Postby Marc Vanzegbroeck » Wed Nov 09, 2011 7:43 am

Thank you JLL, I will try it.

Regards,
Marc
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 111 guests