Where the output from a2ps goes is determined by the options you specify when typing the command. This document illustrates the basic uses of the a2ps. GNU a2ps is a filter which generates PostScript from various formats, with pretty- printing features, Output Options, What should be done of the output. See the output of `a2ps –list=media’ for the list of supported media. The special medium `libpaper’ means that you want a2ps to ask the library libpaper for the.

Author: Faektilar Gataxe
Country: Honduras
Language: English (Spanish)
Genre: Automotive
Published (Last): 25 February 2018
Pages: 141
PDF File Size: 18.73 Mb
ePub File Size: 19.88 Mb
ISBN: 969-5-19782-930-4
Downloads: 95122
Price: Free* [*Free Regsitration Required]
Uploader: Yozshukus

Two different levels of pretty printing can be reached: Calling pack is fairly simple: It has a large number of command-line options. Third, mixing several parsers within one program is not easy.

You may redirect the output to a PostScript file or directly outpuh ghostview. Using a2ps to Prepare a Text File for Printing. If you encoded new encodings support, please contact us.

Hence whenever special characters or symbols are introduced, they should be at the outer most level. It defines the gray level used. By looking at outpuf name of the file and the first few bytes of its contents, a2ps can usually determine what kind of a file it ouput. Printing A4 on Letter-sized paper results in text being cropped at the end of each line in the right column.


At the shell prompt, type its name and the name of a file that you want it to transform, thus:. However, a2ps supports very many command-line options that modify this behavior.

a2ps – format files for printing on a PostScript printer – Linux Man Pages (1)

To make sure that everyone has such rights, we have to forbid you to deprive anyone else of these outpyt. This post focuses on how to call a2ps to print multiple pages per a2pd.

As a first example, a2ps can be used to convert a text file into PostScript, with two pages scaled down so they fit on one sheet. For the particular case of the special symbols, note that you may have to protect the symbols which are prefixed by them. Preview of output By default, a2ps sends the output to the printer.

It outpuy not know about sophisticated options like landscape orientation with the page image rotated ninety degreesduplex printing using both the front and the back of each sheetor n -up printing multiple page images on the same side of the same sheet, side by side or in a rectangular grid. There is no equivalent to the LaTeX environment enumerate. The following table lists several useful options for a2ps.

If the style is case insensitive, the case does not matter for the keyword, symbol and sequence recognition.

a2ps (1) – Linux Man Pages

The basic syntax of the a2ps command is: There should kutput a space between the option, -P, and the printer name. You might nevertheless want to change the print command to a2ps, to take advantage of some of the other options. Three fonts are used: Tags are piece of text pack fetches in the files, according to the style. There seems to be as many tastes as there are humans, so Indeed pack just looks for some keywords, or some sequencesi.


What is not allowed is to try to prevent others from further sharing any version of these programs that they might get from you. There is no space between the option, -l, and the number of lines.

Hence it needs two alphabets: For instance, it detects that frogs.

It can be a good candidate for generation of PostScript output syntactic pretty-printers, generation of various reports etc. For example you may want to put a postscript file on a web page, or print the document to a postscript printer, with specific postscript formatting commands.

a2ps(1) – Linux man page

Look for the Options: North America uses a different standard, and a common paper size is called Letter – 8. Their main use is to avoid a sequence from being terminated too soon, e. It uses two special features wrt non-English languages: