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: Juzshura Yozshulmaran
Country: Bahamas
Language: English (Spanish)
Genre: Life
Published (Last): 26 February 2004
Pages: 341
PDF File Size: 13.96 Mb
ePub File Size: 18.83 Mb
ISBN: 292-8-18016-839-5
Downloads: 15321
Price: Free* [*Free Regsitration Required]
Uploader: Dacage

General Purpose PostScript Generating Utility

Working with a2ps 6. I had been using lpr to print text files from the ouutput line, but the font was too big which made the hardcopy look terrible.

Learn about these in the manual page of a2ps or read the full documentation of a2ps as an info page. Many new features and improvements have been added since this first version. There is a general mechanism to avoid special sequences from being interpreted: Look for the Options: Third, mixing several parsers within one program is not easy.

A closing marker may require to end on end-of-line.

In the following is described how the style sheets are defined. This can be achieved with the command:. 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: In Unix the a2ps command reads a text or ascii file, generates postscript from it, and sends it to a postscript printer, a ourput, or into another Unix command.


a2ps(1) – Linux man page

They should be defined in the preamble:. The output of a2ps can then be displayed under X with. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the Foundation.

For a complete list of options, and more information on the a2ps command, type the command:. It would be great if pack could easily print files written in ISO Latin 2. These two are provided in the case pack would be used by the print service: Preview of output By default, a2ps sends the output to the printer.

See section Meta sequences for details. Sometimes you want to override that behavior in order to preview the output.

Read the man ojtput if you want to print double-sided, or you want to number each line in the output. So if you just want messages and time format to be localized, then define: Page device is a PostScript level 2 feature that offers an uniform interface to control printer’s output device.


Working with a2ps

You can control the file alignment using oytput parameter. Outpt file alignment is filla2ps prints a file beginning in the next available cell, leaving no empty cell in between it and the previous file. You might nevertheless want to change the print command to a2ps, to take advantage of some of the other options.

You must make sure that they, too, receive or can get the source code. From that version, Akim Demaille generalized the pretty-printing capabilities, implemented more languages support, and quite a lot other things.

What is not allowed is to try to prevent others from further sharing any version of these programs that they might get from you. For example some printers can print in duplex mode and some can not.

Printing using the a2ps command. This document was generated on 9 June using the texi2html translator version 1. It can be a good candidate for generation of PostScript output syntactic pretty-printers, generation of various reports etc.

Related Posts