Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Installing printer with logon script.

Posted on 2007-03-26
5
Medium Priority
?
323 Views
Last Modified: 2010-04-16
Hey,
Please help.
I need help adding an IP printer to my network.  IP address is 172.16.1.30.  I know how to manually add it via printer wizard.  However, this will be installed on all PCs through a logon script.  Anyway I can get this done?
0
Comment
Question by:jsctechy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 1500 total points
ID: 18793506
Perhaps you'll find this helpful: http://www.jdhitsolutions.com/logonscriptgen/index.htm
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18793529
Otherwise, something a simple as this should do it...

Dim objNet:set objNetwork = CreateObject("Wscript.Network")
objNet.AddWindowsPrinterConnection "\\172.16.1.30"
set objNet = nothing
0
 
LVL 8

Expert Comment

by:jsvor
ID: 18793760
This link will do want you want (and more). I use the info from this site to set default printers for users when they log in also.

http://computerperformance.co.uk/Logon/LogonScript_Printer_Method.htm
0
 
LVL 1

Author Comment

by:jsctechy
ID: 18793768
Hey, Sir.
My logon script is actually in Batch form.  Can I create a .vbs and just paste that into the txt file?
0
 
LVL 1

Author Comment

by:jsctechy
ID: 18793855
I've tried this:
Dim objNet:set objNetwork = CreateObject("Wscript.Network")
objNetwork.AddWindowsPrinterConnection "\\172.16.1.30"
set objNet = nothing

But get an error- invalid name.
The problem I seem to have is that this isn't a shared printer from a print server.  I don't want ppl printing to a server, I want them to print directly to the printer.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you receive another warning that your shared drive is almost full and you have asked your users to clean out old files again and again, here is a single command that may help. This command will place all the files that have not been used rec…
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question