Help with AddPrinter() - Add IP,LPT, or COM Printers.

I have been playing about with the script that you advised me to use but am unable to make any use of it.

The part that I am finding hard to understand is when a line starts with a; - does that mean its commented out. It does in VB?
Also, in the script where do you declare all the information? Is it all under the parameters section that I though was commented out?