Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Add TCP IP Printer?

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,58174
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Add TCP IP Printer?
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Add TCP IP Printer? - 3/18/2008 11:40:08 PM   
  firehawk

 

Posts: 2
Score: 0
Joined: 3/18/2008
Status: offline
in WMI/VBScript, how can I add a printer to a computer where the printer is located at a given IP Address?
What are the steps required to do this?

Please bare in mind.... I do not wish to use command line tools or anything, but only need to use the WMI Classes.

Thanks
 
 
Post #: 1
 
 RE: Add TCP IP Printer? - 3/19/2008 1:10:31 AM   
  crazymatt

 

Posts: 296
Score: 0
Joined: 3/4/2005
From:
Status: offline
1. Read the "Read me first post"

2. Use the search function.

3. Look for the AddWindowsPrinterConnection function

4. Welcome to the forums..

You get help with scripts here, you dont get scripts written for you.

/CM

_____________________________

-There is only 10 sorts of people, those who understand binary and those who dont.

(in reply to firehawk)
 
 
Post #: 2
 
 RE: Add TCP IP Printer? - 3/19/2008 3:11:00 AM   
  firehawk

 

Posts: 2
Score: 0
Joined: 3/18/2008
Status: offline
I do understand that but I just don't know where to go.

the addprinterconnection function in WMI is not what I need... that will only work for shared printers on the network but I am looking for an IP Based printer.

so a printer maybe connected to a DHCP server which issues it an IP Address.
Like in Windows/Add new printer, you can add a TCP/IP based printer. I can create the port fine but how do I then add the IP printer ?

(in reply to firehawk)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Add TCP IP Printer? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts