Скачать презентацию Printing in the Metaframe Environment Jim West Global Скачать презентацию Printing in the Metaframe Environment Jim West Global

3acaa00ae7b42c933102b9ee411d89a9.ppt

  • Количество слайдов: 43

Printing in the Metaframe Environment Jim West Global Escalation Team Printing in the Metaframe Environment Jim West Global Escalation Team

Agenda Printer Definition Autocreation Imported Print Servers Windows CE Universal Print Driver (UPD) Follow Agenda Printer Definition Autocreation Imported Print Servers Windows CE Universal Print Driver (UPD) Follow the Print Job Utilities 3 © Citrix 2002 • Confidential

Printer Definitions Auto-created (Requires the client network) – Locally Attached – – Info stored Printer Definitions Auto-created (Requires the client network) – Locally Attached – – Info stored in HKLM Locally Defined – Info stored in the user’s profile Autoconnected – Imported print queues assigned to users – Retained in the data store Remembered – Manually mapped from inside the session Retained in the users’ profile – HKCU/Printers/Connections – 4 © Citrix 2002 • Confidential

Printer Autocreation: Overview • Server Requests the printer information • Wfica indexes and enumerates Printer Autocreation: Overview • Server Requests the printer information • Wfica indexes and enumerates the client’s printer information. • The ICA virtual channels are used to communicate with the server. 5 © Citrix 2002 • Confidential

Printer Autocreation: Client Side The basic questions that need to be answered…… – – Printer Autocreation: Client Side The basic questions that need to be answered…… – – – What port? Printer name? Which print driver? Answered by Wfica(ICA client engine) – – – Wfica 32 for win 32 clients(Win 9 x, Win 2 k, etc). Wfica. CE for Windows CE Wfica for Linux and Unix The public devmode structure contains the answers: [\JW-WIN 2 K-SVRHP Laser. Jet 4000 Series PS] --------------PRINTER_INFO_2 -----------------p. Server. Name = "\JW-WIN 2 K-SVR" p. Printer. Name = "\JW-WIN 2 K-SVRHP Laser. Jet 4000 Series PS" p. Share. Name = "HP 4000" p. Port. Name = "IP_10. 3. 1. 45" p. Driver. Name = "HP Laser. Jet 4000 Series PS“ …… 6 © Citrix 2002 • Confidential

Printer Autocreation: Server Side The Metaframe XP policies can restrict printer autocreation Metaframe configuration Printer Autocreation: Server Side The Metaframe XP policies can restrict printer autocreation Metaframe configuration (mfcfg. exe)can block printer autocreation at the listener. A list of drivers is maintained from the CMC. – – 7 © Citrix 2002 • Confidential Use ONLY the specified drivers Do not use the specified drivers

Printer Autocreation: Server Side Driver entries in the registry – – – HKLMSystemCCSControlPrintEnvironmentsWindows NT Printer Autocreation: Server Side Driver entries in the registry – – – HKLMSystemCCSControlPrintEnvironmentsWindows NT X 86. . Version-2 specifies Windows NT 4 drivers. . . Version-3 specifies Windows 2000 drivers Mapping files – – Wtsuprn. inf is read into IMA only during the MF XP install. Wtsprnt. inf is rewritten not appended as changes are replicated. Silent install NTprint. inf contains the file names required to install the win 2 k native drivers. – Can be modified by 3 rd party vendors – 8 © Citrix 2002 • Confidential

Printer Autocreation: Server Side FR 2 would only allow the print driver to be Printer Autocreation: Server Side FR 2 would only allow the print driver to be restricted OR mapped to another print driver (as shown above). FR 3 allows a driver to be restricted AND mapped to another print driver. 9 © Citrix 2002 • Confidential

