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):||15 September 2008|
|PDF File Size:||18.5 Mb|
|ePub File Size:||16.49 Mb|
|Price:||Free* [*Free Regsitration Required]|
On failure, plain style is used. Fourth, we did not feel the need for such a powerful tool: A marker is a fixed string. You must make sure that they, too, receive or can get the source code.
Working with a2ps
Three fonts are used: If you need to deal with several various fonts, then GNU enscript is exactly the tool you need. This order must be taken into account for some meta sequences e. This program is a great find for me. If the command uses an argument, it is given between curly braces with no spaces between the command name and the argument.
Moreover, since pack is specially devoted to listings, only Courier, which is fix sized, make sense as a base font.
It uses two special features wrt non-English languages: The problem with this approach is that a lot more than just messages and time information is affected: A symbol, when recognized, is replaced by the corresponding character in the symbol font.
There outpuh be a space between the option, -P, and the printer name.
a2ps, version 4.7.20
Syntactic limits pack is not a powerful syntactic pretty-printer: The statusdict is a special storage entity in PostScript called a dictionnaryin which some variables and operators determine the behavior of the printer.
To outpu 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.
A22ps all level 2 interpreters support page device, they do not have to support all page device options.
If the width is negative, the value will be printed left-justified. Otherwise, the suffix of the file is compared with every name and abbreviation. The latest versions may be found on decrease order of service quality: But since pack sorts them at run time, it may save time if the alphabetical C -order is more or less followed.
Their main use is to avoid a otuput from being terminated too soon, e. This can be achieved with the command:. This schema seems to us a good compromise.
So if you just want messages and time format to be localized, then define: Some people helped to the translation: You may skip this section if you don’t care how pack does this, and if you don’t expect to implement new styles. However, the lpr program is rather limited.
Oitput bold sequences, special characters etc. These two are provided in the case pack would be used by the print service: There is a couple of things to know about the process.
University of Manitoba – Information Services and Technology – Printing using the a2ps command
Some LaTeX commands have no equivalent in PreScriptbut are simply skipped at compilation time if immediately followed by an end-of-line: This document was generated on 9 June using the texi2html translator version 1. To print the emacs config file in the above format, any of the following will do: Working with a2ps 6. To install a2ps and gv aka ghostview, which a2ps uses to preview output files: