Citrix

 

Register / Login Home    Forums    Presentation Server 4.0    Latest Posts    Latest News    PSP

 Citrix Site Navigation

 Citrix Home

 Citrix Forums

 Citrix Latest Posts

 Citrix Latest Citrix News

 Citrix Presentation Server 4.5

  Citrix Presentation Server 4.5 Guides

  Citrix PS 4.5 White Papers

  Citrix PS 4.5 Hotfixes

  Citrix PS 4.5 My Experiences

 Citrix Presentation Server 4

  Citrix Installing / Configuring

  Citrix Citrix Guides

  Citrix Citrix Tips

  Citrix Citrix White Papers

  Citrix Hotfixes

  Citrix My Personal Experiences

 Citrix Misc

  Citrix Citrix Web Interface

  Citrix Pre Presentation Server 4.0

  Citrix Citrix Security Bulletins

  Citrix Citrix Client
  Citrix Citrix cca
  Citrix Citrix Printing

  Citrix ICA File

  Citrix Citrix RSS Feeds

  Citrix Contact Us

  Citrix Signup Citrix Newsletter

 

 
 Citrix Site Partners

  Citrix Citrix

  Citrix PSP
  Citrix Xbox

  Citrix Flex Developers

  Citrix Travel In Europe
  Citrix Online Hotel Reservations
  Citrix News of software
  Citrix Resources
  Citrix Linkdiy
  Citrix Web Site Development
  Citrix Fix computer problem
  Citrix Fix slow computer
  Citrix Stop Snoring

  Citrix Perfumes


Welcome to Citrix Guide. I hope you find our citrix articles useful

 

  #1 (permalink)  
Old 07-19-2006, 01:06 PM  Troubleshooting Printing Problems

citrix citrix is offline

Administrator

 
Join Date: May 2006
Posts: 305

Submit Article To > Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq Submit to Spurl

Troubleshooting Printing Problems

Troubleshooting Printer Issues in Presentation Server 4.0 - Guide From Citrix

As the Printing Architecture has been enhanced with the release of Presentation Server 4.0, there are some additional troubleshooting methods necessary to isolate printing issues that may arise.

A new service has been created to control Printer Management. The Citrix Print Manager Service (cpsvc.exe) controls the creation, deletion, and management of all client printers. The service logs on using the newly created Ctx_SmaUser account. This is a local account created on the installation or upgrade of Presentation Server 4.0. The permissions and rights granted to this user were designed to give the service the minimum permissions it needs to perform the tasks required of it, and nothing more.

The following techniques should be used in addition to those outlined in CTX681954 – Troubleshooting Citrix ICA Printer Auto-creation.

Confirm the following:

• Is the Ctx_SmaUser a member of the Power Users group?

• Has any file system hardening taken place on the server, for instance, removal of the local Everyone group?

• Has the ICA listener been recreated? The Ctx_SmaUser is not added to the permissions of the listener when it is recreated. CTX106629 – Client Printers Fail to Autocreate in Presentation Server 4.0.

• Event Viewer Errors? CTX107273 – Error: Could not add printer connection to printer and Event ID 1114
• What Citrix Policies and or Microsoft Policies are in place?

• What DefaultPrnFlags if any are set under HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Print. See CTX107059 - Advanced Concepts Guide for more information.

Print Jobs are Automatically Previewed on the Client Device

Certain applications do not apply print job settings properly. When printing from such applications, print jobs are automatically previewed on the client device. This fix detects such applications and suppresses the print preview unless the following registry key is set:

HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Print
Name: DefaultPrgFlags
Type: REG_DWORD
Data: 0x00008000

