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: Zuran Diran
Country: Switzerland
Language: English (Spanish)
Genre: Career
Published (Last): 10 October 2010
Pages: 185
PDF File Size: 11.95 Mb
ePub File Size: 3.96 Mb
ISBN: 454-3-95295-268-2
Downloads: 73186
Price: Free* [*Free Regsitration Required]
Uploader: Moogucage

The corresponding short option takes no arguments, but corresponds to a positive answer. 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.

Currently I don’t know how to do that, but ogonkiky may be of valuable help. To be recognized, both need to start by a character in the first alphabet and to be immediately followed by a character which does not belong to the second alphabet.

Third, mixing several parsers within one program is not easy.

University of Manitoba – Information Services and Technology – Printing using the a2ps command

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 file to PostScript, and automatically expand a compressed.

In Unix the a2ps command reads a text or ascii file, generates postscript from it, and sends it to a postscript printer, a file, or into another Uotput command.

Otherwise a2ps defaults to landscape mode if there is a space after the -l. A new version was written in C by Miguel Santana for improve speed execution and portability. Look for the Options: The statusdict is a special storage entity in PostScript called outptu dictionnaryin which some variables and operators determine the behavior of the printer. To create a PostScript output file, and open it using ghostview: For the particular case of the special symbols, note that you may have to protect the symbols which are prefixed by them.


Their main use is to avoid a sequence from being terminated too soon, e. These are a2pe options through which you may define the information you want to see all around the pages. This a2pe describes pack version 4.

a2ps – format files for printing on a PostScript printer – Linux Man Pages (1)

By default, outpu file begins printing on a outptu sheet “file alignment”. Many contributions changes, fixes, ideas were done by a2ps users in order to improve it. Specify the number of lines per page where num is a number greater than Hence whenever special characters or symbols are introduced, they should be at the outer most level.

This post focuses on how to call a2ps to print multiple pages per sheet. PreScript and pack can be used for one-the-fly formating. To exit gsenter Ctrl – C.

Preview of output By default, a2ps sends the output to the printer. You might nevertheless want to change the print command to a2ps, to take advantage of some of the other options. Why not having used yacc and such There are several reasons why we out;ut not to use grammars to parse the files.

General Purpose PostScript Generating Utility

Newer Post Older Post Home. The latest versions may be found on decrease order of service quality: It is for the same reason that you outpuy expect pack to highlight the function definitions in C. There is a general mechanism to avoid special sequences from being interpreted: Take the output of a2ps and convert it into your printer’s language by entering:.

Multiple files a2ps also supports multiple input files.

This schema seems to us a good compromise. 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.

The problem with this approach is that a lot more than just messages and time information is affected: To be able to define new style sheets one needs GNU m4.


Empty cells in the layout are not filled. You must make sure that they, too, receive or can get the source code. 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. Learn about these in the manual page of a2ps or read the full documentation of a2ps as an info page.

Syntactic limits pack is not a powerful syntactic ouhput 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.

Reformatting PostScript with psutils.

Moreover, its size would have ten times what it is. 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 2aps button, and editing either or both of the text fields labelled Text print command and PostScript print command to contain a ouptut for an a2ps command line, such as.

a2ps(1) – Linux man page

Some other programs — browsers, word processors, mailers — allow you to specify the command line that is invoked when you ask for a document to be printed. Nevertheless, here are some tips on how to design your PostScript styles. For example you may want to put a postscript file on a web page, or print the document to a postscript printer, with specific postscript formatting commands.