After installing and configuring the Universal Print Server (UPS) on an established, functioning print server, all session and auto-created printers using UPS failed to print. Attempting to print directly to the same print spooler objects outside of Citrix network continue to function normally.
One of the following errors is displayed:
“Error: Page too small to print. Try printing using smaller font.”
or
“An internal error occurred”
Printing a test page from the printer properties displays the following error:
“Test page failed to print. Would you like to view the print troubleshooter for assistance? Operation could not be completed (error 0x0000054f)”
Cause
Each printer has specific settings in their respective Windows Spooler Registry keys. If the value of the Attributes key includes the value 4096, printing fails in a Universal Print Server environment. The value of 4096 sets the print spooler to send RAW data. This data format is not supported by UPS. Only EMF and XPS formats are supported.
Resolution
Complete the following steps to resolve the error:
Caution! This fix requires you to edit the registry. Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.
- Add the LOCAL SYSTEM to the printer with print permissions.
- Subtract 4096 (decimal) from the registry value REG_DWORD “Attribute” found in: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlPrintPrinters%printer_name%
- Restart the print spooler on the UPS server for the changes to take effect.
Read the original post here at the Citrix KnowledgeBase.