[From PSE400R01W2K3047][#129979] & [From PSE400R01W2K028][#129979]

Printers Do Not Autocreate

Many autocreation issues can be caused by the removal of permissions or rights from the Ctx_SmaUser, or from any group of which the user is a part.

• To isolate permissions problems:

1. Add the Ctx_SmaUser to the local administrators group or start the Citrix Print Manager Service using the Local System account.

2. If after making this change, the printers begin to autocreate. You can then set the user back to its original configuration.

3. Run filemom and regmon from SYSINTERNALS. Filter on the following executables: cpsvc.exe, wfshell.exe, rundll32.exe, and spoolsv.exe. Note any resources to which access is denied for the user account.

4. Enable Windows Auditing. How To Enable and Apply Security Auditing in Windows 2000
Note: While setting the service to start with enhanced permissions is utilized for troubleshooting, it is not a recommended solution and is not a supported configuration.

• CTX106393 – How to Recreate the Ctx_SmaUser Account can be used to recreate the user with the correct permissions.

• CTX106683 – Event ID 1116 Printer auto-creation failure. Reason: AddPrinter() failed with status 0x5

• CTX107445 – Event ID 1116 Printer autocreation failure. Reason: AddPrinter() failed with status 0x704

• CTX107838 – Event ID 1116 Printer autocreation failure. Reason: AddPrinter() failed with status 0x3EB

• CTX108284 – Event ID 1116 Printer autocreation failure. Reason: AddPrinter() failed with status 0x78A

• Further, check to see if the Citrix Print Manager Service or the Print Spooler Service is started.

CTX106661 – Error 1609: The service did not start due to a logon failure when attempting to manually start either the Citrix SMA Service or the Citrix Print Manager Service

It is important to note that the Citrix Print Manager Service may terminate without causing a crash due to permissions problems noted above. Enabling Dr. Watson as the default debugger for the server can provide a user dump for the process that is crashing. Microsoft document 188296 details how to enable Dr. Watson as the default debugger. If the service is causing a dump, submit the Dr. Watson log file and user dump to Citrix Support for analysis.

See Hotfix PSE400W2K022 or Hotfix PSE400W2K3022 or their equivalents.

• Version 9.0.29244 of the ICA Client does not autocreate client printers. This version is an Early Adopter Program (EAP) / Tech Preview Client and is not supported with the Release to Manufacture Version (RTM) of Presentation Server 4.0

Default Printer Is Not Set Correctly in Sessions

By default, the client’s default printer should be created as the default printer inside of the ICA session. A Presentation Server policy can be used to modify this behavior.

• Confirm the settings inside any Presentation Server Policies. Unlike other Policy types, Session Printer policies are cumulative, meaning all policies applied to a user will take effect. So printers set in two policies are created, but the default printer comes from the policy with the highest priority.

• If client autocreated printers are not being set as default correctly, check CTX106745 – Failed To Inherit Set as Default Printer Setting If a Client Device Has Several Printers and apply the appropriate hotfix.

• CTX107415 – Imported Network Printers Do Not Retain the Default Printer Setting

Print Jobs Do Not Appear on the Client or are Garbled

If printers are created successfully inside of a session, but when a job is sent to the printer it does not print:

• Ensure that the job is spooled on the server by pausing both the server and client side print queues. If the job enters the server queue, unpause it and note if the job reaches the client queue.

• Use perfmon on the server to monitor the “output – printing bandwidth” counter for the ICA session. This will determine if the print data is sent down the wire.

• Confirm that the client virus scanner is not interfering with the print job, per CTX106698 – Unable to Print from Presentation Server 4.0 with ICA Client Version 9.0 or Later.

• Confirm the policy setting for print job routing under the client printers policy. Jobs routed directly to the print server should be treated like any other network printer defined on the server. Ensure that the network print server is accessible from the Presentation Server.

• CTX107427 – Published Adobe Acrobat and Lotus Notes Exhibit Garbled Printing

Advanced Troubleshooting

If the above methods do not isolate the problem, the Citrix Diagnostic Facility can be used to trace print traffic and commands. The attached templates can be used to trace the correct modules (see the ZIP file). See CTX104578 – Using Citrix Diagnostic Facility and the Access Suite Console for Tracing for instructions on how to use the Citrix Diagnostic Facility.

Other Troubleshooting Documents

CTX089874 – Troubleshooting and Explaining the Citrix Universal Print Driver, UPD

CTX108763 – Changes to Printer Properties in the ICA 9.200 Client and Hotfixes PSE400R01W2k3033 and PSE400R01W2K037

CTX106812 – How to Create the Citrix Universal Printer

CTX106744 – Auto-created Printers Do Not Appear in the Published Application When Establishing Multiple Session IDs on One Server with the Same User Account

CTX106743 – Security Context of Auto-creation by Legacy Client Printers

CTX106746 – Print Status Is Switched to Offline While an Auto-created Printer Is Printing

CTX106629 – Client Printers Fail to Autocreate in Presentation Server 4.0

CTX106393 – How to Recreate the Ctx_SmaUser Account

CTX107058 – Error: Print settings could not be saved, access is denied

CTX105158 – Troubleshooting Citrix ICA Printing - Quick Reference Guide

CTX108004 – How to Give Access Permission to Administrators to Manage Autocreated Printers

Last edited by citrix : 07-19-2006 at 08:35 PM.
>> Troubleshooting Printing Problems Reply With Quote
Reply

Troubleshooting Printing Problems « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:15 PM.


Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0 RC8


Citrixguide.com is not endorsed by or affiliated with Citrix Systems, Inc. or any of it’s subsidiaries. Installing/Configuring Citrix ::
Citrix Guides :: Citrix Tips/Advanced Concepts :: Citrix White Papers :: Citrix Hotfixes :: Citrix My Experiences :: Citrix Forums