Network Printer Problems

By link470 ·
I run a network here at a high school. Most of the printers are laser printers plugged into the network and shared from one of the servers. Then, let's say the printer is for the digital media lab, I put all the digital media lab computers in an OU in Active Directory, and apply a group policy to that OU with a login script bat file that ads the printer on startup. The bat file looks like this:

rundll32 printui.dll,PrintUIEntry /in /u /z /n\\ServerName\PrinterForMultimediaLab

That script affects the Computers section in GPO, the startup script.

Then in the User configuration, I have the following login script:

Set WshNetwork = CreateObject("WScript.Network")

WshNetwork.AddWindowsPrinterConnection "\\ServerName\PrinterForMultimediaLab"
WshNetwork.SetDefaultPrinter "\\ServerName\PrinterForMultimediaLab"

That script doesn't work properly. It doesn't set the printer as default. The printer is added however, just not as default. Because when the first script runs at startup, the bat script, it says "connecting to..." when it's connecting to the printer.

The other part of this question I have is that these printers are installed on the Windows Server 2003 servers. However there are 2 inkjet printers I'd like to configure for the multimedia lab. I've installed a basic Windows XP Pro machine and detached the monitor, mouse, and keyboard, and just access it remotely from my office. I have the two USB printers plugged into it, both the same model. The computer sits under the desk in the corner of the lab where the ink jet printers are. When I try to add a script to connect to these printers, the script SAYS "connecting to..." but when I login, the printers aren't listed under "Printers and Faxes" in Windows XP.

Is it because it's not a network printer? Or is it because it's not installed on a server operating system? Or am I missing something? I'm using the exact same script that I use for the network printers, and just change the computer name, and printer share name.

Thanks! The sooner I can get a reply on this the better.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Share your knowledge

Related Discussions

Related Forums