TutorialPrinting




Prev | Up | Next | Back | Forward | Online Documentation Home Page

Printing

Printing from within Ada-ASSURED (instead of saving a file in text format and then sending it to a printer) retains the font and style information contained in a document.

X Documents can be printed on a PostScript printer using either the print or print-file command.
MS Documents can be printed on any printer using the print command.

The print command prints a buffer that is currently open. The print-file command prints a file, which need not be currently open. Customization of printing is provided through the print-setup command, which allows easy manipulation of print parameters such as margin widths and header contents.

X More fine-tuning of print behavior is available by customizing the PostScript prolog.

Printed output may not correspond exactly to files saved in ASCII format. For example, line numbers may not match because, by default, the lines are printed to fit the width of the page, while in files lines are at most Absolute Right Margin characters long. It is possible to force printed output to match files saved in text format; see the explanation of print parameter Use Absolute Right Margin for a more thorough discussion.

Commands for printing are:

Two more restricted commands are available from the print-setup dialog box:

See also Prolog Customization and Substitutions


Forward