I am very new to kixtart and/or any type of scripting. I am working with a script that someone else made for my company and I am trying to add in default printers. everything works fine as far as adding the connections to the printers.

heres a small portion of the code that relates to the printers.....

 Code:


if $user = "Administrator"
    use y: /delete
    use y: "\\pmcg-mgb-01\users"
    Addprinterconnection("\\$prtsvr\4100-Pr")
    Addprinterconnection("\\$prtsvr\4100-Pl")
    Addprinterconnection("\\$prtsvr\HP9000")
    Addprinterconnection("\\$prtsvr\RICOH_1045 ")
    Addprinterconnection("\\$prtsvr\LaserJet5n")
    Addprinterconnection("\\$prtsvr\HPLaserJ Precision")
    Addprinterconnection("\\$prtsvr\3175_fax")
    Addprinterconnection("\\$prtsvr\4100-PMC")
    Addprinterconnection("\\$prtsvr\3175_fax_2")
    SetDefaultPrinter("\\$prtsvr\4100-Pr")
endif 





I appreciate any and all help!


Edited by MEldridge (2007-02-12 08:32 PM)