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: Mazunos Voodookasa
Country: Liechtenstein
Language: English (Spanish)
Genre: Video
Published (Last): 28 March 2004
Pages: 410
PDF File Size: 4.34 Mb
ePub File Size: 13.37 Mb
ISBN: 910-9-83984-373-7
Downloads: 77933
Price: Free* [*Free Regsitration Required]
Uploader: Mehn

Page device is a PostScript level 2 feature that offers an uniform interface to control printer’s output device. All other lines have the format:. 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.

Please, respect the alphabetical order in which the languages are introduced. If these programs are modified by someone else and passed 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. Headers, footers, titles and the water mark are strings in which some meta sequences are later replaced by their actual values.

Only the pure specification is then printed. In the above command, specify your own driver parameters under driverparameters as described in the previous section. This document deals only with a few particularly useful ones; for a full list, type. Two things are to retain from this: 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.

Known languages pack version 4. Tags are piece of text pack fetches in the files, according to the style. This order must be taken into account for some meta sequences e. If you encoded new encodings support, please contact us.

At the shell prompt, type its name and the name of a file that you want it to transform, thus:. When printing a human file only English may be supportedspelling should be checked. The following characters should also be quoted to produce good LaTeX files, but are accepted by PreScript: A new version was written in C by Miguel Santana for improve speed execution and portability.


General Purpose PostScript Generating Utility

Msnual must make sure that they, too, receive or can get the source code. For instance, in mail-folder style, tag 1 is the title of the mail, and tag 2 its author. Three fonts are used: Third, mixing several parsers within one program is not easy. Even portions of this very documentation are taken from the GNU enscript man pages. To exit gsenter Ctrl – C. So if you just want messages and time format to be localized, then define: When pretty-printing, syntax errors should be underlined.

Reformatting PostScript with psutils. It uses two special features wrt non-English languages: Description pack formats named files for printing in a PostScript printer; if no manuzl is given, pack reads from the standard input. It was very slow and contained many bugs. Here after bool stands w2ps boolean.

a2ps ascii to PostScript converter, and pretty printer

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. Nevertheless, here are some tips on how to design your PostScript styles. To be able to define new style sheets one needs GNU m4. As a first example, a2ps can be used to convert a text file into PostScript, with two pages scaled down so they fit on one sheet.

One common way to run a2ps is from a shell manjal a terminal emulator. Indeed pack just looks for some keywords, or some sequencesi. The format used is nice and compact: As for page device, those variables are device dependent: Learn about these in the manual page of a2ps or read the full documentation of a2ps as an info page.

It would be great if pack could easily print files written in ISO Latin 2. However, the lpr program is rather limited. For instance, in the exmh mail agent, the print command can be changed by moving the mouse pointer onto the ,anual 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.


Keywords manaul written in bold, strings in Times, comments in Italic etc. This conversion can be achieved with a2ps a2ps package. The main advantages for using PreScript are: Those three numbers are related to red, green and blue proportions used to designate a color.

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. Since bold sequences, special characters etc.

a2ps(1) – Linux man page

There seems to be as many tastes as there are humans, so Keywords and regular symbols A keyword if recognized, is just written in a special font. Similarly, it will run a file containing Java source code through a Java pretty-printer that italicizes comments and boldfaces keywords automatically, convert a JPEG image manuual to PostScript, and automatically expand a compressed.

The subroutines and source code in the pack package are “free”; this means that everyone is free to use them and free to redistribute them on a free basis. John David Stone stone cs. A symbol, when recognized, is replaced by the corresponding character in the symbol font.