| **Navigation:**  [[templates.htm|Templates]] > Guide to all Templates > [[additional libraries and templates.htm|Additional Libraries and Templates]] > Crystal8 Class >====== HasPrintButton (display print button on report preview) ====== | [[hasnavigationcontrols display navigation controls on report preview .htm|{{btn_prev_n.gif|Previous page}}]][[additional libraries and templates.htm|{{btn_home_n.gif|Return to chapter overview}}]][[hasprintsetupbutton display print setup button on report preview .htm|{{btn_next_n.gif|Next page}}]] | | || **HasPrintButton** (| //hasprintbutton// |) ** ** **HasPrintButton**** Allows a print button on the report preview window.** //Hasprintbutton//  An integer constant, variable, EQUATE, or expression that specifies whether a print button will appear on the report's preview window. A value of one (1) displays the print button; a value of zero (0) does not display the print button. The HasPrintButton method is used to optionally display a print button on the report preview window. This method returns a BYTE representing the value of //hasprintbutton//. **Return Data Type:** BYTE **Example:** **oCrystal8.HasPrintButton(1)**