Ira, I think that the same considerations apply to CIM_Printer.DefaultMimeType, too. So if you would supply a couple paras of replacement text for those two properties, I will do the CR to deprecate both of them. I think we deprecate in favor of CIM_AssociatedPrintInterpreter.DefaultType, right?
However, looking at the MappingStrings of a number of properties with these new eyes, there may be some work needed there, too. Later for those. Let's deprecate these two now.
rick
-----Original Message-----
From: owner-wims at pwg.org [mailto:owner-wims at pwg.org] On Behalf Of William A Wagner
Sent: Friday, March 06, 2009 12:51
To: wims at pwg.org
Subject: RE: WIMS> CIM> How does one find the DefaultLanguage for a printer?
And we see again why prototyping is so important!
Gentlemen, thank you.
Bill Wagner
-----Original Message-----
From: owner-wims at pwg.org [mailto:owner-wims at pwg.org] On Behalf Of Ira
McDonald
Sent: Friday, March 06, 2009 12:55 PM
To: Richard_Landau at dell.com; Ira McDonald
Cc: wims at pwg.org
Subject: Re: WIMS> CIM> How does one find the DefaultLanguage for a printer?
Hi Rick,
Good catch! A BUG.
As you say, this is an old property (pre DMTF/PWG Alliance).
And sadly, the answer is NO, there's no reasonable way to set
this property from the Printer MIB - the only one-to-one mapping
would be for a *PrintService* from IPP "document-format-default"
(as noted in the current ModelCorrespondence clause).
We should DEPRECATE this DefaultLanguage property.
And tell users to look at AssociatedPrintInterpreter for each
Channel, instead (for PrintDevice, aka Printer). And to look
at PrintServiceSettings.DocumentFormat (for PrintService).
Cheers,
- Ira
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, Mar 6, 2009 at 10:58 AM, <Richard_Landau at dell.com> wrote:
> Ira, either there is a conceptual bug in CIM_Printer, or I have slipped a
> cog and forgotten something that we agreed on long ago. Please remind me.
>> The property CIM_Printer.DefaultLanguage says that it "Indicates the
default
> printer language." (This is PDL, not natural language. And this is an
old
> property, not one that we added recently.) However, in an SNMP printer,
the
> default PDL Interpreter is specified per Channel. And there is no default
> Channel. Well, oops on me.
>> Did we agree on a way to set this and I just forgot? Is there an obvious
> algorithm that I am being blind to?
>> RSVP.
>> rick
>> ----------------------
> Richard_Landau(at)dell(dot)com, Stds & System Mgt Architecture, CTO Office
> +1-512-728-9023, One Dell Way, RR5-3, MS RR5-32, Round Rock, TX 78682
>