Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

How Can I Remove All the Black-and-White Printers on a Computer?

(image) Hey, Scripting Guy! On a Windows XP computer, how can I remove all the black-and-white printers, leaving only color printers?-- JL(image) (image) (image) Hey, JL. You know, in one classic episode of the Simpsons, Bart, in the throes of a sugar high, joins the Junior Campers. The next morning, realizing what he has done, he vows to ...

How Can I Purge a Print Queue on a Print Server?

(image) Hey, Scripting Guy! How can I purge a print queue on a print server? I need to do this on both Windows 2000 and Windows Server 2003.-- KD(image) (image) (image) Hey, KD. And hey: no fair! Lots of times we take the easy way out in this column: we provide an answer that works only on Windows XP or Windows Server 2003, and then say...

How Can I Print Text Files to a Printer Other than the Default Printer?

(image) Hey, Scripting Guy! How can I print text files to a printer other than the default printer?-- JD(image) (image) (image) Hey, JD. Boy, talk about pride going before the fall. When we first set out to answer this question we already “knew” how to solve the problem. We were well aware that the Shell object provides a way for you ...