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: Shaktikasa Gardagis
Country: Mayotte
Language: English (Spanish)
Genre: Video
Published (Last): 10 December 2006
Pages: 161
PDF File Size: 1.90 Mb
ePub File Size: 6.38 Mb
ISBN: 172-9-60697-523-1
Downloads: 85512
Price: Free* [*Free Regsitration Required]
Uploader: Kalkree

You may redirect the output to a PostScript file or directly to ghostview.

Printing with a2ps

You can control the file alignment using -A parameter. The order in which you define the elements of a category but the sequences does not matter.

If these programs are modified by someone else and ojtput on, we want their recipients to know that what they have is not what we distributed, so that any problems introduced by others will not reflect on our reputation.

Other categories are not concerned by case sensitivity. Printing using the a2ps command. There seems to be as many tastes as there are humans, so Hence whenever special characters or symbols are introduced, they should be at the outer most level.

a2ps (1) – Linux Man Pages

It can be a good candidate for generation of PostScript output syntactic pretty-printers, generation of various reports etc. Outpht looking at the name of the file and the first few bytes of its contents, a2ps can usually determine what kind of a file it is.


Three fonts are used: It is also possible to specify several closing markers, just by putting them one after the other, for instance taken for the ada style sheet: At the shell prompt, type its name and the name of a file that you want it to transform, thus:.

Syntactic limits pack is not a powerful syntactic pretty-printer: When printing a human file only English may be supportedspelling should be checked. Keywords and regular symbols A keyword if recognized, is just written in a special font. To exit gsenter Ctrl – C. Many new features and improvements have been added since this first version.

To print a text file named a.

I had been using lpr to print text files from the command line, but the font was too big which made the hardcopy look terrible. So if you just want messages and time format to be localized, then define: Indeed pack just looks for some keywords, or some sequencesi.

By default, each file begins printing on a new sheet “file alignment”. The main limit on PreScript is that no command can be used inside another command. Ap2s is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.

The -l option in the print command explicitly tells the printer to interpret the input as postscript, and not to print out the postscript as text some postscript printers accept text directly. If file alignment is filla2ps prints a file beginning in the next available cell, leaving no empty cell in between it and the previous file. Refer to the documentation of your printer for supported options. Otherwise a2ps defaults to landscape mode if there is a space after the -l.


a2ps ascii to PostScript converter, and pretty printer

It is considered as a2pss i. In Unix the a2ps command reads a text or ascii file, generates postscript from it, and sends it to a postscript printer, a file, or into another Unix command.

For the particular case of the special symbols, note that you may have to protect the symbols which are prefixed by them. The basic command for sending a file to a MathLAN printer is lprwith or without a command-line option -Pduerer-Ppacioli-Pescher-Pmoxonor -Ptory to specify a printer. This document deals only with a few particularly useful ones; for a full list, type. The latest versions may be found on decrease order of service quality: Wednesday, January 22, Print text files with multiples pages per sheet.

There is no equivalent to the LaTeX environment enumerate. This is very useful for making archive listings of programs.

Sometimes you want to override that behavior in order to preview the output. Their main use is to avoid a sequence from being terminated too soon, e. It defines the gray level used. If you encoded new encodings support, please contact us. To install a2ps and gv aka ghostview, which a2ps uses to preview output files: