打印迁移导出:安装兼容的打印机驱动程序

Microsoft.Windows.Server.2008.PrintServer.PrintMigrationTool.PrintMigrationExportStatus.Application.Installacompatibleprinterdriver.EventBased.UnitMonitor (UnitMonitor)

安装兼容的打印机驱动程序。

Knowledge Base article:

摘要

若要还原所有必需的语言监视器文件,可以为受影响的打印队列重新安装或更改打印机驱动程序。这将重新安装作为打印机驱动程序的一部分的语言监视器。

解决方法

若要更新或更改特定打印机的打印机驱动程序,请使用以下过程。客户端计算机在下一次尝试打印到该打印机时会自动下载并安装更新的打印机驱动程序。

注意:在安装设备制造商提供的打印机驱动程序时,请按照该打印机驱动程序附带的说明操作,而不是使用此过程。

若要更新或更改打印机的打印机驱动程序,请执行以下操作:

http://go.microsoft.com/fwlink/?LinkId=104835

Element properties:

TargetMicrosoft.Windows.Server.2008.PrintServerRole
Parent MonitorSystem.Health.ConfigurationState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
打印迁移导出状态警报
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2008.PrintServer.PrintMigrationTool.PrintMigrationExportStatus.Application.Installacompatibleprinterdriver.EventBased.UnitMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.2008.PrintServerRole" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2008.PrintServer.PrintMigrationTool.PrintMigrationExportStatus.Application.Installacompatibleprinterdriver.EventBased.UnitMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Negative" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>Application</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-PrintBRM</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">26</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>Application</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-PrintBRM</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(10|56)$</Pattern>
</RegExExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>