%general-entities; ]> $LastChangedBy$ $Date$ a2ps-&a2ps-version; Introduction to <application>a2ps</application> a2ps is a filter utilitized mainly in the background and primarily by printing scripts to convert almost every input format into PostScript output. The application's name expands appropriately to "all to PostScript". Package information Download (HTTP): Download (FTP): Download size: &a2ps-size; Estimated disk space required: &a2ps-buildsize; Estimated build time: &a2ps-time; Additional downloads International fonts: <application>a2ps</application> dependencies Optional X ( or ), , , or , libpaper, Adobe Reader and Ghostview Installation of <application>a2ps</application> Install a2ps by running the following commands: sed -i -e "s|emacs||" contrib/Makefile.in && sed -i -e "s|/usr/local/share|/usr/share|" configure && sed -i -e "s|char \*malloc ();|/* char *malloc (); */|" \ lib/path-concat.c && ./configure --prefix=/usr \ --sysconfdir=/etc/a2ps --localstatedir=/var \ --enable-shared --with-medium=letter && make && make install Command explanations sed -i -e "s|emacs||" contrib/Makefile.in: This command eliminates the compiling and installing of the Emacs script files. If you have substituted Emacs for Vi as your primary editor, skip this step. sed -i -e "s|/usr/local/share|/usr/share|" configure: This command modifies the configure script to search for Ghostscript fonts at the location where they were installed by the BLFS instructions. sed -i -e "s|char \*malloc ();|/* char *malloc (); */|" \ lib/path-concat.c: This command fixes a build problem with LFS >5.1. --sysconfdir=/etc/a2ps: Configuration data goes to /etc/a2ps instead of /usr/etc. --enable-shared: This switch enables building the dynamic liba2ps library. --with-medium=letter: This switch changes the default paper format of A4 to letter. Installations that utilize A4 would eliminate this switch. Configuring <application>a2ps</application> Config files /etc/a2ps/a2ps.cfg, /etc/a2ps/a2ps-site.cfg Configuration Information Information about configuring a2ps can be found in the comments contained in the above files, and also by running info a2ps. Contents The a2ps package contains a2ps, card, composeglyphs, fixnt, fixps, ogonkify, pdiff, psmandup, psset, texi2dvi4a2ps, liba2ps libraries and filter data. Description a2ps a2ps is a filter, utilized primarily by printing scripts, that converts standard input or supported files to PostScript. card card prints a reference card of a given program's options. composeglyphs composeglyphs creates a composite font program. fixnt fixnt is supposed to fix the problems in the PostScript files generated by the Microsoft PostScript driver under Windows NT (3.5 and 4.0). fixps fixps tries to fix common PostScript problems that break postprocessing. ogonkify ogonkify provides international support for Postscript by performing various munging of PostScript files related to printing in different languages. pdiff pdiff produces a pretty comparison between files. psmandup psmandup tries to produce a version of a given PostScript file to print in manual duplex. psset psset produces a version of a given PostScript file with a protected call to the PostScript operator 'setpagedevice'. Typical use is making a file print duplex, or on the manual tray, etc. texi2dvi4a2ps texi2dvi4a2ps compiles Texinfo and LaTeX files to DVI or PDF