Showing results for printing - Scripting Blog [archived]

Jul 8, 2005
0
0

How Can I Use a Script to Rename a Printer?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I use a script to rename a printer?-- SB Hey, SB. Well, if your printer is connected to a Windows 2000 or Windows NT 4.0 print server we have bad news for you: you can’t rename a printer using a script, at least not using the technologies included in the operating system. (There might, or might not, be third-party ...

Scripting Guy!VBScriptWMI
Apr 28, 2005
0
0

How Can I Purge All the Print Jobs on a Windows 2000 Print Server?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I purge all the print jobs on a Windows 2000 print server?-- KC Hey, KC. This is one of those questions we hate, not because we don’t have an answer for it - we do - but because we have to temporarily abandon one of the core tenets of the Scripting Guy Way of Life. That tenet - just a second while we blow the dust ...

Scripting Guy!scripting techniquesVBScript
Apr 7, 2005
0
0

How Can I Print a Test Page to a Printer?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I print a test page to a printer?-- RR Hey, RR. As long as you’re running Windows XP this is an easy one; that’s because the revised Win32_Printer class introduced in Windows XP includes a method called PrintTestPage. As you might expect, this means you can bind to a given printer on a computer and then call the ...

Scripting Guy!VBScriptWMI
Jan 13, 2005
0
0

How Can I Map a Printer, But Only If the User Doesn’t Have a Local Printer?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I’d like to have a logon script that maps a network printer for each user unless that user already has a local printer. If they have a local printer, I don’t want to add the network printer. Is that possible?-- AG Hey, AG. Not only is that possible, but it’s actually pretty easy, especially if you’re running Windows ...

Scripting Guy!VBScriptprinting
Nov 17, 2004
0
0

Hey, Scripting Guy! Is There Any Way to Determine the Default Printer On a Computer?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Is there any way to determine the default printer on a computer?-- JW Hey, JW. If you’re running Windows XP or Windows Server 2003, determining the default printer is easy. That’s because the WMI class Win32_Printer found on these versions of Windows includes a property named Default. As the name implies, this property ...

Scripting Guy!VBScriptprinting