인쇄 스풀러: 인쇄 스풀러가 작업을 완료하지 못함

Microsoft.Windows.Server.10.0.PrintServer.PrintSpoolerService.PrintSpoolerStatus.System.None.EventBased.UnitMonitor (UnitMonitor)

Print Spooler가 작업을 완료하지 못했습니다. 일부 프린터에서 인쇄가 실패할 수 있습니다.

Knowledge Base article:

요약

Print Spooler가 작업을 완료하지 못했습니다. 일부 프린터에서 인쇄가 실패할 수 있습니다.

구성

모니터는 “Microsoft-Windows-PrintService/Admin 및 Microsoft-Windows-PrintService/Operational” 이벤트 로그를 사용하고 이벤트 로그 서비스를 다시 시작할 때 "인쇄 스풀러"가 모니터링되어야 하는지 여부를 제어하는 단일 구성 매개 변수를 사용합니다. 기본적으로 "인쇄 스풀러" 모니터는 “Microsoft-Windows-PrintService/Admin and Microsoft-Windows-PrintService/Operational" 이벤트 로그가 사용되는 경우에만 모니터링됩니다.

해결 방법

Windows 인쇄에 오류가 발생했지만, 작업을 다시 시도하거나 문제를 해결할 수 있습니다. 인쇄가 제대로 작동하지 않을 경우 가능한 해결 방법은 다음과 같습니다.

경고: 인쇄 스풀러를 다시 시작하면 모든 인쇄 작업이 다시 시작됩니다. Print Spooler 서비스를 다시 시작한 후 일부 프린터를 초기화하거나 설정을 해제했다가 다시 설정해야 할 수 있습니다. 일상적인 영업 시간 외 또는 예약된 유지 관리 시간 중에 활성 인쇄 서버에서 이 절차를 수행하십시오. 이 절차를 수행하기 전에 모든 프린터를 오프라인 상태로 만들고 모든 인쇄 작업이 완료될 때까지 기다리거나 모든 프린터를 일시 중지하고 모든 활성 인쇄 작업이 완료될 때까지 기다리십시오.

참고: 권한이 상승된 명령 프롬프트 창에서 net stop spooler && net start spooler 명령을 입력하여 이 작업을 수행할 수도 있습니다.

Print Spooler를 시작할 때 오류 1068 - "종속 서비스나 그룹이 시작될 수 없습니다."가 발생하는 경우도 있습니다. Print Spooler 서비스가 실행되지 않는 다른 서비스를 사용할 경우 이런 오류가 발생할 수 있습니다. 이 문제를 해결하려면 다음 절차를 따르십시오.

Element properties:

TargetMicrosoft.Windows.Server.10.0.PrintServerRole
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledFalse
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Print Spooler 상태 경고
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.10.0.PrintServer.PrintSpoolerService.PrintSpoolerStatus.System.None.EventBased.UnitMonitor" Accessibility="Public" Enabled="false" Target="Microsoft.Windows.Server.10.0.PrintServerRole" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.10.0.PrintServer.PrintSpoolerService.PrintSpoolerStatus.System.None.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>Microsoft-Windows-PrintService/Admin</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-PrintService</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(372)$</Pattern>
</RegExExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>Microsoft-Windows-PrintService/Operational</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-PrintService</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(312|313)$</Pattern>
</RegExExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>