So if the shared printer is named/shared as printer1 and it's on a server called server1, the code should be addprinterconnection("\\server1\printer1"), correct? This is how I have it set up. Is there any preceding code, such as start or clear or function()?
Thanks