Dear Ira,
Thank you very much for your prompt reply.
As far as I know we can't and we shouldn't extend any of CIM_Printer
superclasses (like CIM_LogicalDevice, CIM_ManagedElement etc.) since we
will break CIM_Printer's inheritance chain (superclass of CIM_Printer will
be different). According to this we have no other ways but extend
CIM_Printer. So, we are going to create a subclass of CIM_Printer (in new
namespace, like Ricoh_Printer) and add some fields, including VendorName.
Related to CIM_LogicalDevice.CreationClassName, as far as I know, we should
put exact object's class name into this, like ("CIM_Printer"), and I'm not
sure that we can put vendor's information here.
If you have any comments or suggestions your help is greatly appreciated!
Best regards,
Konstantin Vorobyev, RICOH COMPANY, LTD.
"Ira
McDonald"
<blueroofm 宛先
usic at gmail Konstantin Vorobyev/R/RICOH at RICOH, "Ira
.com> McDonald" <blueroofmusic at gmail.com>,
送信者: "Richard Landau"
owner-wims <Richard_Landau at dell.com>
@pwg.org cc
wims at pwg.org
件名
12/02/2008 Re: WIMS> Vendor information in
11:18 AM CIM_Printer
Hi Konstantin,
WONDERFUL NEWS that Ricoh is implementing the CIM Printer classes!
- more on this topic later in this note.
Apologies for my delayed response - traveling since last Wednesday.
Sadly, there is NOT a property for Vendor Name, because the CIM Printer
classes are derived *directly* from the Printer MIB v2 (RFC 3805) which
does
not have such a property (prtInputVendorName was not modelled in the
CIM_PrintInputTray class because it is NOT widely correctly implemented).
In MIBs, Vendor Name belongs as part of sysDescr in MIB-II (RFC 1213).
I can't find this in existing CIM classes either (odd?).
However, in order to add vendor-specific properties, you will probably
subclass the standard classes, in which case vendor name WILL be
explicit in the CIM_LogicalDevice.CreationClassName property - Rick
Landau (Dell, CIM Core co-chair) assures us that this subclassing is
typical across most CIM implementations.
The Ricoh implementation, along with Rick Landau's complete prototype
of all CIM Printer classes (now nearing completion) will satisfy the CIM
rule that two independent implementations are required to move a new
class (or new property) from CIM Experimental (backwards compatibility
NOT guaranteed) to CIM Final (stable and backwards compatible).
We will talk about this (Ricoh and Dell implementations) during this week's
PWG Face-to-Face here at Samsung in Irvine, CA on Thursday.
Please feel free to ask any questions - as co-editor with Rick Landau of
the CIM Printer classes, I'm *very* interested in helping implementors.
Cheers,
- Ira
PS - Rick may have better advice, but he's at *another* conference
all this week and on vacation the rest of the year - but I'll leave him
voice mail on his cell phone.
Ira McDonald (Musician / Software Architect)
Chair - Linux Foundation Open Printing WG
Blue Roof Music/High North Inc
email: blueroofmusic at gmail.com
winter:
579 Park Place Saline, MI 48176
734-944-0094
summer:
PO Box 221 Grand Marais, MI 49839
906-494-2434
On Fri, Nov 28, 2008 at 4:11 AM, <konstantin.vorobyev at nts.ricoh.co.jp>
wrote:
> Dear PWG members,
>> Well, I have one question related to CIM_Printer class, and hope this
> mailing list is the best place for that.
>> Currently we use the latest version of CIM scheme, 2.19.1, and among
other
> information about printer we need to provide vendor's name, like "Ricoh"
> etc. But it seems there no such property in current CIM_Printer class as
> well as in all it's superclasses.
> How should we add such information? Should we create new class by
extending
> CIM_Printer class, or use some existing property, like Name, Caption or
so?
>> Thank you very much in advance,
>> Best regards, Konstantin Vorobyev, RICOH COMPANY, LTD.
>>