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 ...
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 ...
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 ...
Hey, Scripting Guy! I have a bunch of text files in a folder. Is there a way to print those files using a script? I know I can use Microsoft Word to print the files from a script, but I don’t have Microsoft Word installed on that computer.-- MA
Hey, MA. Don’t tell anyone from Microsoft we said this, but that’s OK; you don’t need ...