Migreringsimport av skrivare: Installera en kompatibel skrivardrivrutin

Microsoft.Windows.Server.6.2.PrintServer.PrintMigrationTool.PrintMigrationImportStatus.Application.Installacompatibleprinterdriver.EventBased.UnitMonitor (UnitMonitor)

Installera en kompatibel skrivardrivrutin.

Knowledge Base article:

Sammanfattning

Installera en kompatibel skrivardrivrutin.

Lösningar

Om du vill uppdatera eller ändra skrivardrivrutinerna eller språkövervakarna (som utgör en del av skrivardrivrutinerna) för en skrivare gör du på följande sätt. Klientdatorer hämtar och installerar automatiskt de uppdaterade skrivardrivrutinerna nästa gång ett försök att skriva ut till skrivaren görs.

Obs! När du installerar skrivardrivrutiner som tillhandahålls av enhetstillverkaren följer du de instruktioner som levereras med skrivardrivrutinen i stället för dessa anvisningar.

Så här uppdaterar eller ändrar du skrivardrivrutinerna för en skrivare:

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

Element properties:

TargetMicrosoft.Windows.Server.6.2.PrintServerRole
Parent MonitorSystem.Health.ConfigurationState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Statusvarning migreringsimport av skrivare
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.6.2.PrintServer.PrintMigrationTool.PrintMigrationImportStatus.Application.Installacompatibleprinterdriver.EventBased.UnitMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.6.2.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.6.2.PrintServer.PrintMigrationTool.PrintMigrationImportStatus.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="Error" 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">PrintBrm</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(18|24)$</Pattern>
</RegExExpression>
</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">PrintBrm</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(2|6|9|10|14|17|21|23|25|43|52|58|59)$</Pattern>
</RegExExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>