Quantcast
Channel: Print/Fax forum
Viewing all articles
Browse latest Browse all 3156

Print double sided by default

$
0
0

I have changed all of my network printers from the server to print duplex by default, I also have a .vbs script running at login which clears and re-installs all the network printers.

However some of the users have specific local profiles on printers for specific jobs, CD Labelling etc, when they logout these get cleared, I have not found a way of having these jobs work via the server so my idea is to exclude them from the following script - I did not write the script myself, but I need some help editing it.

ON ERROR RESUME NEXT
Set wshNet = CreateObject("WScript.Network")
Set wshPrn = wshNet.EnumPrinterConnections
For x = 0 To wshPrn.Count - 1 Step 2
If Left(wshPrn.Item(x+1),2) = "\\" Then wshNet.RemovePrinterConnection wshPrn.Item(x+1),True,True
Next

'Printers========================================================
wshnet.AddWindowsPrinterConnection "\\server\printer"
wshnet.AddWindowsPrinterConnection "\\server\printer"
wshnet.AddWindowsPrinterConnection "\\server\printer"
wshnet.AddWindowsPrinterConnection "\\server\printer"
wshnet.AddWindowsPrinterConnection "\\server\printer"
wshnet.AddWindowsPrinterConnection "\\server\printer"


Viewing all articles
Browse latest Browse all 3156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>