Network printer cannot be auto-created

Citrix.PresentationServer.NetworkPrinterCannotBeAutoCreated.Rule (Rule)

Raises an alert if a network printer cannot be auto-created

Knowledge Base article:

Citrix ® Management Pack

Summary

A network printer has not been auto-created for a session because the required printer driver is not installed on the server. The network printer will not be available in the session.

 
Causes

This error occurs when the server attempts to auto-create a network printer for a session and the printer driver for the network printer is not installed on the server. Drivers are not installed automatically for network printers, unlike for client printers. The universal printer driver cannot be used with network printers.

 
Resolutions

Using the information from the event that generated this error, locate the printer driver required and install it on the server that raised this event. Alternatively, use Citrix Presentation Server's automatic printer driver replication feature if the required driver is already installed on another server in the farm.

See the Citrix Presentation Server Administrator's Guide and the Presentation Server Console Help for more information on printer drivers and printer driver replication.

 
External Knowledge Sources

The following sources of information can be helpful when dealing with this error:

Or search the Citrix knowledge base for more information.

 
Sample Event

The configured printer (%1) cannot be auto-created. Required driver is not installed on this server.

 
© 2002-2008 Citrix Systems, Inc. All rights reserved.

Element properties:

TargetCitrix.PresentationServer.ManagedServer
CategoryAlert
EnabledTrue
Event_ID1110
Event SourceMetaframeEvents
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
Network printer cannot be auto-created
Network printer{0} cannot be auto-created due to missing driver.
Event LogApplication

Member Modules:

ID Module Type TypeId RunAs 
EventCollectionDS DataSource Microsoft.Windows.EventProvider Citrix.PresentationServer.CitrixAdministratorAccount
GenerateAlert WriteAction System.Health.GenerateAlert Citrix.PresentationServer.CitrixAdministratorAccount

Source Code:

<Rule ID="Citrix.PresentationServer.NetworkPrinterCannotBeAutoCreated.Rule" Enabled="true" Target="Citrix.PresentationServer.ManagedServer" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="EventCollectionDS" RunAs="CtxLibrary!Citrix.PresentationServer.CitrixAdministratorAccount" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1110</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>MetaframeEvents</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" RunAs="CtxLibrary!Citrix.PresentationServer.CitrixAdministratorAccount" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name='Citrix.PresentationServer.NetworkPrinterCannotBeAutoCreated.Rule.AlertMessage']$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Params/Param[1]$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>