When you are satisfied with the look of the DataWindow object, you can define its print specifications.
To define print specifications for a DataWindow object:
In the DataWindow painter, select Properties from the DataWindow object's pop-up menu.
In the Units box under the General category, select a unit of measure.
It is easier to specify the margins when the unit of measure is inches or centimeters.
Select the Print Specifications category.
The Print Specifications properties use the units of measure you specified.
Specify print specifications for the current DataWindow object.
See Table 4-4 for more information.
Setting |
Description |
---|---|
PrintButtons |
Select True to display Button controls when you print the report. The default is to hide them. |
PrintClipText |
Select True to clip static text to the dimensions of a text field when the text field has no visible border setting. The text is always clipped if the text field has visible borders. |
PrintCollateCopies |
Select True to collate copies when printing. Collating increases print time because the print operation is repeated to produce collated sets. |
PrintColumns |
If you want a multiple-column report where the data fills one column on a page, then the second, and so on, as in a newspaper, specify the number of columns. See “Printing with newspaper-style columns”. |
PrintColumnsWidth |
An integer that specifies the width of each column if you specified multiple columns. |
PrintDefaultPrinter |
Select False if a printer has been specified in the Printer Name filed and you do not want the report to be sent to the default system printer if the specified printer cannot be found. This field is True by default if a printer name is specified. |
PrintDocumentName |
Specify a name to be used in the print queue to identify the report. |
PrintMarginBottom, PrintMarginLeft, PrintMarginRight, PrintMarginTop |
Specify top, bottom, left, and right margins. |
PrintOrientation |
Choose one of the following:
|
PrintOverridePrintJob |
When you print a series of reports using the PrintOpen, PrintDataWindow, and PrintClose methods, all the reports in the print job use the layout, fonts, margins, and other print specifications defined for the computer. Select True to override the default print job settings and use the print settings defined for this report. |
PrintPaperSize |
Choose a paper size. |
PrintPaperSource |
Choose a paper source. |
PrintPreviewButtons |
Select True to display Button controls in Print Preview. The default is to hide them. |
PrintPreviewOutline |
Select True to display a blue outline to show the location of the margins. |
PrintPrinterName |
Specify the name of a printer to which this report should be sent. If this box is empty, the report is sent to the default system printer. If the specified printer cannot be found, the report is sent to the default system printer if the Can Use Default Printer check box is selected. If the specified printer cannot be found and the Can Use Default Printer check box is not selected, an error is returned. |
PrintPrompt |
Select True to display the standard Print Setup dialog box each time users make a print request. |