+ All Categories
Home > Documents > Printing in Citrix Presentation Server 4.0 and 4_v4

Printing in Citrix Presentation Server 4.0 and 4_v4

Date post: 13-Apr-2015
Category:
Upload: nagarjuna-reddy
View: 23 times
Download: 1 times
Share this document with a friend
Description:
Printing in Citrix Presentation Server 4.0 and 4_v4
21
[email protected] 02065009379 Hands-on Technical Workshops Printing in Citrix Presentation Server 4.0 and 4.5 Environments Lab Documents
Transcript
Page 1: Printing in Citrix Presentation Server 4.0 and 4_v4

[email protected] 02065009379

Hands-on Technical Workshops

Printing in Citrix Presentation Server 4.0 and 4.5 Environments

Lab Documents

Page 2: Printing in Citrix Presentation Server 4.0 and 4_v4

Lab 1: Creating Printers in an ICA Session

Before You Begin To complete this lab, you must have:

Print HOT Server VMo Username: Administratoro Password: citrixo Presentation Server 4.5o Pass-through authentication for the Presentation Server Console

Print HOT Client VMo Username: citrixo Password: citrixo Citrix Program Neighborhood (ICA client 10.1)o Pass-through authentication for Program Neighborhood

Estimated time to complete this lab: 10 minutes

Scenario Objective: To observe how different types of printers defined on the client workstation are created differently in an ICA session.

To complete this lab: Create four printers on the Print HOT Client. Launch a published desktop. View Printers and Faxes in the session. Log into the Print HOT Server. View Printers and Faxes on the server.

2

Page 3: Printing in Citrix Presentation Server 4.0 and 4_v4

Step-by-Step Use the following procedure to complete “Lab 1: Creating Printers in an ICA Session”.

Step Action

Creating Printers in an ICA Session

1 Log into the client workstation using the credentials:

user: citrixpassword: citrix

2 Run the script printcreate.cmd from C:\scripts

3 Open the Printers and Faxes applet.

a. Notice there are four (4) printers created – two local printers and two network printers.

4 Open the Program Neighborhood located on the desktop.

5 Open the HOTFarm application set.

6 Launch the HOTDesktop application.

7 Open Printers and Faxes in the published desktop session.

a. Notice that four (4) printers are created in the session.

b. Change your view to details

c. Note the printers that have “auto-created client printer” comments

d. Note the printers that are network printers.

8 Leave this session open and log into the Presentation Server as the administrator (user: administrator, password: citrix)

3

Page 4: Printing in Citrix Presentation Server 4.0 and 4_v4

Step Action

9 Open the Printers and Faxes applet.

a. Note which printers are visible as administrator

b. You will only see the auto-created client printers. The network printers are not visible to the administrator

10 Right-click on one of the printers and select properties.

You will receive an error that says you do not have permissions to view the printer. This is expected and can be changed through the use of a registry flag.

11 Return to the client machine.

12 Log out of the ICA session.

STOP - END OF LAB 1. Please turn your tent card over so the “Done with lab” side is facing the front of the room

4

Page 5: Printing in Citrix Presentation Server 4.0 and 4_v4

Lab 2: Altering Printer Behavior with Policies

Before You Begin To complete this lab, you must have:

Print HOT Server VMo Username: Administratoro Password: citrixo Presentation Server 4.5o Pass-through authentication for the Presentation Server Console

Print HOT Client VMo Username: citrixo Password: citrixo Citrix Program Neighborhood (ICA client 10.1)o Pass-through authentication for Program Neighborhood

Estimated time to complete this lab: 10 minutes

Scenario Objective: To create a job-routing policy and observe how the printers created differ from those using the default behavior.

To complete this lab: Create a new CPS policy named “routing policy”. Enable print job routing. Configure the policy to always connect indirectly as a client printer. Apply the policy to the CPS server. Launch an ICA session from Print HOT Client. View Printers and Faxes on the client. View Printers and Faxes on the server.

5

Page 6: Printing in Citrix Presentation Server 4.0 and 4_v4

Step-by-Step

Use the following procedure to complete “Lab 2: Altering Printer Behavior with Policies”.

Step Action

Altering Printer Behavior with Policies

1 Open the Presentation Server Console.

2 Right-click on the Policies node.

3 Select Create Policy.

4 Name the policy routing policy and click OK.

5 Right-click on the newly created policy and choose Properties.

6 Find the Print job routing policy under Printing->Client Printers and enable the policy by clicking the Enabled radio button.

7 Configure the policy by clicking the Always connect indirectly as a client printer radio button.

8 Click OK.

9 Right click on the routing policy and select Apply this policy to..

10 Highlight Servers in the left pane and check the filter based on servers box in the right pane.

Note that the Presentation Server has a blue check mark, indicating that it is selected.

11 Click OK.

12 Return to the client machine and launch the HotDesktop application session.

13 Once the session is launched, open the Printers and Faxes applet.

Notice that all the printers are now “auto-created client printers.

