Glossary Item Box

Samples | Walkthroughs

See Also ActiveReports for .NET 2 Online Help Send feedback to Data Dynamics

Walkthrough: Duplexing

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

To write the code in 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 WinForm Viewer for help.

Samples | Walkthroughs

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.