Hi,
You can use the win32_printer classes markingtechnolo gy property to find
out what type of printer you have. Add a reference to system.manageme nt
Dim moReturn As Management.Mana gementObjectCol lection
Dim moSearch As Management.Mana gementObjectSea rcher
Dim mo As Management.Mana gementObject
moSearch = New Management.Mana gementObjectSea rcher("Select * from
Win32_Printer")
moReturn = moSearch.Get
For Each mo In moReturn
Dim intMarking As Integer = CType(mo("Marki ngTechnology"). ToString, Integer)
If intMarking >= 6 And intMarking <= 8 Then
Debug.WriteLine (mo("Name"))
End If
Next
http://msdn.microsoft.com/library/de...32_printer.asp
Ken
--------------------------
"Tancev Sasa" <ts***@gu.ni.sr .gov.yu> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
I am interesting how to determin is the selected printer a dot-matrix
printer or is it a laser printer
What property is relevant to detrmin what type is selected printer