a2ps


SUBMITTED BY: Guest

DATE: June 2, 2014, 12:47 p.m.

FORMAT: Text only

SIZE: 7.1 kB

HITS: 5923

  1. NAME
  2. a2ps - format files for printing on a PostScript printer
  3. SYNOPSIS
  4. a2ps [OPTION]... [FILE]...
  5. DESCRIPTION
  6. Convert FILE(s) or standard input to PostScript.
  7. 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'.
  8. Tasks:
  9. --version
  10. display version
  11. --help
  12. display this help
  13. --guess
  14. report guessed types of FILES
  15. --which
  16. report the full path of library files named FILES
  17. --glob
  18. report the full path of library files matching FILES
  19. --list=defaults
  20. display default settings and parameters
  21. --list=TOPIC
  22. detailed list on TOPIC (delegations, encodings, features, variables, media, ppd, printers, prologues, style-sheets, user-options)
  23. After having performed the task, exit successfully. Detailed lists may provide additional help on specific features.
  24. Global:
  25. -q, --quiet, --silent
  26. be really quiet
  27. -v, --verbose[=LEVEL]
  28. set verbosity on, or to LEVEL
  29. -=, --user-option=OPTION
  30. use the user defined shortcut OPTION
  31. --debug
  32. enable debugging features
  33. -D, --define=KEY[:VALUE]
  34. unset variable KEY or set to VALUE
  35. Sheets:
  36. -M, --medium=NAME
  37. use output medium NAME
  38. The default behaviour is to use the locale category LC_PAPER to determine the medium to use. Note that this information is obtained from environment variables which may not be set up in non-interactive environments (such as in a cron job).
  39. -r, --landscape
  40. print in landscape mode
  41. -R, --portrait
  42. print in portrait mode
  43. --columns=NUM
  44. number of columns per sheet
  45. --rows=NUM
  46. number of rows per sheet
  47. --major=DIRECTION
  48. first fill (DIRECTION=) rows, or columns
  49. -1, -2, ..., -9
  50. predefined font sizes and layouts for 1.. 9 virtuals
  51. -A, --file-align=MODE
  52. align separate files according to MODE (fill, rank page, sheet, or a number)
  53. -j, --borders*
  54. print borders around columns
  55. --margin[=NUM]
  56. define an interior margin of size NUM
  57. The options -1.. -9 affect several primitive parameters to set up predefined layouts with 80 columns. Therefore the order matters: `-R -f40 -2' is equivalent to `-2'. To modify the layout, use `-2Rf40', or compose primitive options (`--columns', `--font-size' etc.).
  58. Virtual pages:
  59. --line-numbers=NUM
  60. precede each NUM lines with its line number
  61. -C
  62. alias for --line-numbers=5
  63. -f, --font-size=SIZE
  64. use font SIZE (float) for the body text
  65. -L, --lines-per-page=NUM
  66. scale the font to print NUM lines per virtual
  67. -l, --chars-per-line=NUM
  68. scale the font to print NUM columns per virtual
  69. -m, --catman
  70. process FILE as a man page (same as -L66)
  71. -T, --tabsize=NUM
  72. set tabulator size to NUM
  73. --non-printable-format=FMT specify how non-printable chars are printed
  74. Headings:
  75. -B, --no-header
  76. no page headers at all
  77. -b, --header[=TEXT]
  78. set page header
  79. -u, --underlay[=TEXT]
  80. print TEXT under every page
  81. --center-title[=TEXT]
  82. set page title to TITLE
  83. --left-title[=TEXT]
  84. set left and right page title to TEXT
  85. --right-title[=TEXT]
  86. --left-footer[=TEXT]
  87. set sheet footers to TEXT
  88. --footer[=TEXT]
  89. --right-footer[=TEXT]
  90. The TEXTs may use special escapes.
  91. Input:
  92. -a, --pages[=RANGE]
  93. select the pages to print
  94. -c, --truncate-lines*
  95. cut long lines
  96. -i, --interpret*
  97. interpret tab, bs and ff chars
  98. --end-of-line=TYPE
  99. specify the eol char (TYPE: r, n, nr, rn, any)
  100. -X, --encoding=NAME
  101. use input encoding NAME
  102. -t, --title=NAME
  103. set the name of the job
  104. --stdin=NAME
  105. set the name of the input file stdin
  106. --print-anyway*
  107. force binary printing
  108. -Z, --delegate*
  109. delegate files to another application
  110. --toc[=TEXT]
  111. generate a table of content
  112. 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.
  113. Pretty-printing:
  114. -E, --pretty-print[=LANG]
  115. enable pretty-printing (set style to LANG)
  116. --highlight-level=LEVEL
  117. set pretty printing highlight LEVEL LEVEL can be none, normal or heavy
  118. -g
  119. alias for --highlight-level=heavy
  120. --strip-level=NUM
  121. level of comments stripping
  122. Output:
  123. -o, --output=FILE
  124. leave output to file FILE. If FILE is `-', leave output to stdout.
  125. --version-control=WORD
  126. override the usual version control
  127. --suffix=SUFFIX
  128. override the usual backup suffix
  129. -P, --printer=NAME
  130. send output to printer NAME
  131. -d
  132. send output to the default printer
  133. PostScript:
  134. --prologue=FILE
  135. include FILE.pro as PostScript prologue
  136. --ppd[=KEY]
  137. automatic PPD selection or set to KEY
  138. -n, --copies=NUM
  139. print NUM copies of each page
  140. -s, --sides=MODE
  141. set the duplex MODE (`1' or `simplex', `2' or `duplex', `tumble')
  142. -S, --setpagedevice=K[:V]
  143. pass a page device definition to output
  144. --statusdict=K[:[:]V]
  145. pass a statusdict definition to the output
  146. -k, --page-prefeed
  147. enable page prefeed
  148. -K, --no-page-prefeed
  149. disable page prefeed
  150. 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',
  151. $ a2ps -P lw --toc src/*
  152. To process the files `sample.ps' and `sample.html' and display the result,
  153. $ a2ps -P display sample.ps sample.html
  154. To process a mailbox in 4 up,
  155. $ a2ps -=mail -4 mailbox
  156. To print as a booklet on the default printer, which is Duplex capable,
  157. $ a2ps -=book paper.dvi.gz -d
  158. AUTHOR
  159. Written by Akim Demaille, Miguel Santana.
  160. REPORTING BUGS
  161. Report bugs to <bug-a2ps@gnu.org>.
  162. COPYRIGHT
  163. Copyright © 1988-1993 Miguel Santana
  164. Copyright © 1995-2000 Akim Demaille, Miguel Santana
  165. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  166. SEE ALSO
  167. a2ps(1), card(1), fixps(1), pdiff(1), psset(1), texi2dvi4a2ps(1).
  168. The full documentation for a2ps is maintained as a Texinfo manual. If the info and a2ps programs are properly installed at your site, the command
  169. info a2ps
  170. should give you access to the complete manual.

comments powered by Disqus