Deployment Solution

 View Only

VBScript Subroutine to Install TCP/IP Printers 

Jan 28, 2008 11:01 AM

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.

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
txt file
SubAddPrinter.txt   1 KB   1 version
Uploaded - Feb 25, 2020

Tags and Keywords

Comments

Nov 10, 2014 08:33 AM

HI All,

Another darn newbie here.  Will this script also work on Windows 7?

 

Thank you!

 

 

Feb 07, 2008 05:24 PM

That one's going straight into my toolbox!

Jan 31, 2008 08:52 AM

Excellent works really well :o) now i just need to install the printer drivers silently ?? anyone ?
C

Jan 30, 2008 05:01 PM

[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.

Jan 30, 2008 10:30 AM

Nice script but i'm a newbie with scrips could you walk me through Portname, hostaddress etc K

Related Entries and Links

No Related Resource entered.