2 # Purpose: config file for a2ps (GNU a2ps 'Anything to PostScript' converter and pretty-printer)
3 # Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
4 # Bug-Reports: see http://grml.org/bugs/
5 # License: This file is licensed under the GPL v2.
6 # Latest change: Sam Jän 29 14:16:59 CET 2005 [mika]
7 ################################################################################
9 # a2ps -R --highlight-level=heavy --pretty-print -P display --prologue=color * -o filename.ps
11 # Define how to send to a printer
12 # (start with `|' to pipe, and `>' to save)
13 # First, the default printer (option -d, no argument)
14 # DefaultPrinter: | lpr
15 # DefaultPrinter: | display
17 # Second, a printer unkown to a2ps (option -P, argument is %s)
18 # UnknownPrinter: | lpr -P %s
19 # Then, special printers you might want to define
20 # Printer: dominique | lp -d dominique
23 Options: --encoding=latin1
28 # Two virtual pages per sheet
31 # By default, single sided printing
35 Options: --highlight-level=heavy
36 Options: --pretty-print
37 Options: --prologue=color
40 # Header is the client of the job
41 Options: '--header=%a'
43 # Name of the document is the list of files
44 # (Don't put too many of them: it breaks some PS interpreters)
45 Options: --title='#10!f|$n|, |'
47 # Right Header is the client of the job
48 Variable: h.header.right %a
50 # Center header is the list of the files on this page
51 Variable: h.header.center #!s|$f|, |
53 # Title of the page is the (short) name of the current file
54 # or the first taged text if there is
55 Variable: h.title.center #?1|$t1|$n|
57 # Left part of the title is the mod. date of the file
58 # or empty is there is a tag2
59 # Variable: h.title.left #?2||$e $T|
61 # Right part of the title is the page number
63 Variable: h.title.right #?2|$t2|$Q|
65 # If in landscape, print date on the left hand side
66 # If portrait, then print date on recto, and sheet # on verso
67 Variable: h.footer.left #?l!%E!#?v|%E|%s./%s#|!
69 # Center footer is the list of files on this sheet if landscape
70 Variable: h.footer.center #?l|#!s-$f-, -||
72 # If in landscape, print date on the right hand side
73 # If portrait, then print date on verso, and sheet # on recto
74 Variable: h.footer.right #?l!%s./%s#!#?v|%s./%s#|%E|!
76 # We want the %%Page comments to be instructive.
77 # There are two predefined choices: #{pl.short} and #{pl.long}
78 PageLabelFormat: #{pl.short}
80 ## END OF FILE #################################################################