14 Return to the Server desktop and open Printers and Faxes.

6

Page 7: Printing in Citrix Presentation Server 4.0 and 4_v4

Notice that all of the printers are now visible to the administrator.

15 Log off the HotDesktop Session

STOP - END OF LAB 2. Please turn your tent card over so the “Done with lab” side is facing the front of the room

7

Page 8: Printing in Citrix Presentation Server 4.0 and 4_v4

Lab 3: Using StressPrinter to Test Drivers

Before You Begin To complete this lab, you must have:

Print HOT Server VMo Username: Administratoro Password: citrixo Presentation Server 4.5o Pass-through authentication for the Presentation Server Console

Estimated time to complete this lab: 10 minutes

Scenario Objective: To use the StressPrinter utility to test for problem drivers installed on your server.

To complete this lab: Log into the Print HOT Server desktop. View driver information in Registry Editor. Launch StressPrinter. Run a test with 10 concurrent events, repeated 5 times. View the results log.

8

Page 9: Printing in Citrix Presentation Server 4.0 and 4_v4

Step-by-Step Use the following procedure to complete “Lab 3: Using StressPrinter to Test Drivers”.

Step Action

Using Stress Printers to Test Drivers

1 Log on to the Presentation Server as the administrator.

2 Open the Registry Editor by typing regedt32 at the run prompt

3 Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3

4 Select each driver key and note the provider value

5 Minimize the registry editor and launch StressPrinters.exe from C:\tools

6 Select a printer driver from the driver list.

Highlight the driver and change the Base Printer Name

7 Change the number of concurrent add events to 10.

8 Change the number of times to repeat the test to 5.

9 Click the run button

10 Check the results in the output log.

11 This log ca be saved for future reference using the save log button.

12 Any errors listed in the result should raise a red flag against that driver. In some cases, the print spooler itself may crash or hang while running the test. This indicates a problem with the driver.

STOP - END OF LAB 3. Please turn your tent card over so the “Done with lab” side is facing the front of the room

9

Page 10: Printing in Citrix Presentation Server 4.0 and 4_v4

Lab 4: Configuring Universal Printer Driver Properties

Before You Begin To complete this lab, you must have:

Print HOT Server VMo Username: Administratoro Password: citrixo Presentation Server 4.5o Pass-through authentication for the Presentation Server Console

Print HOT Client VMo Username: citrixo Password: citrixo Citrix Program Neighborhood (ICA client 10.1)o Pass-through authentication for Program Neighborhood

Estimated time to complete this lab: 10 minutes

Scenario Objective: To create a printer using the Citrix Universal Printer Driver and change the client side properties in order to affect server applications.

To complete this lab: Disable all existing policies in the Presentation Server Console. Create a new policy named “UPD only”. Configure the policy to use the universal printer driver only for all sessions

that connect to the server. Launch a session and view printer properties. View the printer’s local settings.

10

Page 11: Printing in Citrix Presentation Server 4.0 and 4_v4

Step-by-Step Use the following procedure to complete “Lab 4: Configuring Universal Printer Driver Policies”.

Step Action

Configuring Universal Print Driver Policies

1 Log on to the Presentation Server.

2 Launch the Presentation Server Console.

3 Select the Policies node

4 Right click on each policy and choose Disable.

5 Right click on the policy node and choose Create policy.

6 Name the policy UPD only and click OK.

7 Open the policy properties and select Universal driver under Printing->Drivers.

8 Enable the policy and choose Use universal driver only.

9 Apply the policy to the server.

10 Log on to a session from the client machine

11 Open printers and faxes and notice the driver for each auto-created printer will be listed as “citrix universal printer”.

12 Right-click a printer and choose properties.

13 Click on Printing preferences

Notice how the screen does not display any device settings, only the Citrix UPD screen Is displayed.

14 Click Local settings.

11

Page 12: Printing in Citrix Presentation Server 4.0 and 4_v4

15 Take the window that pops up and move it outside of the published desktop window

Note: Clicking on local settings launches the client side driver User Interface. The Citrix UPD mirrors the client side driver settings.

STOP - END OF LAB 4. Please turn your tent card over so the “Done with lab” side is facing the front of the room

12

Page 13: Printing in Citrix Presentation Server 4.0 and 4_v4

Lab 5: Creating Session Printer PoliciesBefore You Begin To complete this lab, you must have:

Print HOT Server VMo Username: Administratoro Password: citrixo Presentation Server 4.5o Pass-through authentication for the Presentation Server Console

Print HOT Client VMo Username: citrixo Password: citrixo Citrix Program Neighborhood (ICA client 10.1)o Pass-through authentication for Program Neighborhood

Estimated time to complete this lab: 10 minutes

Scenario Objective: To create a policy to connect network printers for a user when they log on. Observe the registry changes that are made when these policies are resolved and when the printers are created.

To complete this lab: Create a new policy in the Presentation Server Console named “session

