The Printer component configures properties for the printer and manages how HTML documents are printed. It also includes properties related to the Print to PDF feature.
When you select the Printer component in the “Components Used” list, the following properties become available:
EnablePrintPreview: If
True, the Print Preview window will be shown before printing the current webpage.HeaderText, FooterText: Sets the text to be displayed at the top (Header) and bottom (Footer) of each printed HTML page. The formatting options are the same as those in Internet Explorer.
OpenPDFAfterPrint: If
True, the application will automatically open the newly created PDF file after a user selects Print to PDF.PrintLandscape: If
True, the page will be printed in landscape orientation.SelectionOnly: If
True, only the selected portion of the page will be printed.ShowHeaderFooter: If
True, the header and footer will be included in the printout.