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 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.019.
.TH A2PS "1" "December 2007" "GNU a2ps 4.14" FSF
.SH NAME
a2ps \- format files for printing on a PostScript printer
.SH SYNOPSIS
.B a2ps
[\fIOPTION\fR]... [\fIFILE\fR]...
.SH DESCRIPTION
." Add any additional description here
.PP
Convert FILE(s) or standard input to PostScript. By default, the output
is sent to the default printer. An output file may be specified with \fB\-o\fR.
.PP
Mandatory arguments to long options are mandatory for short options too.
Long options marked with * require a yes/no argument, corresponding
short options stand for `yes'.
.SS "Tasks:"
.TP
\fB\-\-version\fR
display version
.TP
\fB\-\-help\fR
display this help
.TP
\fB\-\-guess\fR
report guessed types of FILES
.TP
\fB\-\-which\fR
report the full path of library files named FILES
.TP
\fB\-\-glob\fR
report the full path of library files matching FILES
.TP
\fB\-\-list\fR=\fIdefaults\fR
display default settings and parameters
.TP
\fB\-\-list\fR=\fITOPIC\fR
detailed list on TOPIC (delegations, encodings, features,
variables, media, ppd, printers, prologues, style-sheets,
user-options)
.PP
After having performed the task, exit successfully. Detailed lists may
provide additional help on specific features.
.SS "Global:"
.TP
\fB\-q\fR, \fB\-\-quiet\fR, \fB\-\-silent\fR
be really quiet
.TP
\fB\-v\fR, \fB\-\-verbose\fR[=\fILEVEL\fR]
set verbosity on, or to LEVEL
.TP
\fB\-=\fR, \fB\-\-user\-option\fR=\fIOPTION\fR
use the user defined shortcut OPTION
.TP
\fB\-\-debug\fR
enable debugging features
.TP
\fB\-D\fR, \fB\-\-define\fR=\fIKEY[\fR:VALUE]
unset variable KEY or set to VALUE
.SS "Sheets:"
.TP
\fB\-M\fR, \fB\-\-medium\fR=\fINAME\fR
use output medium NAME
.TP
\fB\-r\fR, \fB\-\-landscape\fR
print in landscape mode
.TP
\fB\-R\fR, \fB\-\-portrait\fR
print in portrait mode
.TP
\fB\-\-columns\fR=\fINUM\fR
number of columns per sheet
.TP
\fB\-\-rows\fR=\fINUM\fR
number of rows per sheet
.TP
\fB\-\-major\fR=\fIDIRECTION\fR
first fill (DIRECTION=) rows, or columns
.TP
\fB\-1\fR, \fB\-2\fR, ..., \fB\-9\fR
predefined font sizes and layouts for 1.. 9 virtuals
.TP
\fB\-A\fR, \fB\-\-file\-align\fR=\fIMODE\fR
align separate files according to MODE (fill, rank
page, sheet, or a number)
.TP
\fB\-j\fR, \fB\-\-borders\fR*
print borders around columns
.TP
\fB\-\-margin\fR[=\fINUM\fR]
define an interior margin of size NUM
.PP
The options \fB\-1\fR.. \fB\-9\fR affect several primitive parameters to set up predefined
layouts with 80 columns. Therefore the order matters: `-R \fB\-f40\fR \fB\-2\fR' is
equivalent to `-2'. To modify the layout, use `-2Rf40', or compose primitive
options (`--columns', `--font-size' etc.).
.SS "Virtual pages:"
.TP
\fB\-\-line\-numbers\fR=\fINUM\fR
precede each NUM lines with its line number
.TP
\fB\-C\fR
alias for \fB\-\-line\-numbers\fR=\fI5\fR
.TP
\fB\-f\fR, \fB\-\-font\-size\fR=\fISIZE\fR
use font SIZE (float) for the body text
.TP
\fB\-L\fR, \fB\-\-lines\-per\-page\fR=\fINUM\fR
scale the font to print NUM lines per virtual
.TP
\fB\-l\fR, \fB\-\-chars\-per\-line\fR=\fINUM\fR
scale the font to print NUM columns per virtual
.TP
\fB\-m\fR, \fB\-\-catman\fR
process FILE as a man page (same as \fB\-L66\fR)
.TP
\fB\-T\fR, \fB\-\-tabsize\fR=\fINUM\fR
set tabulator size to NUM
.HP
\fB\-\-non\-printable\-format\fR=\fIFMT\fR specify how non-printable chars are printed
.SS "Headings:"
.TP
\fB\-B\fR, \fB\-\-no\-header\fR
no page headers at all
.TP
\fB\-b\fR, \fB\-\-header\fR[=\fITEXT\fR]
set page header
.TP
\fB\-u\fR, \fB\-\-underlay\fR[=\fITEXT\fR]
print TEXT under every page
.TP
\fB\-\-center\-title\fR[=\fITEXT\fR]
set page title to TITLE
.TP
\fB\-\-left\-title\fR[=\fITEXT\fR]
set left and right page title to TEXT
.HP
\fB\-\-right\-title\fR[=\fITEXT\fR]
.TP
\fB\-\-left\-footer\fR[=\fITEXT\fR]
set sheet footers to TEXT
.HP
\fB\-\-footer\fR[=\fITEXT\fR]
.HP
\fB\-\-right\-footer\fR[=\fITEXT\fR]
.PP
The TEXTs may use special escapes.
.SS "Input:"
.TP
\fB\-a\fR, \fB\-\-pages\fR[=\fIRANGE\fR]
select the pages to print
.TP
\fB\-c\fR, \fB\-\-truncate\-lines\fR*
cut long lines
.TP
\fB\-i\fR, \fB\-\-interpret\fR*
interpret tab, bs and ff chars
.TP
\fB\-\-end\-of\-line\fR=\fITYPE\fR
specify the eol char (TYPE: r, n, nr, rn, any)
.TP
\fB\-X\fR, \fB\-\-encoding\fR=\fINAME\fR
use input encoding NAME
.TP
\fB\-t\fR, \fB\-\-title\fR=\fINAME\fR
set the name of the job
.TP
\fB\-\-stdin\fR=\fINAME\fR
set the name of the input file stdin
.TP
\fB\-\-print\-anyway\fR*
force binary printing
.TP
\fB\-Z\fR, \fB\-\-delegate\fR*
delegate files to another application
.TP
\fB\-\-toc\fR[=\fITEXT\fR]
generate a table of content
.PP
When delegations are enabled, a2ps may use other applications to handle the
processing of files that should not be printed as raw information, e.g., HTML
PostScript, PDF etc.
.SS "Pretty-printing:"
.TP
\fB\-E\fR, \fB\-\-pretty\-print\fR[=\fILANG\fR]
enable pretty-printing (set style to LANG)
.TP
\fB\-\-highlight\-level\fR=\fILEVEL\fR
set pretty printing highlight LEVEL
LEVEL can be none, normal or heavy
.TP
\fB\-g\fR
alias for \fB\-\-highlight\-level\fR=\fIheavy\fR
.TP
\fB\-\-strip\-level\fR=\fINUM\fR
level of comments stripping
.SS "Output:"
.TP
\fB\-o\fR, \fB\-\-output\fR=\fIFILE\fR
leave output to file FILE. If FILE is `-',
leave output to stdout.
.TP
\fB\-\-version\-control\fR=\fIWORD\fR
override the usual version control
.TP
\fB\-\-suffix\fR=\fISUFFIX\fR
override the usual backup suffix
.TP
\fB\-P\fR, \fB\-\-printer\fR=\fINAME\fR
send output to printer NAME
.TP
\fB\-d\fR
send output to the default printer
(this is the default behavior)
.SS "PostScript:"
.TP
\fB\-\-prologue\fR=\fIFILE\fR
include FILE.pro as PostScript prologue
.TP
\fB\-\-ppd\fR[=\fIKEY\fR]
automatic PPD selection or set to KEY
.TP
\fB\-n\fR, \fB\-\-copies\fR=\fINUM\fR
print NUM copies of each page
.TP
\fB\-s\fR, \fB\-\-sides\fR=\fIMODE\fR
set the duplex MODE (`1' or `simplex',
`2' or `duplex', `tumble')
.TP
\fB\-S\fR, \fB\-\-setpagedevice\fR=\fIK[\fR:V]
pass a page device definition to output
.TP
\fB\-\-statusdict\fR=\fIK[\fR:[:]V]
pass a statusdict definition to the output
.TP
\fB\-k\fR, \fB\-\-page\-prefeed\fR
enable page prefeed
.TP
\fB\-K\fR, \fB\-\-no\-page\-prefeed\fR
disable page prefeed
.PP
By default a2ps is tuned to do what you want to, so trust it. To pretty
print the content of the `src' directory and a table of content, and send the
result to the printer `lw',
.IP
\f(CW$ a2ps -P lw --toc src/*\fR
.PP
To process the files `sample.ps' and `sample.html' and display the result,
.IP
\f(CW$ a2ps -P display sample.ps sample.html\fR
.PP
To process a mailbox in 4 up,
.IP
\f(CW$ a2ps -=mail -4 mailbox\fR
.PP
To print as a booklet on the default printer, which is Duplex capable,
.IP
\f(CW$ a2ps -=book paper.dvi.gz -d\fR
.PP
News, updates and documentation: visit http://www.gnu.org/software/a2ps/.
.SH AUTHOR
Written by Akim Demaille, Miguel Santana.
.SH "REPORTING BUGS"
Report bugs to <bug-a2ps@gnu.org>.
.SH COPYRIGHT
Copyright \(co 1988-1993 Miguel Santana
.br
Copyright \(co 1995-2000 Akim Demaille, Miguel Santana
.br
Copyright \(co 2007- Akim Demaille, Miguel Santana and Masayuki Hatta
.br
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.SH "SEE ALSO"
.BR a2ps (1),
.BR card (1),
.BR fixps (1),
.BR pdiff (1),
.BR psset (1),
.BR texi2dvi4a2ps (1).
.PP
The full documentation for
.B a2ps
is maintained as a Texinfo manual. If the
.B info
and
.B a2ps
programs are properly installed at your site, the command
.IP
.B info a2ps
.PP
should give you access to the complete manual.
|