You can print a DataWindow object while the Preview view is displayed. You can print all pages, a range of pages, only the current page, or only odd or even pages. You can also specify whether you want multiple copies, collated copies, and printing to a file.
To avoid multiple blank pages and other anomalies in printed reports, no row in the DataWindow object should be larger than the size of the target page. The page boundary is often reached in long text columns with AutoSizeHeight on. It can also be reached when detail rows are combined with page and group headers and trailers, or when they contain multiple nested DataWindow objects or a column that has been resized to be larger than the page.
When a row contains large multiline edit columns, it can be broken into a series of rows, each containing one text line. These text lines become the source for a nested DataWindow object. The nested DataWindow object determines how many of its rows fit in the remaining page space.
The summary band in a report is always printed on the same page as the last row of data. This means that you sometimes find a page break before the last row of data even if there is sufficient space to print the row. If you want the last row to print on the same page as the preceding rows, the summary band must be made small enough to fit on the page as well.
You can choose File>Printer Setup from the menu bar.
Select File>PrintReport from the menu bar to display the Print dialog box.
Specify the number of copies to print.
Specify the pages: select All or Current Page, or type page numbers and/or page ranges in the Pages box.
Specify all pages, even pages, or odd pages in the Print drop-down list.
If you want to print to a file rather than to the printer, select the Print to File check box.
If you want to change the collating option, clear or select the Collate Copies check box and click OK.
If you specified print to file, the Print to File dialog box displays.
Enter a file name and click OK.
The extension PRN indicates that the file is prepared for the printer. Change the drive, the directory, or both, if you want.