Novell Home

My Favorites

Close

Please to see your favorites.

Configure iPrint printers to be delivered to users with Citrix TS published applications

This document (7013480) is provided subject to the disclaimer at the end of this document.

Environment

Novell iPrint for Linux
Novell iPrint Appliance

Situation

How to configure a list of iPrint printer(s) on a per user basis to be configured to be available to the user when an application is published to them via Citrix Terminal Server. 

Resolution

1. Instructions for Windows 2003 or 2008 R2 Citrix TS withOUT the Novell Client for Windows installed.

Requirements:
The user names existing in eDir must match the user name in eDir, and have the same passwords.
This can be accomplished many ways, including DirXML.  If the iPrint Appliance is being used, then this can be accomplished by scheduling a regular LDAP import from AD using the iPrint Management Console.
XenApp versions 5.0 thru 6.5
Install the latest Citrix client to workstations:
http://productionreceiver.citrix.com/
Install the 5.92 or later version of the iPrint Client to the Terminal Server.

a. Give EVERYONE rights to C:\NDPS directory
On the Terminal Server, right click the c:\NDPS directory and choose Properties
Choose the "Security" tab
Click "Edit", then "Add"
Type EVERYONE in the "Enter the object names to select" field
Click OK and OK (Click "Continue" if prompted with that option)
b. Copy the iprint.cmd file to c:\windows\system32\
See the "Additional Information" section of this document to learn how to create this file.
c. Double-click the AddReg.bat file on the Citrix TS.
See the "Additional Information" section of this document to learn how to create this file.
d. Configure Clientless iCM
Ensure the following three features exist at the bottom of the /var/opt/novell/iprint/htdocs/iprint.ini file
iCMEnabled = 1
iCMScope = DEFAULT                                       
iCMDirServer = 0.0.0.0

If these lines do not exist, copy them to the bottom of the file.
Change DEFAULT to the name of the Organization of your tree.  Or, if you want to limit the ability to push printers down to users to an OU its sub OU's, identify that OU.  For example:  OU=users,OU=finance,O=MyCompanyO
Change 0.0.0.0 to the IP address of the server hosting iPrint.
e. Assign printers to users
iManager -> iPrint - iPrint Client Management -> Select the user, group, or container
Uncheck "Do not update workstations."
Click "Add" button under "Printers to install:"
Choose the iPrint printer you wish to have installed for that user, group, or container of users.
If more than one printer will exist in that user's session and you want a specific printer to be defined as a default printer, choose a printer in the "Default printer:" field.
Click OK.
note: iManager is access through a browser:
https://<IPorDNSofiManagerServer>/nps
2. Instructions for Windows 2003 Citrix TS with the Novell Client for Windows installed.
Note: These steps do not apply to Windows 2008 R2 due the information found in TID 7010587.

Requirements:
The user names existing in eDir must match the user name in eDir, and have the same passwords.
This can be accomplished many ways, including DirXML.  If the iPrint Appliance is being used, then this can be accomplished by scheduling a regular LDAP import from AD using the iPrint Management Console.
XenApp versions 5.0 thru 6.5
Install the latest Citrix client to workstations:
http://productionreceiver.citrix.com/
Install Novell Client 4.91 SP5 for Windows IR2 or later
Install the 5.92 or later version of the iPrint Client to the Terminal Server.
a. Give EVERYONE rights to C:\NDPS directory
On the Terminal Server, right click the c:\NDPS directory and choose Properties
Choose the "Security" tab
Click "Edit", then "Add"
Type EVERYONE in the "Enter the object names to select" field
Click OK and OK (Click "Continue" if prompted with that option)
b. Copy the iprint.cmd file to c:\windows\system32\
See the "Additional Information" section of this document to learn how to create this file.
c. Double-click the AddReg.bat file on the Citrix TS.
See the "Additional Information" section of this document to learn how to create this file.
d. Assign printers to users
iManager -> iPrint - iPrint Client Management -> Select the user, group, or container
Uncheck "Do not update workstations."
Click "Add" button under "Printers to install:"
Choose the iPrint printer you wish to have installed for that user, group, or container of users.
If more than one printer will exist in that user's session and you want a specific printer to be defined as a default printer, choose a printer in the "Default printer:" field.
Click OK.
note: iManager is access through a browser:
https://<IPorDNSofiManagerServer>/nps

Additional Information

How to create the iprint.cmd file if the Novell Client for Windows is NOT installed:
Paste the following lines into Notepad and save the file as iprint.cmd
@echo off
@echo IPRINT PRINTER SETTINGS APPLIED
start c:\windows\system32\iprntctl.exe TRAY_ICON
start c:\windows\system32\iprntlgn.exe
start c:\windows\system32\iprntcmd.exe -S x.x.x.x
Note: Replace x.x.x.x with the IP address of the server hosting iPrint
Note: Ensure the file did not get named iprint.cmd.txt

How to create the iprint.cmd file if the Novell Client for Windows is installed:
Paste the following lines into Notepad and save the file as iprint.cmd
@echo off
@echo IPRINT PRINTER SETTINGS APPLIED
start c:\windows\system32\iprntctl.exe TRAY_ICON
start c:\windows\system32\iprntlgn.exe
Note: Ensure the file did not get named iprint.cmd.txt

How to create the AddReg.bat file
Note: This file updates the Citrix TS registry to launch iprntctl.exe and iprntlgn.exe when an app is published.
Paste the following line into Notepad and save the file as AddReg.bat
c:\windows\system32\reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AppSetup" /t REG_SZ /d "CtxHide.exe UsrLogon.Cmd,cmstart.exe,iprint.cmd" /f
Note: Ensure the file did not get named AddReg.bat.txt

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7013480
  • Creation Date:18-OCT-13
  • Modified Date:31-OCT-13
    • NovelliPrint

Did this document solve your problem? Provide Feedback