<af68203f32abd211941f0090273a928d472c9- at equ_exchange> wrote:
original article:http://www.egroups.com/group/ipp/?start=6021
> Instead of these operations:
> Set-Printer-Attributes
> Enable-Printer
> Disable-Printer
> Reset-Printer
> Restart-Printer
> Shutdown-Printer
>> It would be better if we could enable/disable the device by job type.
I.e.,
> printer, fax, copy, scan, etc...
>> A revised set of operations would be:
> Set-Attributes <device-type, attributes>
> Enable <device-type>
> Disabe <device-type>
> Reset <device-type>
> Restart <device-type>
> Shutdown <device-type>
> Enum (returns all device types - print,copy,fax,etc...)
>
Interesting idea. But what if you have multiple instances of the same
device-type? Wouldn't it be better if the target were an object
(instance) rather than a class (device-type)?