I need to connect to a shared printer on a LAN using .net code. I can connect
to the printer by using explorer; search for the computer the share is on,
then by click-clicking on the shared printer the drivers will install from
the computer the share is on and the printer will be available. The problem I
have is that explorer is not available on the system the program will run on.
So I need to really do 2 things in .net 1) search for a computer and show a
list of the shared items on that computer and 2) connect to a printer that
would be in the list.
Does anyone know how to do either or both?
|