1# a2ps-site.cfg -*- Makefile -*- 2# 3# This file is included from a2ps.cfg 4# 5 6# In this file should be defined your specific values you want to keep 7# for other installation (future) installation of a2ps. 8 9################################################################# 10# 1) System dependent parameters # 11################################################################# 12 13# Default encoding 14Options: --encoding=@ENCODING@ 15 16# Default medium 17Options: --medium=@MEDIUM@ 18 19################################################################# 20# 2) Your printers # 21################################################################# 22 23# By default, produce Level 1 PostScript. 24# Currently it only means to consider only the 13 level 1 standard 25# fonts, and not the 35 standard level 2 fonts. 26DefaultPPD: level1 27 28# NOTE: 29# Because sending a file to a printer is system dependent and because 30# this file is meant to be system independent, there are two variables 31# defined in a2ps.cfg you should use here. 32# - #{lp.default} 33# Its value is typically `lp' or `lpr'. 34# - #{lp} 35# Its value is typically `lp -d' or `lpr -P'. Immediately after 36# #{lp} there should be the name of the printer. 37# 38 39### DefaultPrinter 40# DefaultPrinter is the printer which is called upon `a2ps -d'. 41DefaultPrinter: | #{lp.default} 42 43### UnknownPrinter 44# The `UnknownPrinter' is the command used when the user specified 45# the name of the printer (a2ps -P <printer-name>), but <printer-name> 46# is not specified below as a special case. 47# <printer-name> is available here as `#o'. 48UnknownPrinter: | #{lp} #o 49 50### Some special printers. 51# This section is to fill only if you want to tune your system. 52# The entry `UnknownPrinter' is enough to handle any case. 53 54# For instance, I want to specify that arlette is a Level 2 PostScript 55# printer. I specif no command, so the `UnknownPrinter' command will 56# be used. 57#Printer: arlette level2 58 59# dominique is a level 2 PostScript _without_ Duplex support. 60# Here I *want* a special command, not that of the UnknownPrinter. 61# We use the shell script psmandup to simulate Duplex. 62#Printer: dominique level2 | #?d#psmandup -n|## #{lp} dominique 63 64# This is just to show that any command can be used. Instead of 65# printing, the output is piped in `wc'. 66#Printer: wc | wc -l 67 68# You can also save in a file if you wish. 69#Printer: netscape >netscape.ps 70 71# This example uses the fact that `$N' expands in the input file name, 72# so a2ps foo -P gzip will save the output in foo.ps.gz. 73#Printer: gzip | gzip -c > $N.#..gz 74