The information in this article applies to:
SUMMARYThis article provides general information about installing and using the Microsoft Outlook XPrint ActiveX Control and XPrint Add-in. MORE INFORMATIONThe XPrint ActiveX Control and the XPrint Add-in allow you to print Outlook forms as they appear on the screen, WYSIWYG (what you see is what you get). You can use the control and the add-in separately, or you can use both at the same time. Obtaining the XPrint UtilityThe XPrint utility is available from the Microsoft Office 2000 Resource Kit Web site. This Web page provides general information about the XPrint utility:http://www.microsoft.com/Office/ORK/2000/Journ/OutXPrintTool.htmYou can download the XPrint utility from the Microsoft Office 2000 Resource Kit Web page: http://www.microsoft.com/office/ork/2000/appndx/toolbox.htm#OCustFrm To Install the XPrint ComponentsSetupex.exe is the self-extracting file that you can run, or download from the Office Resource Kit Web site.IMPORTANT: The setup program does not detect where you have previously installed Microsoft Office. If Office was installed to a drive other than the C drive, be sure to use the drive Microsoft Office is located on. The XPrint Add-in is Printform.dll, and is installed to C:\Windows\System. The XPrint ActiveX Control is XPrint.ocx, and is installed to C:\Program Files\Microsoft Office\Office\Addinsby default. Documentation is provided in the XPrint.chm file, also installed in the Addins folder. Deploying the XPrint ComponentsThe Outlook XPrint ActiveX Control or XPrint Add-in must be installed on any computer that will be using either of these components. This includes all computers that will open an Outlook form that uses the XPrint ActiveX Control.The simplest way to install the components on the client computers is to place the Setupex.exe file on a shared network file server, and then distribute a link to this file so that users can click the link to install the components. Using Only the XPrint Add-inBecause the XPrint Add-in is a Microsoft Exchange Client Extension and not a COM Add-in, it can be used with all versions of Outlook. Once the add-in is installed, it replaces the default Print command on the File menu, for any custom mail message or post form. You should be aware of the following issues:
Using Only the XPrint ActiveX ControlWhile the XPrint ActiveX Control provides more functionality than the XPrint Add-in, it also requires that you have moderate experience with creating Outlook custom forms with Visual Basic Scripting Edition (VBScript).To use the ActiveX control, create a custom form and place the control on the form page you want to print. Using VBScript, you must programmatically set some properties on the control to initialize it when the form is in run mode. This is typically done in the Item_Open event. Next, you need to determine how the user will initiate the printing process. This functionality would typically be included as part of a Click event for a command button control, but you can use any other Outlook events to determine when the form will print. For example, you can add the printing functionality to the Write event so that every time an item is saved with changes, the form will print automatically. Example of Using the XPrint ActiveX Control
Using the XPrint ActiveX Control and Add-in TogetherWhen you use the XPrint Active Control while the XPrint Add-in is installed, you can use the control's AutoPrint property to determine whether the XPrint control, or add-in will determine how the form is printed. For more information, consult the XPrint.chm help file that is installed by setup.REFERENCES
For additional information about other methods you can use to create custom printouts based on Outlook forms, please see the following article in the Microsoft Knowledge Base: Q230512 OL2000: Outlook Does Not Print Forms as ExpectedFor additional information about available resources and answers to commonly asked questions about Microsoft Outlook 2000 solutions, please see the following article in the Microsoft Knowledge Base: Q146636 OL2000: Questions About Custom Forms and Outlook Solutions Additional query words: OutSol OutSol2000 OL2K
Keywords : |
Last Reviewed: November 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |