ActiveReports for .NET 3 Online Help Request technical support
Walkthrough: Duplexing
See Also
User Guide > Samples and Walkthroughs > Walkthroughs > Standard Edition Walkthroughs > Basic > Printing Walkthroughs > Walkthrough: Duplexing

Glossary Item Box

This walkthrough illustrates how to set the type of duplex action to use when printing out double-sided reports.

This walkthrough is split up into the following activities:

To complete this walkthrough, you must have a print driver which supports printing in duplex in .NET.

Accessing the printer settings dialog

To access the printer settings dialog

  1. Open an existing ActiveReport.
  2. Click on any section of the report to select it.
  3. Click on Report > Settings.

  4. Click on Printer Settings.

Setting the type of duplexing for printing double-sided reports

To set the type of duplexing for printing double-sided reports

  1. Go to the printer settings dialog.
  2. For Duplex, choose one of the four options:

        Printer default: the report will use the default setting on the selected printer.

        Simplex: turns off duplex printing.

        Horizontal: prints horizontally on both sides of the paper.

        Vertical: prints vertically on both sides of the paper.

       

Using code to set the type of duplexing at run time

To write the code in Visual Basic or C#

Viewing the report

To view the report

  1. Add the ActiveReports viewer control to a Windows Form.
  2. Add the code needed to set the viewer document equal to the report document. See Using the ActiveReports Windows Form Viewer for help.
You can quickly view your report at design time by clicking the Preview tab at the bottom of the designer.

See Also

©2009. All Rights Reserved.