Next: , Previous: Output devices, Up: Configuration


A.6 The PostScript driver class

The postscript driver class is used to produce output that is acceptable to PostScript printers and other interpreters.

The available options are listed below.

output-file=file-name
File to which output should be sent. This can be an ordinary file name (i.e., "pspp.ps"), a pipe (i.e., "|lpr"), or stdout ("-"). Default: "pspp.ps".
headers=boolean
Controls whether the standard headers showing the time and date and title and subtitle are printed at the top of each page. Default: on.
paper-size=paper-size
Paper size. You may specify a name (e.g. a4, letter) or measurements (e.g. 210x297, 8.5x11in).

The default paper size is taken from the PAPERSIZE environment variable or the file indicated by the PAPERCONF environment variable, if either variable is set. If not, and your system supports the LC_PAPER locale category, then the default paper size is taken from the locale. Otherwise, if /etc/papersize exists, the default paper size is read from it. As a last resort, A4 paper is assumed.

orientation=orientation
Either portrait or landscape. Default: portrait.
left-margin=dimension
right-margin=dimension
top-margin=dimension
bottom-margin=dimension
Sets the margins around the page. The headers, if enabled, are not included in the margins; they are in addition to the margins. For a description of dimensions, see Dimensions. Default: 0.5in.
prop-font=afm-file[,font-file[,encoding-file]]
emph-font=afm-file[,font-file[,encoding-file]]
fixed-font=afm-file[,font-file[,encoding-file]]
Sets the font used for proportional, emphasized, or fixed-pitch text. The only required value is afm-file, the AFM file for the font.

If specified, font-file will be downloaded to the printer at the beginning of the print job. The font file may be in PFA or PFB format.

The font is reencoded as specified in encoding-file, if specified. Each line in encoding-file should consist of a PostScript character name and a decimal encoding value (between 0 and 255), separated by white space. Blank lines and comments introduced by ‘#’ are also allowed.

The files specified on these options are located as follows. If the file name begins with ‘/’, then it is taken as an absolute path. Otherwise, PSPP searches its configuration path for the specified name prefixed by psfonts/ (see File locations).

Default: proportional font Times-Roman.afm, emphasis font Times-Italic.afm, fixed-pitch font Courier.afm.

font-size=font-size
Sets the size of the default fonts, in thousandths of a point. Default: 10000 (10 point).
line-gutter=dimension
Sets the width of white space on either side of lines that border text or graphics objects. See Dimensions. Default: 1pt.
line-spacing=dimension
Sets the spacing between the lines in a double line in a table. Default: 1pt.
line-width=dimension
Sets the width of the lines used in tables. Default: 0.5pt.