1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
A2PS(1L) Misc. Reference Manual Pages A2PS(1L)
NNNNAAAAMMMMEEEE
a2ps - formats an ascii file for printing on a postscript
printer
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
aaaa2222ppppssss [ gggglllloooobbbbaaaallll ooooppppttttiiiioooonnnnssss ] [ ppppoooossssiiiittttiiiioooonnnnaaaallll ooooppppttttiiiioooonnnnssss ] [ _f_i_l_e_1 [
ppppoooossssiiiittttiiiioooonnnnaaaallll ooooppppttttiiiioooonnnnssss ] ] _f_i_l_e_2 ... ] ]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_a_2_p_s formats each named file for printing in a postscript
printer; if no file is given, _a_2_p_s reads from the standard
input. The output is sent to the printer or to stdout or to
a file. The format used is nice and compact: normally two
pages on each physical page, borders surrounding pages,
headers with useful information (page number, printing date,
file name or supplied header), line numbering, keyword
highlighting, symbol substitution etc. This is very useful
for making archive listings of programs.
GGGGlllloooobbbbaaaallll ooooppppttttiiiioooonnnnssss
Global options offered by _a_2_p_s are the following:
----???? ----hhhh Print usage information.
----aaaa Use alternative paper size. In general defined to be
US letter. (see -V).
----bbbb Force printing binary files. By default, binary files
printing is stopped before second page (see -nb
option).
----cccc Compact mode for a sequence of files. This option
allows the printing of two files in the same physical
page: last page of the first file in the left (or up)
side and first page of the second file in the right
(or down) side. This option is valid only for twinpage
mode (two pages per physical page).
----ffff Fold lines too large to be printed inside the borders
(default option). Max line size depends on format and
font size used and whether line numbering has been
suppressed.
----hhhh Print usage information.
----IIII_f_i_l_e
Use the specified file as the postscript prologue for
a2ps.
----iiii Interpret TAB, BS and FF characters (default option).
TAB is replaced by enough spaces to reach next tab
stop while BS and FF have their meanings.
SunOS 5.5 Last change: 9 August 1996 1
Some weird characters that exists out there are:
- O plus: o+ and +o
- Copyright: cO
- Plus or minus: +_
- Greater than or equal to: ~>_
- Less than or equal to: ~<_
- Another form of u_n_d_e_r_l_i_n_i_n_g_._
|