Windows cannot connect to the printer – error 0x00000006


Environment:

  • Windows Server 2008 R2 SP1
  • Citrix XenApp 6.5 RU5

Issue:

Attempting to add a network printer the following error is displayed

  • “Connect to Printer. Windows cannot connect to the printer. No printers were found”
  • Operation failed with error 0x00000006

Resolution:

Microsoft’s resolution for this issue is to install KB2778831, however there are instance of this hotfix being applied and the issue still occurring.

Manual Fix:

  1. Open Registry Editor
  2. Browse to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers
  3. Back up then delete the Client Side Rendering Print Providers key
  4. Restart the Printer Spooler service
  5. Printers should now add successfully

After installing XenApp5 for Windows 2008 Rollup1, applications crash just after launch


Environment

Windows 2008 Server R2 – Print Server
Windows 2008 Server SP2 -Citrix XenApp5 with RollUp1
Microsoft Office 2010
Fuji Xerox printer driver(s) installed

Issue
After installing Rollup1 for XenApp5 on Windows, when published applications like Word, Excel, Notepad get launched, the application will ‘stop working’ and try to restart.
Before Rollup1 this issue never occurred.

Looking in the Windows Event Viewer, under Application, an Application Error has occurred on application.exe (winword.exe, excel.exe) and the faulting module is one of the FX printer driver DLL’s.

Resolution
Fuji Xerox have a GPD printer driver which is similar to a universal printer driver.

Fuji Xerox GPD Printer Driver

Update

After using this GPD driver we started experiencing other issues like slowness when trying to print etc. Fuji Xerox support said not to use this Global Driver and recommended upgrading our drivers on the XenApp servers. Fuji Xerox also have a ‘Print Utility for XenApp’ which they recommend, to use this utility it only works with actual drivers and not the GPD.

Office Picture Manager won’t allow printing


Scenario

Windows 2008 Server, XenApp 5, Office 2010 Pro

Issue

When trying to print from Office Picture Manager 2010 using the Print button or File > Print nothing happens.

Resolution

You need to enable the Windows 2008 Server Feature ‘Desktop Experience’, then all printing from within Office Picture Manager now work.

Remove the annoying ‘Microsoft XPS Document Writer’ printer


Issue

Want to remove the ‘Microsoft XPS Document Writer’ printer

Resolution

To remove the ‘Microsoft XPS Document Writer’ printer within Windows Server 2008, run the following command:

cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -d -p “Microsoft XPS Document Writer”

This command can be used for any other local printer that needs to be removed, eg. ‘Send to OneNote’