an introduction to the use of the a2ps print filter, for users of the Mathematics Local-Area Network at Grinnell College. @macro pack a2ps. @dircategory Printing utilities @direntry * a2ps:: ASCII to PostScript converter * PreScript: (a2ps) PreScript Input language. By default a2ps tries to put 2 pages on each sheet, this works best side-by-side and landscape, even if you rotate the page a2ps still tries to.

Author: Bat Zulkiran
Country: Canada
Language: English (Spanish)
Genre: Photos
Published (Last): 8 June 2004
Pages: 398
PDF File Size: 10.19 Mb
ePub File Size: 18.90 Mb
ISBN: 713-6-21096-438-5
Downloads: 71921
Price: Free* [*Free Regsitration Required]
Uploader: Yozshulrajas

You may skip this section if you don’t care how pack does this, and if you don’t expect to implement new styles. The a2pps and enscript commands are both intended to write PostScript files which is the meaning of the ‘ps’ letters in a2ps.

For instance, it detects that frogs. Thomas Baruchel 4, 2 16 Fourth, we did not feel the need for such a powerful tool: There should be a space between the option, -P, and the printer name. Many contributions changes, fixes, ideas were done by a2ps users in order to improve it. 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.

How can I print a2ps a file –portrait without being all squished? Read the man page if you want to print double-sided, or you want to number each line in the output.


Sign up or log in Sign up using Google. But we need in urgency small pieces of information: Sign up or log in Sign up using Google. All other lines have the format:. 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 printt approved by the Foundation.

creating pdfs with a2ps

If the width is negative, the value will be printed left-justified. A closing marker may require to end on end-of-line. If you want to focus rather on the idea of directly create PDF documents, there are some more recent alternatives. A new version was written in C by Miguel Santana for improve speed execution and portability.

If you are happy with the output of a2ps and want to convert it to PDF format, you have to convert the Postscript output itself to PDF 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 w2ps the print job, and a a2pa number.


To create a PostScript output file, and open it using ghostview: Compared to the previous versions, pack version 4. If the style is case insensitive, the case does not matter for the keyword, symbol and sequence recognition.

Headers, footers, titles and the water mark are strings in which some meta sequences are later replaced by their actual values.

There is also a u2ps utility requiring Perl and GhostScript that may do as well. By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

Linux – Command a2ps For PDF File – Stack Overflow

The following table lists several useful options for a2ps. Valid shortcuts are -1 to To print a text file named a.

Tags are piece of text pack fetches in the files, according to the style. They need not to be preceded and followed by characters belonging to the alphabet. This order must be taken into account for some meta sequences e.

Post as a guest Name. Printing using the a2ps command. Gilles k