Enscript

From CBLFS
Jump to navigationJump to search
Download Source: http://ftp.gnu.org/gnu/enscript/enscript-1.6.5.1.tar.gz

Introduction to Enscript

GNU Enscript is a free replacement for Adobe's enscript program.

GNU Enscript converts ASCII files to PostScript, HTML, or RTF and stores generated output to a file or sends it directly to the printer. It includes features for `pretty-printing' (language-sensitive code highlighting) in several programming languages.

Enscript can be easily extended to handle different output media and it has many options that can be used to customize printouts.

Project Homepage: http://www.gnu.org/software/enscript/

Dependencies

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc/enscript \
    --localstatedir=/var --with-media=Letter &&
make

Install the package:

make install

Multilib

This package does not provide any libraries so only one installation is needed.

32Bit

Compile the package:

CFLAGS="${BUILD32}" ./configure --prefix=/usr \
    --sysconfdir=/etc/enscript --localstatedir=/var \
    --with-media=Letter &&
make

Install the package:

make install

N32

Compile the package:

CFLAGS="${BUILDN32}" ./configure --prefix=/usr \
    --sysconfdir=/etc/enscript --localstatedir=/var \
    --with-media=Letter &&
make

Install the package:

make install

64Bit

Compile the package:

CFLAGS="${BUILD64}" ./configure --prefix=/usr \
    --sysconfdir=/etc/enscript --localstatedir=/var \
    --with-media=Letter &&
make

Install the package:

make install