Applies To: |
|
Summary: |
To allow reports to print on a landscape page without changing the Control Panel defaults use the printer's escape codes. |
Solution: |
To configure the printer to allow reports
to be printed in landscape without changing the default options for
the printer in control panel requires the printer's escape codes. A
list of escape codes for a particular printer is usually found in
the printer documentation.
Escape codes contained within a report will be filtered out unless the output device for the report is defined as being of Type: ASCII_DEV. For example: The definition for Production_Report: Name: Production_Report The definition for Rep_Printer: Name: Production_Report The production report would then include the escape codes in the appropriate places. As the printer device is defined as an ASCII device a form feed command {FF} will need to be placed at the end of the report. In the following example the report is printed in a landscape format with the heading in a different font. The » symbol represents the escape character (ascii character 27). Each control string in the example is on a separate line for clarity, in practice one line would be used for each group of control strings. The definition for Prod.rpt {!set landscape} |
Keywords: |
Related Links
Attachments