f458a5056a15e35cd74ef68a66f98fda352e7d14
[grml-etc.git] / etc / skel / .a2ps / a2psrc
1 # Filename:      a2psrc
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 ################################################################################
8 # Example:
9 # a2ps -R --highlight-level=heavy --pretty-print -P display --prologue=color * -o filename.ps
10 #
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
16 #
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
21
22 # Default encoding
23   Options: --encoding=latin1
24
25 # Default media
26   Options: --media=A4
27
28 # Two virtual pages per sheet
29   Options: -2
30
31 # By default, single sided printing
32   Options: -s1
33
34 #  Options: -R
35   Options: --highlight-level=heavy
36   Options: --pretty-print
37   Options: --prologue=color
38   Options: -P display
39
40 # Header is the client of the job
41   Options: '--header=%a'
42
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|, |'
46
47 # Right Header is the client of the job
48   Variable: h.header.right %a
49
50 # Center header is the list of the files on this page
51   Variable: h.header.center #!s|$f|, |
52
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|
56
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|
60
61 # Right part of the title is the page number
62 # or tag2 if there is
63   Variable: h.title.right #?2|$t2|$Q|
64
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#|!
68
69 # Center footer is the list of files on this sheet if landscape
70   Variable: h.footer.center #?l|#!s-$f-, -||
71
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|!
75
76 # We want the %%Page comments to be instructive.
77 # There are two predefined choices: #{pl.short} and #{pl.long}
78   PageLabelFormat: #{pl.short}
79
80 ## END OF FILE #################################################################