Now, I know some people would recommend using the Powershell Printer method, however, Powershell Printer method only works on Windows 8 machines, not Windows 7 (Even upgrading the Powershell, you don't have the Powershell cmdlets to do it)

So we have a two fold issue... One, there is a very basic kind of command line script, but the other issue we see is that with Puppet setup to keep 'pushing' the script execute, it makes the system have multiple copies of a printer, to the point it will sometimes break it.

2 Answers

Sorry it has taken a while to get back to this, but yes... I think I cam across sort of a way to do it, but also sort of hackish... When I have time to look over it again and apply it to a real-world scenario I will post the results with regards to it.

So we have a two fold issue... One,
there is a very basic kind of command
line script, but the other issue we
see is that with Puppet setup to keep
'pushing' the script execute, it makes
the system have multiple copies of a
printer, to the point it will
sometimes break it.

This is interesting. It tells me the script that is doing so is not idempotent and/or there is not a good check to see if it already exists.