Not to avoid your questions... but maybe you don't need to use addprinter at all. Your first printer can certainly use the kix built-in addprinterconnection function as it is connecting to a print server. If your second printer is also shared via printserver (even though it is IP) you can also use addprinterconnection.