home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 2 / Windows / System32 / WSDMon.dll / 100 / 1 next >
Extensible Markup Language  |  2008-01-19  |  16KB  |  189 lines

  1. <?xml version='1.0'?>
  2. <bidi:Definition xmlns:bidi='http://schemas.microsoft.com/windows/2005/03/printing/bidi'>
  3.  
  4.     <Schema xmlns:nprt='http://schemas.microsoft.com/windows/2006/08/wdp/print'>
  5.         <Property name='Printer'>
  6.             <Property name='DeviceInfo'>
  7.                 <Value   name='FriendlyName'     query='nprt:PrinterDescription' filter='nprt:PrinterDescription/nprt:PrinterName' type='BIDI_STRING' xmllang='true'/>
  8.                 <BuiltIn name='Manufacturer'     id='DeviceInfo:Manufacturer'/>
  9.                 <BuiltIn name='ModelName'        id='DeviceInfo:ModelName'/>
  10.                 <Value   name='Location'         query='nprt:PrinterDescription' filter='nprt:PrinterDescription/nprt:PrinterLocation' type='BIDI_STRING' xmllang='true'/>
  11.                 <Value   name='Comment'          query='nprt:PrinterDescription' filter='nprt:PrinterDescription/nprt:PrinterInfo'     type='BIDI_STRING' xmllang='true'/>
  12.                 <BuiltIn name='FirmwareVersion'  id='DeviceInfo:FirmwareVersion'/>
  13.                 <Value   name='IEEE1284DeviceId' query='nprt:PrinterDescription' filter='nprt:PrinterDescription/nprt:DeviceId'        type='BIDI_STRING'/>
  14.             </Property>
  15.             <Property name='Configuration'>
  16.                 <Property name='Memory'>
  17.                     <Value name='Size' query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:Storage/nprt:StorageEntry[nprt:Type="RAM"]/nprt:Size'       type='BIDI_INT' drvPrinterEvent='true'/>
  18.                     <Value name='PS'   query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:Storage/nprt:StorageEntry[nprt:Type="PSMemory"]/nprt:Size'  type='BIDI_INT' drvPrinterEvent='true'/>
  19.                 </Property>
  20.                 <Property name='HardDisk'>
  21.                     <Installed name='Installed' query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:Storage/nprt:StorageEntry[nprt:Type="HardDisk"]' drvPrinterEvent='true'/>
  22.                     <Value     name='Capacity'  query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:Storage/nprt:StorageEntry[nprt:Type="HardDisk"]/nprt:Size' type='BIDI_INT' drvPrinterEvent='true' />
  23.                     <Value     name='FreeSpace' query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:Storage/nprt:StorageEntry[nprt:Type="HardDisk"]/nprt:Free' type='BIDI_INT' drvPrinterEvent='true' />
  24.                 </Property>
  25.                 <Property name='DuplexUnit'>
  26.                     <Value name='Installed' query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:Finishings/nprt:DuplexerInstalled' type='BIDI_BOOL' optional='true' drvPrinterEvent='true'>false</Value>
  27.                 </Property>
  28.             </Property>
  29.             <Property name='Consumables'>
  30.                 <Parameter name='$Name$' parameter='Name' query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:Consumables/nprt:ConsumableEntry/@nprt:Name'>
  31.                     <Installed name='Installed' query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:Consumables/nprt:ConsumableEntry[@nprt:Name="$Name$"]' drvPrinterEvent='true'/>
  32.                     <Value name='Type'          query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:Consumables/nprt:ConsumableEntry[@nprt:Name="$Name$"]/nprt:Type'   type='BIDI_STRING' drvPrinterEvent='true'/>
  33.                     <Value name='Color'         query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:Consumables/nprt:ConsumableEntry[@nprt:Name="$Name$"]/nprt:Color'  type='BIDI_STRING' drvPrinterEvent='true'/>
  34.                     <Value name='Level'         query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:Consumables/nprt:ConsumableEntry[@nprt:Name="$Name$"]/nprt:Level'  type='BIDI_INT'    drvPrinterEvent='true'/>
  35.                     <Value name='Model'         query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:Consumables/nprt:ConsumableEntry[@nprt:Name="$Name$"]/nprt:Model'  type='BIDI_STRING' drvPrinterEvent='true'/>
  36.                 </Parameter>
  37.             </Property>
  38.             <Property name='Layout'>
  39.                 <Property name='NumberUp'>
  40.                     <Property name='PagesPerSheet'>
  41.                         <Value name='CurrentValue' query='nprt:DefaultPrintTicket'  filter='nprt:DefaultPrintTicket/nprt:DocumentProcessing/nprt:NumberUp/nprt:PagesPerSheet' type='BIDI_INT' drvPrinterEvent='true'/>
  42.                         <List  name='Supported'    query='nprt:PrinterCapabilities' filter='nprt:PrinterCapabilities/nprt:JobValues/nprt:DocumentProcessing/nprt:NumberUp/nprt:PagesPerSheet/nprt:AllowedValue' drvPrinterEvent='true'/>
  43.                     </Property>
  44.                     <Property name='Direction'>
  45.                         <Value name='CurrentValue' query='nprt:DefaultPrintTicket'  filter='nprt:DefaultPrintTicket/nprt:DocumentProcessing/nprt:NumberUp/nprt:Direction' type='BIDI_STRING' drvPrinterEvent='true'/>
  46.                         <List  name='Supported'    query='nprt:PrinterCapabilities' filter='nprt:PrinterCapabilities/nprt:JobValues/nprt:DocumentProcessing/nprt:NumberUp/nprt:Direction/nprt:AllowedValue' drvPrinterEvent='true'/>
  47.                     </Property>
  48.                 </Property>
  49.                 <Property name='Orientation'>
  50.                     <Value name='CurrentValue' query='nprt:DefaultPrintTicket'  filter='nprt:DefaultPrintTicket/nprt:DocumentProcessing/nprt:Orientation' type='BIDI_STRING' drvPrinterEvent='true'/>
  51.                     <List  name='Supported'    query='nprt:PrinterCapabilities' filter='nprt:PrinterCapabilities/nprt:JobValues/nprt:DocumentProcessing/nprt:Orientation/nprt:AllowedValue' drvPrinterEvent='true'/>
  52.                 </Property>
  53.                 <Property name='Resolutions'>
  54.                     <BuiltIn name='CurrentValue' id='Resolutions:CurrentValue' drvPrinterEvent='true'/>
  55.                     <BuiltIn name='Supported'    id='Resolutions:Supported' drvPrinterEvent='true'/>
  56.                 </Property>
  57.                 <Property name='InputBins'>
  58.                     <Parameter name='$TrayName$' parameter='TrayName' query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:InputBins/nprt:InputBinEntry/@nprt:Name'>
  59.                         <Installed name='Installed' query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:InputBins/nprt:InputBinEntry[@nprt:Name="$TrayName$"]' drvPrinterEvent='true'/>
  60.                         <Value name='MediaSize'     query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:InputBins/nprt:InputBinEntry[@nprt:Name="$TrayName$"]/nprt:MediaSize'     type='BIDI_STRING' drvPrinterEvent='true'/>
  61.                         <Value name='MediaType'     query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:InputBins/nprt:InputBinEntry[@nprt:Name="$TrayName$"]/nprt:MediaType'     type='BIDI_STRING' drvPrinterEvent='true'/>
  62.                         <Value name='MediaColor'    query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:InputBins/nprt:InputBinEntry[@nprt:Name="$TrayName$"]/nprt:MediaColor'    type='BIDI_STRING' drvPrinterEvent='true'/>
  63.                         <Value name='FeedDirection' query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:InputBins/nprt:InputBinEntry[@nprt:Name="$TrayName$"]/nprt:FeedDirection' type='BIDI_STRING' drvPrinterEvent='true'/>
  64.                         <Value name='Capacity'      query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:InputBins/nprt:InputBinEntry[@nprt:Name="$TrayName$"]/nprt:Capacity'      type='BIDI_INT'  drvPrinterEvent='true' />
  65.                         <Value name='Level'         query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:InputBins/nprt:InputBinEntry[@nprt:Name="$TrayName$"]/nprt:Level'         type='BIDI_INT' drvPrinterEvent='true'  />
  66.                     </Parameter>
  67.                 </Property>
  68.             </Property>
  69.             <Property name='Finishing'>
  70.                 <Value name='CollationSupported' query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:Finishings/nprt:CollationSupported' type='BIDI_BOOL' optional='true' drvPrinterEvent='true'>false</Value>
  71.                 <Value name='JogOffsetSupported' query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:Finishings/nprt:JogOffsetSupported' type='BIDI_BOOL' optional='true' drvPrinterEvent='true'>false</Value>
  72.                 <Property name='Staple'>
  73.                     <Value name='Installed'      query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:Finishings/nprt:StaplerInstalled' type='BIDI_BOOL' optional='true' drvPrinterEvent='true'>false</Value>
  74.                     <Property name='Location'>
  75.                         <Value name='CurrentValue'  query='nprt:DefaultPrintTicket'  filter='nprt:DefaultPrintTicket/nprt:JobProcessing/nprt:JobFinishings/nprt:Staple/nprt:Location' type='BIDI_STRING' drvPrinterEvent='true'/>
  76.                         <List  name='Supported'     query='nprt:PrinterCapabilities' filter='nprt:PrinterCapabilities/nprt:JobValues/nprt:JobProcessing/nprt:JobFinishings/nprt:Staple/nprt:Location/nprt:AllowedValue' drvPrinterEvent='true'/>
  77.                     </Property>
  78.                     <Property name='Angle'>
  79.                         <Value name='CurrentValue'  query='nprt:DefaultPrintTicket'  filter='nprt:DefaultPrintTicket/nprt:JobProcessing/nprt:JobFinishings/nprt:Staple/nprt:Angle' type='BIDI_STRING' drvPrinterEvent='true'/>
  80.                         <List  name='Supported'     query='nprt:PrinterCapabilities' filter='nprt:PrinterCapabilities/nprt:JobValues/nprt:JobProcessing/nprt:JobFinishings/nprt:Staple/nprt:Angle/nprt:AllowedValue' drvPrinterEvent='true'/>
  81.                     </Property>
  82.                 </Property>
  83.                 <Property name='HolePunch'>
  84.                     <Value name='Installed'     query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:Finishings/nprt:HolePunch/nprt:HolePunchInstalled' type='BIDI_BOOL' optional='true' drvPrinterEvent='true'>false</Value>
  85.                     <Property name='Pattern'>
  86.                         <Value name='CurrentValue'  query='nprt:DefaultPrintTicket'  filter='nprt:DefaultPrintTicket/nprt:JobProcessing/nprt:JobFinishings/nprt:HolePunch/nprt:Pattern' type='BIDI_STRING' drvPrinterEvent='true'/>
  87.                         <List  name='Supported'     query='nprt:PrinterCapabilities' filter='nprt:PrinterCapabilities/nprt:JobValues/nprt:JobProcessing/nprt:JobFinishings/nprt:HolePunch/nprt:Pattern/nprt:AllowedValue' drvPrinterEvent='true'/>
  88.                     </Property>
  89.                     <Property name='Location'>
  90.                         <Value name='CurrentValue'  query='nprt:DefaultPrintTicket' filter='nprt:DefaultPrintTicket/nprt:JobProcessing/nprt:JobFinishings/nprt:HolePunch/nprt:Edge' type='BIDI_STRING' drvPrinterEvent='true'/>
  91.                         <List  name='Supported'     query='nprt:PrinterCapabilities' filter='nprt:PrinterCapabilities/nprt:JobValues/nprt:JobProcessing/nprt:JobFinishings/nprt:HolePunch/nprt:Edge/nprt:AllowedValue' drvPrinterEvent='true'/>
  92.                     </Property>
  93.                 </Property>
  94.                 <Property name='OutputBins'>
  95.                     <Parameter name='$TrayName$' parameter='TrayName' query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:OutputBins/nprt:OutputBinEntry/@nprt:Name'>
  96.                         <Installed name='Installed' query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:OutputBins/nprt:OutputBinEntry[@nprt:Name="$TrayName$"]' drvPrinterEvent='true'/>
  97.                         <Value name='Capacity'      query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:OutputBins/nprt:OutputBinEntry[@nprt:Name="$TrayName$"]/nprt:Capacity' type='BIDI_INT' drvPrinterEvent='true'/>
  98.                         <Value name='Level'         query='nprt:PrinterConfiguration' filter='nprt:PrinterConfiguration/nprt:OutputBins/nprt:OutputBinEntry[@nprt:Name="$TrayName$"]/nprt:Level'    type='BIDI_INT' drvPrinterEvent='true'/>
  99.                     </Parameter>
  100.                 </Property>
  101.             </Property>
  102.             <Property name='Status'>
  103.                 <Property name='Summary'>
  104.                     <Value name='State'         query='nprt:PrinterStatus' filter='nprt:PrinterStatus/nprt:PrinterState' type='BIDI_STRING' />
  105.                     <Value name='StateReason'   query='nprt:PrinterStatus' filter='nprt:PrinterStatus/nprt:PrinterPrimaryStateReason' type='BIDI_STRING'/>
  106.                 </Property>
  107.                 <Property name='Detailed'>
  108.                     <Parameter name='Event$EventIndex$' parameter='EventIndex' query='nprt:PrinterStatus' filter='nprt:PrinterStatus/nprt:ActiveCondition/nprt:DeviceCondition/@nprt:Id'>
  109.                         <Value name='Name'        query='nprt:PrinterStatus' filter='nprt:PrinterStatus/nprt:ActiveCondition/nprt:DeviceCondition[@nprt:Id="$EventIndex$"]/nprt:Name'     type='BIDI_STRING'/>
  110.                         <Value name='Severity'    query='nprt:PrinterStatus' filter='nprt:PrinterStatus/nprt:ActiveCondition/nprt:DeviceCondition[@nprt:Id="$EventIndex$"]/nprt:Severity' type='BIDI_STRING'/>
  111.                         <Property name='Component'>
  112.                             <Value name='Group' query='nprt:PrinterStatus' filter='nprt:PrinterStatus/nprt:ActiveCondition/nprt:DeviceCondition[@nprt:Id="$EventIndex$"]/nprt:Component/nprt:Group' type='BIDI_STRING'/>
  113.                             <Value name='Name'  query='nprt:PrinterStatus' filter='nprt:PrinterStatus/nprt:ActiveCondition/nprt:DeviceCondition[@nprt:Id="$EventIndex$"]/nprt:Component/nprt:Name'  type='BIDI_STRING'/>
  114.                         </Property>
  115.                     </Parameter>
  116.                 </Property>
  117.             </Property>
  118.         </Property>
  119.     </Schema>
  120.     <PortStatus>
  121.         <Status>
  122.             <Keyword>None</Keyword>
  123.             <Code>0</Code>
  124.             <Severity>0</Severity>
  125.         </Status>
  126.         <Status>
  127.             <Keyword>AttentionRequired</Keyword>
  128.             <Code>8</Code>
  129.             <Severity>1</Severity>
  130.         </Status>
  131.         <Status>
  132.             <Keyword>DoorOpen</Keyword>
  133.             <Code>7</Code>
  134.             <Severity>1</Severity>
  135.         </Status>
  136.         <Status>
  137.             <Keyword>MarkerFailure</Keyword>
  138.             <ResourceIdOffset>0</ResourceIdOffset>
  139.             <Severity>1</Severity>
  140.         </Status>
  141.         <Status>
  142.             <Keyword>MarkerSupplyLow</Keyword>
  143.             <Code>10</Code>
  144.             <Severity>2</Severity>
  145.         </Status>
  146.         <Status>
  147.             <Keyword>MarkerSupplyEmpty</Keyword>
  148.             <Code>6</Code>
  149.             <Severity>1</Severity>
  150.         </Status>
  151.         <Status>
  152.             <Keyword>MediaEmpty</Keyword>
  153.             <Code>3</Code>
  154.             <Severity>1</Severity>
  155.         </Status>
  156.         <Status>
  157.             <Keyword>MediaJam</Keyword>
  158.             <Code>2</Code>
  159.             <Severity>1</Severity>
  160.         </Status>
  161.         <Status>
  162.             <Keyword>MediaLow</Keyword>
  163.             <ResourceIdOffset>1</ResourceIdOffset>
  164.             <Severity>2</Severity>
  165.         </Status>
  166.         <Status>
  167.             <Keyword>MediaNeeded</Keyword>
  168.             <Code>5</Code>
  169.             <Severity>1</Severity>
  170.         </Status>
  171.         <Status>
  172.             <Keyword>OutputAreaAlmostFull</Keyword>
  173.             <ResourceIdOffset>2</ResourceIdOffset>
  174.             <Severity>2</Severity>
  175.         </Status>
  176.         <Status>
  177.             <Keyword>OutputAreaFull</Keyword>
  178.             <Code>4</Code>
  179.             <Severity>1</Severity>
  180.         </Status>
  181.         <Status>
  182.             <Keyword>Paused</Keyword>
  183.             <ResourceIdOffset>3</ResourceIdOffset>
  184.             <Severity>3</Severity>
  185.         </Status>
  186.     </PortStatus>
  187. </bidi:Definition>
  188.  
  189.