Related Information Examples & Tutorials

How To Print Landscape Or Portrait

This document discusses how to change the page orientation when you are printing. This is useful if you have a report with many columns and a lot of information and need to "compress" it to fit on one page.

Requirements

- Familiarity with Collect!'s report writer

Top of page.

Overview

It is easy to change the page orientation when you are printing from Collect! Many options can be set from the Report Options form. This form can be opened from the Report Definition form.

Pull down the Print menu and choose Customize Printing, Edit Report Templates.

When the list of all reports is displayed, click on the report that you want to use. You will be looking at the Report Definition form for the particular report.

Locate the Options button at the bottom of the form and click on it.

Top of page.

Portrait

This is the default page orientation. If you have not entered other settings, your letters and reports will print Portrait. To specifically set the page orientation to PORTRAIT, do the following.

1. Looking at the Report Options form, locate the Printer Initialization Codes and the Printer Termination Codes fields on the right hand side of the form.

2. In the Printer Initialization Codes field, enter the following command line:

@*PA

tip.gif After initializing these settings, you must "reverse" them and "turn them off" when printing finishes, otherwise, the report's formatting may carry into the next letter or report that you print. To "turn off" a command, enter the "reverse" codes in the Printer Termination Codes field.

3. To reset the printer control codes back to their default values, in the Printer Termination Codes field, enter the following code.

@AP*

This turns off the @*PA codes.

Top of page.

Landscape

To set the page orientation to LANDSCAPE, the same procedure is followed. The example given sets the orientation to Landscape and uses a small Font.

1. Looking at the Report Options form, locate the Printer Initialization Codes and the Printer Termination Codes fields on the right hand side of the form.

2. In the Printer Initialization Codes field, enter the following command line.

@*LF

3. To reset the printer control codes back to their default values, in the Printer Termination Codes field, enter the following code.

@FL*

This turns off the @*LF codes.

Top of page.

Summary

Whenever you set a font or printing characteristic, it must be turned off or it will carry over to the next report or letter that you print. It is always a good practice to explicitly declare a Printer Initialization and Printer Termination setting for each report or letter that you use.

Top of page.

See Also

- Report Topics Index for a complete list of report and letter topics

Top of page.

Was this page helpful? Do you have any comments on this document? Can we make it better? If so how may we improve this page.

Please click this link to send us your comments: helpinfo@collect.org