Next: , Previous: , Up: Command line options   [Contents][Index]


3.1.4 Page Options

This options are related to the content of the virtual pages.

Please note that the options ‘-f’, ‘-L’, ‘-l’, ‘-m’, and ‘-1’ .. ‘-9’ all have an influence on the font size. Only the last one will win (i.e., ‘a2ps -L66 -l80’ is the same as ‘a2ps -l80’).

Option: --line-numbers[=number]

print the line numbers from number lines to number lines. Default is ‘1’.

Option: -C

Alias for ‘--line-numbers=5’.

Option: -f size[unit]
Option: --font-size=size[unit]

scale font to size for body text. size is a float number, and unit can be ‘cm’ for centimeters, ‘points’ for PostScript points, and ‘in’ for inches. Default unit in ‘points’.

To change the fonts used, change the current prologue (see Designing PostScript Prologues.

Option: -l num
Option: --chars-per-line=num

Set the font size so that num columns appear per virtual pages. num is the real number of columns devoted to the body of the text, i.e., no matter whether lines are numbered or not.

Option: -L num
Option: --lines-per-page=num

Set the font size so that num lines appear per virtual pages. This is useful for printing preformatted documents which have a fixed number of lines per page. The minimum number of lines per page is set at 40 and maximum is at 160. If a number less than 40 is supplied, scaling will be turned off.

Option: -m
Option: --catman

Understand UNIX manual output ie: 66 lines per page and possible bolding and underlining sequences. The understanding of bolding and underlining is there by default even if ‘--catman’ is not specified. You may want to use the ‘ul’ prologue (See Input Options, option ‘--prologue’) if you prefer underlining over italics.

If your file is actually a UNIX manual input, i.e., a roff file, then depending whether you left a2ps delegate or not, you will get a readable version of the text described, or a pretty-printed version of the describing file (see Your Delegations).

Option: -T num
Option: --tabsize=num

set tabulator size to num. This option is ignored if --interpret=no is given.

Option: --non-printable-format=format

specify how non-printable chars are printed. format can be

caret

Use classical Unix representation: ‘^A’, ‘M-^B’ etc.

space

A space is written instead of the non-printable character.

question-mark

A ‘?’ is written instead of the non-printable character.

octal

For instance ‘\001’, ‘177’ etc.

hexa

For instance ‘\x01’, ‘\xfe’ etc.

emacs

For instance ‘C-h’, ‘M-C-c’ etc.


Next: Headings Options, Previous: Sheet Options, Up: Command line options   [Contents][Index]