Hi folks, Monday (17 November 2003)
[for review and/or discussion at this week's WBMM telecon]
I have just posted a prototype of a Views of Printer MIB (PrtViews) XML
Schema:
ftp://ftp.pwg.org/pub/pwg/wbmm/schemas/prtviews-20031117.xsd
The PrtViews XML Schema v0.10 validates without warnings using XML SPY
2004, XRay 2.0, and XSV 2.5 (the free XML Schema Validator).
Below are: (a) description; (b) use models; (c) excerpts.
Cheers,
- Ira
Ira McDonald (Musician / Software Architect)
Blue Roof Music / High North Inc
PO Box 221 Grand Marais, MI 49839
phone: +1-906-494-2434
email: imcdonald at sharplabs.com
------------------------------------------------------------------------
[description of PrtViews Schema]
The PrtViews Schema defines a set of views of Printer MIB elements,
selected for Alert, Configuration, or Status application content. Each
Printer MIB table has selected elements named in an 'entry view'. Each
of these 'entry views' is then included in a 'summary view' (a short
version of the full table from the Printer MIB). And each of the
'summary views' is then included in a top-level Alert, Config, or Status
'summary view'. (If that didn't make sense, see the excerpt below.)
------------------------------------------------------------------------
[use models for PrtViews Schema]
(1) Fleet Management Printer Monitor
- reads 'PrtViewConfigSummary' once at startup
- reads 'PrtViewStatusSummary' periodically, which includes:
- 'PrtGeneralConfigChanges'
- to cause refresh of 'PrtViewConfigSummary'
- 'PrtAlertCriticalEvents'
- to cause refresh of 'PrtViewAlertCriticalSummary'
- reads 'PrtView[group]StatusSummary, as required by specific alerts
(2) Local Operator Printer Monitor
- reads 'PrtViewConfigSummary' once at startup
- reads 'PrtViewStatusSummary' periodically, which includes:
- 'PrtGeneralConfigChanges'
- to cause refresh of 'PrtViewConfigSummary'
- 'PrtAlertCriticalEvents'
- to cause refresh of 'PrtViewAlertCriticalSummary'
- 'PrtAlertAllEvents'
- to cause refresh of 'PrtViewAlertWarningSummary'
or (all-inclusive) 'PrtViewAlertSummary'
- reads 'PrtView[group]StatusSummary, as required by specific alerts
(3) Accounting Printer Monitor
- reads 'PrtViewConfigSummary' once at startup
- reads 'PrtViewGeneralStatus' periodically, which includes:
- 'PrtGeneralConfigChanges'
- to cause refresh of 'PrtViewConfigSummary'
- reads 'PrtView[Input/Output/Marker]Summary' periodically
- logs lifetime counters and supplies and tray levels
------------------------------------------------------------------------
[excerpts from PrtViews Schema]
** entry view of Marker config **
<xsd:element name="PrtViewMarkerConfig">
<!-- PrtViewMarkerConfig - group -->
<!-- see prtMarkerTable in [PRTMIBv2] -->
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="PrtMarkerIndex"
minOccurs="1" maxOccurs="1"/>
<xsd:element ref="PrtMarkerMarkTech"
minOccurs="1" maxOccurs="1"/>
<xsd:element ref="PrtMarkerProcessColorants"
minOccurs="1" maxOccurs="1"/>
<xsd:element ref="PrtMarkerSpotColorants"
minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
** summary view of Marker config **
<xsd:element name="PrtViewMarkerConfigSummary">
<!-- PrtViewMarkerConfigSummary - group -->
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="PrtViewMarkerConfig"
minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
** summary view of Printer config **
<xsd:element name="PrtViewConfigSummary">
<!-- PrtViewConfigSummary - view -->
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="PrtViewGeneralConfig"
minOccurs="0" maxOccurs="1"/>
<xsd:element ref="PrtViewCoverConfigSummary"
minOccurs="0" maxOccurs="1"/>
<xsd:element ref="PrtViewLocalizationConfigSummary"
minOccurs="0" maxOccurs="1"/>
<xsd:element ref="PrtViewInputConfigSummary"
minOccurs="0" maxOccurs="1"/>
<xsd:element ref="PrtViewOutputConfigSummary"
minOccurs="0" maxOccurs="1"/>
<xsd:element ref="PrtViewMarkerConfigSummary"
minOccurs="0" maxOccurs="1"/>
<xsd:element ref="PrtViewMarkerSuppliesConfigSummary"
minOccurs="0" maxOccurs="1"/>
<xsd:element ref="PrtViewMarkerColorantConfigSummary"
minOccurs="0" maxOccurs="1"/>
<xsd:element ref="PrtViewMediaPathConfigSummary"
minOccurs="0" maxOccurs="1"/>
<xsd:element ref="PrtViewChannelConfigSummary"
minOccurs="0" maxOccurs="1"/>
<xsd:element ref="PrtViewInterpreterConfigSummary"
minOccurs="0" maxOccurs="1"/>
<xsd:element ref="PrtViewConsoleLightConfigSummary"
minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>