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.
|Genre:||Health and Food|
|Published (Last):||6 January 2011|
|PDF File Size:||6.33 Mb|
|ePub File Size:||1.1 Mb|
|Price:||Free* [*Free Regsitration Required]|
The format used is nice and compact: Two things are to retain from this: For the particular case of the special symbols, note that you may have to protect the symbols which are prefixed by them.
Syntactic limits pack is not a powerful syntactic pretty-printer: This schema seems a2pz us a good compromise.
What is not allowed is to try to prevent others from further sharing any version of these programs that they might get from you.
Printing with a2ps
A closing marker may require to end on end-of-line. See section Meta sequences for details. For example some printers can print in duplex mode and aps can not.
The problem with this approach is that a lot more than just messages and time information is affected: Known languages pack version 4.
Using a2ps to Prepare a Text File for Manusl. They should be defined in the preamble:. Keywords are written in bold, strings in Times, comments in Italic etc.
If you encoded new encodings support, please contact us. Although all level 2 interpreters support page device, they do not have to support all page device options.
Sequences are string is a string between two markers. In the following is described how the style sheets are defined. Third, mixing several parsers within one program is not easy. 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. Many new features and improvements have been added since this first version. Hence, if one specifies that arguments of those functions should be ignored in the preamble of the LaTeX document, the numbering is emulated.
Only the pure specification is then printed. This is very useful for making archive listings of programs. There is no equivalent to the LaTeX environment enumerate.
General Purpose PostScript Generating Utility
As a first example, a2ps can be used to a2s a text file into PostScript, with two pages scaled down so they fit on one sheet. The latest versions may be found on decrease order of service quality: If the style is case insensitive, the case does not matter for the keyword, symbol and sequence recognition.
Nevertheless, here are some mxnual on how to design your PostScript styles. By default, a2ps manuwl single-sided sheets in mmanual 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.
Fourth, we did not feel the need for such a powerful tool: 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.
And you must tell them their rights. As a2ps is not installed by default, you will normally have to install it yourself. You might nevertheless want to change the print command to a2ps, to take advantage of some of the other options. As rootyou can send the output of Ghostscript directly to the printer without relying on a spooler or any further filtering 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: Escapes are immediately copied when found in a sequence. Indeed pack just looks for some keywords, or some sequencesi. PreScript and a2px can be used for one-the-fly formating.
When automatic pretty-printing is enabled, first pack calls file to see whether the language is recognizable. Verbatims are immediately copied wherever met.