| **Navigation:**  [[templates.htm|Templates]] > Guide to all Templates > [[additional libraries and templates.htm|Additional Libraries and Templates]] > Crystal8 Class >====== _Print (print a Crystal Report) ====== | [[preview preview a crystal report .htm|{{btn_prev_n.gif|Previous page}}]][[additional libraries and templates.htm|{{btn_home_n.gif|Return to chapter overview}}]][[query retrieve or set the sql data query .htm|{{btn_next_n.gif|Next page}}]] | | || **_Print**(| //copies//, //printersetup //|) {{blk2blue.jpg|blk2blue.jpg}} | **_Print** | **Print a Crystal Report.** | | copies | An integer constant, variable, EQUATE, or expression that specifies the number of copies of the report to print. The default for this parameter is 1. This parameter is optional. | | printersetup | An integer constant, variable, EQUATE, or expression that specifies whether the Printer Setup dialog is displayed before sending the report to the printer. Specifying TRUE or 1 for this parameter will cause the Printer Setup dialog to be displayed; a value of FALSE or 0 (the default value) will allow the report to go directly to the printer. This parameter is optional. | The _Print method prints a Crystal report directly to the printer without any option to preview the report. The printer setup dialog is optional before the report is sent to the printer. **Example:** **oCrystal8._Print( 1, 1 )**