Printer Autocreation: Locally Defined Metaframe FR 2 Locally Defined Auto-Created Printer: \Print. ServerPrinter 1 Printer Autocreation: Locally Defined Metaframe FR 2 Locally Defined Auto-Created Printer: \Print. ServerPrinter 1 Does not utilize the ICA virtual channel Domain: Alpha ICA Session Metaframe XP FR 2 Server \Print. ServerPrinter 1 \Print. Server Print Job via SMB 10 © Citrix 2002 • Confidential

Printer Autocreation: Locally Defined • Metaframe FR 2 • Locally Defined Auto-Created Printer: \Print. Printer Autocreation: Locally Defined • Metaframe FR 2 • Locally Defined Auto-Created Printer: \Print. ServerPrinter 1 • Utilizes the ICA virtual channel • Presentation server is not in the same domain as the print server Domain: Alpha Domain: Bravo ICA Session \Print. ServerPrinter 1 11 © Citrix 2002 • Confidential Metaframe XP FR 2 Server

Printer Autocreation: Locally Defined • Metaframe FR 2 with XE 102 W 065 • Printer Autocreation: Locally Defined • Metaframe FR 2 with XE 102 W 065 • Locally Defined Auto-Created Printer: \Print. ServerPrinter 1 • Utilizes the ICA virtual channel • HKLMSYSCCSControlCitrixClient. Printer. Autocreate • f. Create. Network. Printer 1 (0 for default FR 2 behavior) Domain: Bravo ICA Session Metaframe XP FR 2 Server \Print. ServerPrinter 1 \Print. Server 12 © Citrix 2002 • Confidential

Printer Autocreation Question: Can LPT port redirection be disabled but the users still auto-create Printer Autocreation Question: Can LPT port redirection be disabled but the users still auto-create their printers? ? ? 13 © Citrix 2002 • Confidential

Printer Autocreation: Lab 1 Objectives: Understand the mechanics of the user profile in relation Printer Autocreation: Lab 1 Objectives: Understand the mechanics of the user profile in relation to the auto-create process. – Demonstrate printer options updated during the autocreation process as stipulated from the CMC. – Showcase Microsoft’s on demand silent install of print drivers. – 14 © Citrix 2002 • Confidential

Imported Print Servers • Data Collector • Print server • Printer Info • \PrintserverLexmark Imported Print Servers • Data Collector • Print server • Printer Info • \PrintserverLexmark • \PrintserverHP 4000 15 © Citrix 2002 • Confidential • Data Store

Imported Print Servers • Print server name • Printer share name • User list Imported Print Servers • Print server name • Printer share name • User list 16 © Citrix 2002 • Confidential

Imported Print Servers Auto-connected Printers – – – 17 Do not use the ICA Imported Print Servers Auto-connected Printers – – – 17 Do not use the ICA channel Use MS SMB printing The print job does not spool on the Metaframe server The printers do not have associated registry keys in HKLM only HKCU Print jobs might be slower to an autoconnected printer if the print server is over a WAN link from the Metaframe server. The print jobs cannot be throttled and do not use the ICA compression © Citrix 2002 • Confidential

Windows CE • Limited user interface • Locally attached printer information is retained in Windows CE • Limited user interface • Locally attached printer information is retained in the client’s registry • Printer information specified via the CMC and retained in the DS • Windows based printing • LPT port redirection 18 © Citrix 2002 • Confidential

Windows CE Printcfg. exe User required to select print driver and client port – Windows CE Printcfg. exe User required to select print driver and client port – Adds registry entry to the user’s profile – – HKCUSoftwareCitrixAutocreated. Client PrinterClientname Citrix Management Console No end user action required – Admin specifies the printer information per terminal name – Printer name – Driver – Client side Port – 19 © Citrix 2002 • Confidential

Windows CE 20 © Citrix 2002 • Confidential Windows CE 20 © Citrix 2002 • Confidential

Windows CE Deleting the CE client printers Sets the status from “downloaded” to “deleting” Windows CE Deleting the CE client printers Sets the status from “downloaded” to “deleting” – Requires the client to log in again to complete the action. – Dependant upon the client name – What if the clientname is changed? ? ? The printer will remain as “deleting”. – Does not affect the performance of the server. – How do you clear the “deleting” printers? ? Dsverify 2. exe built 3/12/2003 (For FR 2 only) – Dsverify 2. exe PRINTERS /purge_client_printers – 21 © Citrix 2002 • Confidential

Windows CE C: >dsverify 2 Data Store Validation Utility Version: 0. 5 DSVERIFY [ Windows CE C: >dsverify 2 Data Store Validation Utility Version: 0. 5 DSVERIFY [ SERVERS | APPS | PRINTERS | GROUPS | MSLICENSE ] C: >dsverify 2 PRINTERS Data Store Validation Utility Version: 0. 5 Currenlty only the /purge_replications and /purge_client_printers options are supported. C: >dsverify 2 PRINTERS /purge_client_printers Data Store Validation Utility Version: 0. 5 Using the /Clean option may result in changes being made to the Data Store. Please be sure the Data Store has recently been backed up before continuing. Would you like to continue? y Deleting Client. Auto. Create. Printer: 1194 -0040 -00001221 22 © Citrix 2002 • Confidential

Windows CE: Lab 2 Objectives The user will see the print job utilize CTXLPT Windows CE: Lab 2 Objectives The user will see the print job utilize CTXLPT 1: then compare with “Windows” printing. – Taking the subject a step further the CMC is used to push printer data down to the terminal allowing it to autocreate without user intervention. – This lab will provide the proof of function as detailed in the Win. CE WBT Printing flow chart. – 23 © Citrix 2002 • Confidential

Universal Printdriver(UPD) People can have the Model T in any colour--so long as it's Universal Printdriver(UPD) People can have the Model T in any colour--so long as it's black. Henry Ford • Similar to the first version of the Universal Print Driver…. Any color as long as its black. 24 © Citrix 2002 • Confidential

Universal Printdriver(UPD) Introduced with FR 2 – – – 300 dpi Monochrome Based on Universal Printdriver(UPD) Introduced with FR 2 – – – 300 dpi Monochrome Based on the HP Laser. Jet II driver Uses PCL 4 format Requires Win 32 ICA client 6. 20 or higher Updated with FR 3 – – – 600 dpi Color Based on the HP Laser. Jet 4500 Uses PCL 5 c format Requires ICA client 7. 00 or higher – 25 Added support for Linux and Unix © Citrix 2002 • Confidential

Universal Printdriver(UPD) • Print driver formats the data from the application. UPD Print Driver Universal Printdriver(UPD) • Print driver formats the data from the application. UPD Print Driver • Formatted “picture” sent to the client in PCL 5/PCL 5 c or PS format. Client side “Rasterizer” • The picture is presented to the client spooler. Client side print spooler • The picture is formatted and spooled to the print device per the local print driver. 26 © Citrix 2002 • Confidential

Universal Printdriver(UPD) Registry entries – HKLMSWCitrixUniversal. Print. Drivers – – PCL 5 c – Universal Printdriver(UPD) Registry entries – HKLMSWCitrixUniversal. Print. Drivers – – PCL 5 c – HP Color Laser Jet 4500 – – PCL 4 – HP Laser. Jet Series II PS (For Unix / Linux Clients) – HP Color Laser. Jet PS HKLMSysCCSControlPrintEnvironmentsDrivers – Version-3 – HP Laser. Jet Series II – – 27 HP Color Laser. Jet 4500 HP Color Laser. Jet PS © Citrix 2002 • Confidential

Universal Printdriver(UPD) Can the Universal Print driver be used when printing directly to the Universal Printdriver(UPD) Can the Universal Print driver be used when printing directly to the print server? ? ? 28 © Citrix 2002 • Confidential

Follow the Print Job Graphics Device Interface – – – GDI ~ Windows based Follow the Print Job Graphics Device Interface – – – GDI ~ Windows based printing The user selects the document output for either the video card to display or for the print driver to render. The print job is formatted and converted by the print driver to be “displayed” to the print device. The resultant. SHD and. SPL files are sent to winntsystem 32spoolprinters folder. The. SHD and. SPL files are sent to the print monitor determined by the user when the print job was initiated. Word. doc Print Drv 002. shd/002. spl Print Spooler 29 © Citrix 2002 • Confidential Print monitor

Follow the Print Job • GDI printing a. k. a. “Windows Printing” • The Follow the Print Job • GDI printing a. k. a. “Windows Printing” • The application formats the print job using the driver’s specifications • Utilizes the server’s spooler system 30 © Citrix 2002 • Confidential

Follow the Print Job • LPT port redirection print jobs • Network printing • Follow the Print Job • LPT port redirection print jobs • Network printing • Autoconnected printers 31 © Citrix 2002 • Confidential • Windows Based printing via the spooler

Follow the Print Job • To the ICA client 32 © Citrix 2002 • Follow the Print Job • To the ICA client 32 © Citrix 2002 • Confidential

Follow the Print Job • The ICA client engine hands off to the local Follow the Print Job • The ICA client engine hands off to the local client spooler • The print job works up through the ica client • From the server 33 © Citrix 2002 • Confidential

Utilities • Print Migrator 3 • SMC Console • Project Compatibility 34 © Citrix Utilities • Print Migrator 3 • SMC Console • Project Compatibility 34 © Citrix 2002 • Confidential

Utilities: Print Migrator 3 from Microsoft Allows all the print driver info to be Utilities: Print Migrator 3 from Microsoft Allows all the print driver info to be saved to a cab file – Allows a print server to be replicated in a test environment – Allows Citrix Support to replicate the customer’s printing environment down to the exact files – 35 © Citrix 2002 • Confidential

Utilities: Print Migrator 36 © Citrix 2002 • Confidential Utilities: Print Migrator 36 © Citrix 2002 • Confidential

Utilities: SMC Console SMC console from Citrix CDN Allows a live session’s bandwidth to Utilities: SMC Console SMC console from Citrix CDN Allows a live session’s bandwidth to be temporarily limited to test the impact of BW restrictions for Printing. – Provides real time insight on the Virtual channel usage. – Citrix. com/cdn – 37 Citrix Server SDK ver 2. 3 is the latest as of 6/11/2003 and includes the SMC components © Citrix 2002 • Confidential

Utilities: SMC Console 38 © Citrix 2002 • Confidential Utilities: SMC Console 38 © Citrix 2002 • Confidential

Utilities: Project Compatibility http: //www. dabcc. com Not developed by Citrix Pulls event viewer Utilities: Project Compatibility http: //www. dabcc. com Not developed by Citrix Pulls event viewer info from the server farms Dynamically sets print mappings Reads and Writes to the data store 39 © Citrix 2002 • Confidential

Utilities: Project Compatibility 40 © Citrix 2002 • Confidential Utilities: Project Compatibility 40 © Citrix 2002 • Confidential

Questions: Question: Can LPT port redirection be disabled but the users still autocreate their Questions: Question: Can LPT port redirection be disabled but the users still autocreate their printers? ? ? – YES. Autocreated “Windows Based” printers use the CTXCPM virtual channel. LPT port redirection use CTXLPT 1 and CTXLPT 2 channels. Can the Universal Print driver be used when printing directly to the print server? ? ? – 41 No. The Universal Print driver requires the client component PCL 4 RAST. dll to accept the print job. This is only found with the ICA client. © Citrix 2002 • Confidential

 • Questions? ? ? Nothing is particularly hard if you divide it into • Questions? ? ? Nothing is particularly hard if you divide it into small jobs. Henry Ford 42 © Citrix 2002 • Confidential

43 © Citrix 2002 • Confidential 43 © Citrix 2002 • Confidential