How to print to a Shared Printer on Windows using .NET SDK?

Hi, I have a web application using the .NET SDK for printing labels. Currently I have a printer connected directly by USB to the server and I can print using the .NET SDK without problems using the USBDiscovery class. The problem is that I need to print on a printer that is not connected by usb to the server. The printer is connected by USB to B computer and is shared by that computer. The server and the B computer are in the same network. How can use the SDK to connect to that shared printer? I will apreciate any answer