printers”. Enable the Session Printers rule and a network printer from the domain. Set the network printer as the client’s default printer. Apply the policy to the citrix user in the Print domain. Launch a published desktop and verify that the policy is applied correctly.

13

Page 14: Printing in Citrix Presentation Server 4.0 and 4_v4

Step-by-Step Use the following procedure to complete “Lab 5: Creating Session Printer Policies”.

Step Action

Creating Session Printer Policies

1 Log on to the Presentation Server as the administrator.

2 Launch the Presentation Server Console.

3 Select the Policies node, right click and choose Create policy.

4 Name the policy Session Printers and click OK.

5 Right click on the policy and select Properties.

6 Select Session Printers in the left pane, under Printing

7 Click the Enabled radio button.

8 Click the Add… button.

9 Click New…

10 Click Next on the credentials screen to use the administrator credentials.

11 Click the Browse for printer radio button

12 Double click the domain or workgroup name to expand all the nodes to find all the available print servers in the domain

13 Select the desired network printer and click Finish

14 Highlight the printer in the center pane and click the Settings button.

Note. The available settings that can be chosen as default settings for that printer.

15 Open the Choose client’s default printer drop down box and select the printer you just created

16 Click OK.

14

Page 15: Printing in Citrix Presentation Server 4.0 and 4_v4

17 Right click the policy and choose Apply this policy to…

18 Highlight Users in the left pane.

19 Check the Filter based on users box.

20 Click the Add List of Names button

21 Enter domain\user

22 Click OK.

23 Click OK again

24 Go to the client machine and launch the published desktop.Open the printer and faxes folder and note that the default printer is the one chosen in the Session Printers policy

25 Log off the session

STOP - END OF LAB 5. Please turn your tent card over so the “Done with lab” side is facing the front of the room

15

Page 16: Printing in Citrix Presentation Server 4.0 and 4_v4

Lab 6: Follow the Print Job

Before You Begin To complete this lab, you must have:

Print HOT Server VMo Username: Administratoro Password: citrixo Presentation Server 4.5o Pass-through authentication for the Presentation Server Console

Estimated time to complete this lab: 10 minutes

Scenario Objective: To follow a print job from server application to client and observe its behavior along the way.

To complete this lab: Launch the published desktop and type some text in Notepad. Pause the auto-created client printer. Pause the same printer on the client workstation. Launch PerfMon and delete the default counters. Add the Output Printer Bandwidth counter. Launch FileMon on the client and pause the capture. Clear the display and filter for the following text: “wfica32.exe; cpviewer.exe;

pcl2bmp.exe”. Restart the capture. Return to Notepad and print. View the auto-created client printer queue and unpause the printer. Observe the output printer bandwidth counter. Verify the job has spooled on the client. Stop the FileMon capture, locate the wfica32 entry, and note the file it creates.

16

Page 17: Printing in Citrix Presentation Server 4.0 and 4_v4

17

Page 18: Printing in Citrix Presentation Server 4.0 and 4_v4

Step-by-Step Use the following procedure to complete “Follow the Print Job”.

Step Action

Follow the Print Job

1 Log on to the published HOTDesktop.

2 Launch the Notepad application and type some text

3 Open Printers and Faxes in the session.

4 Right-click an auto-created client printer (HP DeskJet 560).

5 Select Pause printing.

6 Open Printers and Faxes on the client workstation.

7 Right-click on the same printer (HP DeskJet 560) and choose Pause printing.

8 On the server, launch Performance Monitor.

9 Delete the default counters by clicking the X tool bar button three times.

10 Add a new counter by pressing the + button.

11 Select ICA Session in the Performance object drop-down menu.

12 Mark the Select counters from list option.

13 In the counter list, choose Output Printer Bandwith.

14 In the Instance list, select your session number.

15 Click Add.

16 Click Close.

17 On the client workstation, launch filemon.exe located in c:\tools\filemon.

18

Page 19: Printing in Citrix Presentation Server 4.0 and 4_v4

18 Pause the capture by clicking the magnifying glass tool bar button.

19 Choose Clear display from the Edit menu

20 Choose Filter/Highlight from the Options menu

21 In the Include textbox, type wfica32.exe; cpviewer.exe; pcl2bmp.exe.

22 Click OK.

23 Restart the capture by clicking the toolbar button again.

24 Return to your Notepad document and select file -> print

25 Select the printer that you paused. (HP DeskJet 560) and click print

26 Check the printer queue on the server. Note that the document is still in the queue.

27 Resume printing on the paused printer in the session

Observe the counter in Performance Monitor has spiked and resumed.

28 Check the printer queue on the client. The print job should now be in the client print queue.

29 Stop the capture in filemon

30 Scroll to the top of the capture.

31 Observe how wfica32 creates a file in the users’ temporary directory called splxxxx.tmp. Then cpviewer.exe or pcl2bmp.exe reads that file. This is the client process responsible for sending the print job to the local spooler.

32 Log off the session

STOP - END OF LAB 6. Please turn your tent card over so the “Done with lab” side is facing the front of the room

19


Recommended