| **Navigation:**  [[templates.htm|Templates]] > Guide to all Templates > [[additional libraries and templates.htm|Additional Libraries and Templates]] > Rich Text Template Support - Overview >====== PrintRTF code template ====== | [[pastertf code template.htm|{{btn_prev_n.gif|Previous page}}]][[additional libraries and templates.htm|{{btn_home_n.gif|Return to chapter overview}}]][[pagesetuprtf code template.htm|{{btn_next_n.gif|Next page}}]] | | || {{notebox.jpg|NoteBox.jpg}} **This template (and its associated code templates) has been deprecated, and is now replaced by the [[tplcontrolrtf.htm|RTF Text Control]] template.** The PrintRTF code template is used to simply print the rich text data. This template calls the _Print method. A TRUE value is passed to the method to show the print setup dialog at runtime when printing. A FALSE value is passed to the Print method to print without displaying the print setup dialog. ** Prototype:** **_Print( [**//ShowSetup//**] )** **Example method calls:** **oRTF_RTFTextBox._Print( 1 ) !Show Print Setup dialog before printing** **oRTF_RTFTextBox._Print( 0 ) !Do not show Print Setup dialog** **Template Prompts:** **Associated RTF control** Select the RTF control from the drop-down list. All controls on the Window are included in the list. This field in required. **Show Print Setup?** Check this box to show the Print Setup dialog before printing. If the box is cleared, the Print Setup dialog will not show before printing.