November 15, 2020 By admin 0


For a reference manual, see Chapter 3 [Invoking a2ps], page 9. For the definition of some words, see Appendix A [Glossary], page Table of Contents. NAME. a2ps – format files for printing on a PostScript printer. SYNOPSIS. a2ps [OPTIONS] FILES a2ps [OPTIONS] DESCRIPTION. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire.

Author: Nizilkree Gurr
Country: Guinea-Bissau
Language: English (Spanish)
Genre: Politics
Published (Last): 8 October 2009
Pages: 422
PDF File Size: 2.18 Mb
ePub File Size: 20.58 Mb
ISBN: 240-7-78638-478-7
Downloads: 80765
Price: Free* [*Free Regsitration Required]
Uploader: Kagaktilar

Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Working with a2ps 6.

As a first example, a2ps can janual used to convert a text file into PostScript, with two pages scaled down so they fit on one sheet. Syntactic limits pack is not a powerful syntactic pretty-printer: It does not know about sophisticated options like landscape orientation with the page image rotated manyal degreesduplex printing using both the front and the back manjal 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 are two PostScript instructions you might want to use in your new PostScript prologue: Moreover, since pack is specially devoted to listings, only Courier, which is fix sized, make sense as a base font.

If you need to deal with several various fonts, then GNU enscript is exactly the tool you need. But we need in urgency small pieces of information: By 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.

The main limit on PreScript is that no command can be used inside another command.

a2ps(1) – Linux man page

To be able to define new style sheets one needs GNU m4. It would be great if pack could easily print files written in ISO Latin 2.


For the particular case of the special symbols, note that you may have to protect the symbols which are prefixed by them. Verbatims are immediately copied wherever met.

a2ps(1) – Linux man page

A marker is a fixed string. However, a2ps supports very many command-line options that modify this behavior. Keywords and regular symbols A keyword if recognized, is just written in a special font. Two different levels of pretty printing can be reached: Some people helped to the translation: From that version, Akim Demaille generalized the pretty-printing capabilities, mankal more languages support, and quite a lot other things.

It is considered as true i.

The statusdict is a special storage entity in PostScript called a dictionnaryin which nanual variables and operators determine the behavior of the printer. There is a general mechanism to avoid special sequences from being interpreted: Hence, if one specifies that arguments of those functions should be ignored in the preamble of the LaTeX document, the numbering is emulated.

a2ps ascii to PostScript converter, and pretty printer

These two are provided in the case pack would be used by the print service: Escapes are immediately copied when found in a sequence. When automatic pretty-printing is enabled, a2pe pack calls file to see whether the language is recognizable. You might nevertheless want to change the print command to a2ps, to take advantage of some of the other options.

The main feature of pack is its pretty-printing capabilities. It has a large number of command-line options. The output of a2ps can then be displayed under X with. The corresponding short option takes no arguments, but corresponds to a positive answer. Only the pure manuap is then printed.

a2ps, version 4.7.20

So if you just want messages and time format to be localized, then define: To make sure that everyone has such rights, we have to forbid you to deprive anyone else of these rights. The format used is nice and compact: This is very useful for making archive listings of programs. You may skip manuual section if you don’t care how pack does this, and if a2;s don’t expect to implement new styles.


Most of them make lpr the default, but it is often possible to ask for a2ps, with or without command-line options, instead. At the shell prompt, type its name and the name of a file that you want it to transform, thus:.

It was very slow and contained many bugs. If the printout is more than one sheet, hit Enter in the terminal window from which gs was started to scroll down to the next page.

Keywords are written in bold, strings in Times, comments in Italic etc. Compared to the previous versions, pack version 4. 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: Three fonts are used: Please, respect the alphabetical order in which the languages are manial. 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.

Manyal 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 both of the text fields labelled Text print command and PostScript print command to contain a template for an a2ps command line, such as.