The print facility in Grail allows you to send the current page as viewed to be formatted in postscript and spooled to a postscript printer by a line printer spooler utility (typically lpr(1) ) or printed directly to a file. With the notable exception of tables, printing in Grail is WYSIWYG (What you see is what you get).
Printing for the current page is accomplished by selecting the Print... selection in the File menu. A print dialog box appears containing controls that let you modify the default printing characteristics that are established via preferences. Modifying these controls does not affect preferences. Rather, these are a per-print set of options. Any edits made in the printing panel will remembered on subsequent prints for the current grail session except if printing preferences are saved from the printing preferences dialog (see below). Specifics of the individual options are discussed below.
Printing preferences can be modified by selecting the Printing command under the Preferences menu. This creates a Printing Preferences dialog box that allows you to enter your default print settings.
By default, grail will try to pipe to the command
specified here. In other words, the command should read
from UNIX standard input by default. If the command you
specify does not read from standard input, you may specify
that the output be spooled to a temporary file (which is
later removed), by adding a %s
somewhere in the print command. When the print
command is executed, %s
is replaced
with the name of the temporary file. This is useful on
systems like windows NT where the standard lpr
utility cannot read from standard input.
Examples:
This checkbutton specifies if the images on the current page should be included in the printed output.
This checkbutton specifies whether images should be rendered in greyscale instead of color RGB. This is recomended for most black and white laser printers.
One of the really nice features of printing in Grail is this checkbutton. When enabled, footnotes of all the anchors referenced in the page will be listed at the bottom.
This checkbutton allows you to specify that the printed output should appear with its anchors underlined. With this option disabled, anchors are not indicated in the text of the page in any way.
Use this selection box to specify the paper size in the printer. Note that this only tells Grail what paper you are using; no PostScript is generated to change paper trays since tray operations are highly printer specific and are often not available in PostScript Level 1 printers.
Most people prefer documents to be printed in portrait mode, but other orientations are available if needed. Use this selection box to specify which way is ``up.''
This is the font size for normal text. The value for this entry may be either a single number or two numbers separated by a ``slash'' character. All numbers are measurements expressed in printer's points; one point is 1/72." The numbers may be any positive real numbers.
When a single number is specified, it is used as both the base font size and the ``leading.'' Leading is the amount of space allocated to a line of text. When the leading is the same as the base font size, no extra space will be allocated between lines; since Grail does not support leading values less than the base font size, this produces as tightly packed a page as possible.
When two numbers are specified, the first is the base
font size and the second is the leading. For example, the
value ``11 / 12
'' means ``use an 11 point
font on 12 points lines.'' This would normally be read
``11 on 12.''
A base font size in the range of 10 to 12 points is reasonable for most people. Leading of about 7 to 15 percent more than the base font size often produces highly readable documents.
For more elaborate control over printing, refer to Advanced Printing Configuration.