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: Kaziktilar Kazragore
Country: Brazil
Language: English (Spanish)
Genre: Software
Published (Last): 21 February 2007
Pages: 230
PDF File Size: 15.89 Mb
ePub File Size: 17.95 Mb
ISBN: 891-8-95357-600-6
Downloads: 79212
Price: Free* [*Free Regsitration Required]
Uploader: Gashicage

To print the emacs config file in the above format, any of the following will do: There are many reasons why you may want to convert a text file into postscript. For instance, in the exmh mail agent, the print command can be changed by moving the mouse pointer onto the button labelled Preferencesclicking the left mouse button, moving the mouse pointer onto the button labelled Printing in the Preferences window that appears, clicking the left mouse button, and editing either or outupt of the text fields labelled Text print command and PostScript print command to contain a template for an a2ps command line, such as.

Two different levels of pretty ouput can be reached: There is no equivalent to the LaTeX environment enumerate. 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: There is no space between the option, -l, and the number of lines.


This document was generated on 9 June using the texi2html translator version 1. You must make sure that they, too, receive or can get the source code.

a2ps (1) – Linux Man Pages

To be able to define new style sheets one needs GNU m4. North America uses a different standard, and a common paper size is called Letter – 8. Working with Ghostscript 6.

A new version was written in C by Miguel Santana for improve speed execution and portability. Outpht the latest known version from Miguel Santana 4. Currently I don’t know how to do that, but ogonkiky may be of valuable help.

Other categories are not concerned by case sensitivity. If you need to deal with several various fonts, then GNU enscript is exactly the tool you need. By default, a2ps produces single-sided sheets in portrait orientation; if the file being printed is a text file, a2ps draws a border around the body of each page and adds a header and a footer, giving the name and last-modification date of the file, the name of the person who printed it, the date of the print job, and a page number.

For instance, it detects that frogs. What you are reading comes from this initial Texinfo file.

Escapes are immediately copied when found in a sequence. Or access this man pages on-line as a web page: To print a text file named a.

Sometimes you want to override that behavior in order to preview 2aps output. These are the options through which you may define the information you want to see all around the pages.

a2ps(1) – Linux man page

When pretty-printing, syntax errors should be underlined. On failure, plain style is used.


As a first example, a2ps can be used to convert a text file into PostScript, with two pages scaled down so ouutput fit on one sheet. The a2ps program is a powerful, versatile tool that lets you convert simple text files into high-quality PostScript output.

Printing with a2ps

And last but not least, using a parser putput that the sources are syntactic bug free, which is a strong requirement. To achieve these subtler effects, we need a print filter — a program that applies a transformation to the print job and sends the result to the printer through lpralthough the actual invocation of lpr is usually invisible.

Description pack formats named files for printing in a PostScript printer; if no file is given, pack reads from the standard input.

John David Stone stone cs. These two are provided in the case pack would be used by the print service: The main advantages for using PreScript are: For example you may want to put a postscript file on a2pa web page, or print the document to a postscript printer, with specific postscript formatting commands.

Although all level 2 interpreters support page device, they do not have to support all page device options. Newer Post Older Post Home. Refer to the documentation of your printer for supported options. What is not allowed is to try to prevent others from further sharing any version of these programs that they might get from you.