Quantcast
Channel: Spiceworks Community
Viewing all articles
Browse latest Browse all 3098

Printer losing duplex setting after rename.

$
0
0

Hello!

I'm using script to rename printers in our company but then we've came to a problem that printers are losing "Printing on both sides" setting after renaming them.

Using this simple vbs script to do the job:

For Each objPrinter in colInstalledPrinters
    if objPrinter.PortName = "LPT2:" then
objPrinter.RenamePrinter "CMINIVA"

How can I avoid losing the setting? Does renaming printers another way would solve my problem? Or maybe I should use another scripting language to change duplex setting after the name is changed? As far as I know it can't be done in vbs.


Viewing all articles
Browse latest Browse all 3098

Trending Articles



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