Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Install shared printer with START
Name: AJ (by William Jimenez) Date: December 1, 2008 at 07:18:12 Pacific OS: XP CPU/Ram: Dell
Comment:
Hello, I have created a batch file that upon executing installs a group of printers from a print sever.
FOR %%A IN (Printer1 Printer2 Printer3) DO START \\MIA-FS2\%%A
It works just fine but after installing the printer the properties of the printer comes up, it is not a big deal but this particular case the batch install 17 printers across an entire building so closing each properties window becomes a pain.
Does anyone know how to avoid this or a way to close the properties of the printer window via batch as well.
Name: Holla Date: December 1, 2008 at 21:41:06 Pacific
Reply:
AJ,
If you can form the title of these windows in the batch file, you can close these using a vb script. Let us say the below script is called closeapp.vbs, you can close the printer windows by - closeapp "HP Laserjet 2020 on MIA\FS2" (assuming that ""HP Laserjet 2020 on MIA\FS2" is the window title)
With CreateObject("Wscript.Shell") .Appactivate WScript.Arguments.Item(0) .Sendkeys "%{F4}" End With
Summary: Thanks, IVO, for your input. But I just realized that there is an extremely simple solution -- I'll name every shared printer with the same name put it directly into the batch file. Problem solved! ...
Summary: while priting check print to file option. Enter file name with prn extension. goto dos prompt and type following command, copy prn/b you can follow same procedure to print all widows based printing f...
Summary: Hey all, I am currently working on a BATCH file that will install a specific printer (on a printserver) to a computer. The current script looks is this:... ______________________________ @Echo off RE...