Windows Hot Desk Printing

The post on Follow Me printing here is great for automatically changing the print queue when hot desking. This set up was based upon changing the _default entry in the ~/.printers file of the current user. Very effective.

But what if you want the same reaction when running Full Screen windows on the Sun Ray devices in CAM mode?

In order to achieve this, we will use the client side printer forwarding features of the Interop clients (ICA Client, Sun Ray Windows Connector, RDesktop) to facilitate Hot Desk printing.

1. Create Print queues
Print queues for all printers should be created on all members of the FOG. Make sure that you use identical names on all FOG servers. These can be network attached, direct attached, or DTU attached printers. It's a good idea to use a queue name which relates to the printer's location.
2. Implement .printers remapping script & associate printers to DTUs
Add the follow me script and the utaction command to your CAM script as outlined here
3. Configure Interop client to forward printer
ICA Client - The Citrix ICA client by default auto-creates the first printer listed after the _default= in the ~/.printers file. This works great but won't facilitate hot desk printer changes as it forwards the queue name directly, not the desired sudo name "_default".

If you are using CAM ICA, you are likely using a Protptypes directory to contain your ~/.ICAClient settings. You will need to edit your Prototpyes .ICAClient/wfclient.ini file to configure the fowarding of the _default printer. Add the following two lines to the WFClient section:
[WFClient]
DefaultPrinter=_default
DefaultPrinterDriver="Generic PostScript Printer"
    
Sun Ray Windows Connector - The SRWC has command line options for forwarding print queues. Edit your CAM script to change the uttsc command to add the -r option. Please see the following example.
/opt/SUNWuttsc/bin/uttsc -m -r printer:_default -A 24 -D fullwindowdrag -D wallpaper servername

RDesktop - RDesktop is very similar to the SRWC in the method used to forward client printers. In the following example below, I have also added the option of setting the client hostname to be the MAC address of the Sun Ray
SUNRAY=`/opt/SUNWut/sbin/utdesktop -Lc | \\
    /usr/bin/grep ${SUN_SUNRAY_TOKEN} | /usr/bin/cut -f 1 -d " "`
/opt/rdesktop/rdesktop -f -r printer:_default -r sound:local -n $SUNRAY -a 24 servername
    

That's it! Now you'll have Follow Me printing when using Windows displayed on a Sun Ray without adding/changing/or otherwise disrupting the Windows back end.

Happy Hot Desking...
Comments:

Post a Comment:
Comments are closed for this entry.
About

Think Thin is a collection of bloggers that work with Oracle's Virtual Desktop portfolio of products.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today