Mapped client printer cannot be auto-created

Citrix.PresentationServer.MappedClientPrinterCannotBeAutoCreated.Rule (Rule)

Raises an alert if a mapped client printer cannot be auto-created

Knowledge Base article:

Citrix ® Management Pack

Summary

A client printer was not auto-created because the operating system could not add it to the list of supported printers. The printer will not be available in the session.

 
Causes

This error occurs when the server operating system returns an error when attempting to add the client printer to the list of supported printers. There are four possible causes for this error:

  • There is a problem with the server operating system; for example, the spooler service
  • The printer driver is not installed on the server
  • The printer driver is installed, but it is malfunctioning
  • Printer driver mappings have not been set up correctly for a client installed on a Windows 95 or Windows 98 computer
 
Resolutions

Ensure that the required printer driver is correctly installed on the server, and that it is functioning properly. Check the server's log files for printer error messages.

If this error was caused by a client running on a Windows 95 or Windows 98 computer, use the Presentation Server Console to check that the printer driver mapping is correct. See the Citrix Presentation Server Administrator's Guide and Presentation Server Console help for more information on printer driver mapping.

 
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

Client printer auto-creation failed. The driver could not be installed. Possible reasons for the failure: The driver is not in the list of drivers on the server. The driver cannot be located. The driver has not been mapped. Client name: (%1) Printer: (%2) Printer driver: (%3)

- Or -

Client printer auto-creation failed. The driver could not be installed. Possible reasons for the failure: The driver is not in the list of drivers on the server. The driver cannot be located. Driver mapping is incorrect. Client name: (%1) Printer: (%2) Printer driver: (%3)

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

Element properties:

TargetCitrix.PresentationServer.ManagedServer
CategoryAlert
EnabledTrue
Event_ID1107
Event SourceMetaframeEvents
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
Mapped client printer cannot be auto-created
Mapped client printer cannot be auto-created for printer {0}. Printer driver: {1}.
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.MappedClientPrinterCannotBeAutoCreated.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>1107</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.MappedClientPrinterCannotBeAutoCreated.Rule.AlertMessage']$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Params/Param[2]$</AlertParameter1>
<AlertParameter2>$Data/Params/Param[3]$</AlertParameter2>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>