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.
|Published (Last):||6 April 2012|
|PDF File Size:||18.48 Mb|
|ePub File Size:||5.97 Mb|
|Price:||Free* [*Free Regsitration Required]|
The order in which you define the elements of a category but the sequences does not matter.
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. Currently pack support the following meta sequences: This can be achieved with the command:.
Printing with a2ps
To make sure that everyone has such rights, we have to forbid you to deprive anyone else of outpuf rights. 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: This post focuses on how to call a2ps to print multiple pages per sheet. The output of a2ps can then a2px displayed under X with. 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.
Outpuf are two PostScript instructions you might want to use in your new PostScript prologue: This style also suits news files.
It would be great if pack could easily print files written in ISO Latin 2. Newer Post Older Post Home. Moreover, since pack is specially devoted to listings, only Courier, which is fix sized, make sense as a outpur font.
General Purpose PostScript Generating Utility
The a2ps program is a powerful, versatile tool that lets you convert simple text files into high-quality PostScript output. But since pack sorts them at run time, it may save time if the alphabetical C -order is more or less followed.
You may skip this section if you don’t care how pack does this, and if you don’t expect to implement new styles. This document describes pack version 4. Other categories are not concerned by case sensitivity. If you encoded new encodings support, please contact a2sp.
Description pack formats named files for printing in a PostScript printer; if no file is given, pack reads from the standard input. The following table lists several useful options for a2ps. Here after bool stands for boolean. Escapes are immediately copied when found in a sequence. Wednesday, January 22, Print text files with multiples pages per sheet. The main advantages for using PreScript are: A closing marker may require to end on end-of-line.
Printing using the a2ps command. One common way to run a2ps is from a shell in a terminal emulator. You must make sure that they, too, receive or can get the source code. North America uses a different standard, and a common paper size is called Letter – 8. The format used is nice and compact: Some LaTeX kutput have no equivalent in PreScript outut, but are simply skipped at compilation iutput if immediately followed by an end-of-line: When automatic pretty-printing is enabled, first pack calls file to see whether the language is recognizable.
a2ps(1) – Linux man page
These two are provided in the case pack would be used by the print service: The -l option in the print command explicitly tells the printer to interpret 2aps input as postscript, and not to print out the postscript as text some postscript printers accept text directly.
Third, mixing several parsers ouhput one program is not easy. Preview of output By default, a2ps sends the output to the printer. For instance, it detects that frogs. However, a2ps supports very a2pss command-line options that modify this behavior. In the above command, specify your own driver parameters under driverparameters as described in the previous section.
Sometimes you want to override that behavior in order to preview the output. Where the output from a2ps goes is determined by the options you specify when typing the command.
However, display is a special name to redirect output to ghostview. Posted by Peter Leung.
Reformatting PostScript with psutils. From that version, Akim Demaille generalized the pretty-printing capabilities, implemented more languages support, and quite a lot other things. There is a couple of things to know about the process. This conversion can be achieved with a2ps a2ps package.
There is no way in PreScript to get an automatic numbering. In this mode, some keywords are replaced by a Symbol character which best represents them. Fourth, we did not feel the need for such outpht powerful tool: 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. Nevertheless, a2pe are some tips on how to design your PostScript styles.
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.