How to check if a specific device was connected?
I need to check if a specific USB Printer was connected.
function isPrinterModel( cModel )
local aPrinters:= getPrinters(), i:=0, lSuccess:=.f.
for i = 1 to len( aPrinters )
if aPrinters[i] = cModel
lSuccess:=.t.
endif
next
return lSuccess
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 95 guests