A Print
PEPrintReport enables your application to print a report, to select the output device, either a default printer or a preview window, and to specify the size and location of the preview window if the report is printed to a window. This function does not enable you to customize the report (select the records to print, set the sort order, etc.) at print time. You can set those parameters at report design time (using the Crystal Reports Design Tab), but you cannot change them at print time through a Print
If the report is sent to a preview window, you should also use the PEOpenEngine and PECloseEngine functions with your Print
Note: You may also want to get in the habit of using PEOpenEngine and PECloseEngine in all Print
Example code for a Print
| Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |