Advertisement
6_2008-2009 Miscellaneous #206151

Printers List

Get a list of all the printers available on your computer (Locally and networked)

AI

AI 摘要: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

源代码
original-source
'Get all printers available on the computer
'usage
'label1.caption=printeravailable
Public Function printeravailable() As String
Dim p As Printer
    For Each p In Printers
    printeravailable = printeravailable & p.DeviceName & " on " & p.Port & vbCrLf
    Next
End Function
原始评论 (3)
从 Wayback Machine 恢复