VBScript Subroutine to Install TCP/IP Printers
You can use this subroutine to install a TCP/IP printer. You can also setup the Altiris job to pass parameters to it. It can be customized to do other things such as install drivers.
| License: | AJSL By clicking the download link below, you agree to the terms and conditions in the Altiris Juice Software License |
| Support: | User-contributed tools on the Juice are not supported by Altiris Technical Support. If you have questions about a tool, please communicate directly with the author by visiting their profile page and clicking the 'contact' tab. |
Script
Nice script but i'm a newbie with scrips could you walk me through Portname, hostaddress etc K
Hojiblanca
here you go
[quote=carlsson]Nice script but i'm a newbie with scrips could you walk me through Portname, hostaddress etc K[/quote]
The sub just uses the printer object and some methods available to that object. There are many more available. If you google Win32_Printer and Win32_TCPIPPrinterPort you will find all of the methods available. I used the minimal required to get the printer setup. The beauty of a Sub is that you don't have to modify anything. The command addPrinter and then the strDriver, strPrinterName are all that are required and those are passed from the job as arguments. Please see the comments above the beginning where I give an example of the usage of the script in an Altiris DS job.
Thanks
Excellent works really well :o) now i just need to install the printer drivers silently ?? anyone ?
C
Hojiblanca
Great script
That one's going straight into my toolbox!
Would you like to reply?
Login or Register to post your comment.