Previous Next Contents

7. How to obtain an appropriate magic filter

7.1 APS Filter

One of the nicest magic filter packages is aps filter, by Andreas Klemm. The Linux Software Map entry goes something like this:

Begin3
Title:          apsfilter
Version:        4.9.1
Entered-date:   Montag, 10. Juli 1995, 21:22:35 Uhr MET DST
Description:    magicfilter for lpd with auto filetype detection
Keywords:       lpd magicfilter aps apsfilter
Author:         andreas@knobel.GUN.de (Andreas Klemm)
Maintained-by:  sledge@hammer.oche.de (Thomas Bueschgens)
                andreas@knobel.GUN.de (Andreas Klemm)
Primary-site:   sunsite.unc.edu
                /pub/Linux/system/Printing/
                211KB aps-491.tgz
Original-site:  ftp-i2.informatik.rwth-aachen.de
                /pub/Linux/pak/APSfilter/aps-491.tgz
Platforms:      C-Compiler, gs Postscript emulator, pbmutils
Copying-policy: GPL
End
APS filter installs as an if filter for a print queue, and will translate from many common file types into your printer's command set. It understands, for example, text, PostScript, dvi, gif, and others.

7.2 Magic-filter

The magic-filter package, written by B.A.McCawley, works much the same way as does APSfilter, but since it is written in bash, it might be more easy to customize. The LSM entry:

Version: 0.4 
Description: Bash scripts to simplify the task of configuring lpd to
   auto-detect file types using /etc/magic. (As advertised in the
   printing-HOWTO).
   This package uses existing filters so it only prints file types for
   which one already has filters (or compressed versions
   thereof). Alterative magic filter approches are described in the
   printing-HOWTO.
Keywords: lpd, /etc/magic, printing, filter
Author: B.A.McCauley@bham.ac.uk (Brian McCauley)
Maintained-by: B.A.McCauley@bham.ac.uk
Primary-site: tsx-11.mit.edu pub/linux/sources/usr.bin
              magic-filter-0.4.tar.gz  5709
Copying-policy: GNU GPL

7.3 The other Magicfilter

For maximum confusion, there appear to be two packages named just magic filter out there. (Or are they the same?)

Title:          magicfilter
Version:        1.1b
Entered-date:   04APR95
Description:    A customizable, extensible automatic printer filter.
                Lets you automatically detect and print just about any
                data type you can find a conversion utility for.  This
                filter is written in C and is controlled completely
                from an external printer configuration file.
                This version adds automagic creation of configuration
                files based on the installed software on your system,
                courtesy of GNU Autoconf.
                This version is a bug fix from 1.1/1.1a; filters for
                non-ASCII capable PostScript printers have been added.
Author:         H. Peter Anvin <Peter.Anvin@linux.org>
Primary-site:   sunsite.unc.edu
                53000 /pub/Linux/system/Printing/magicfilter-1.1b.tar.gz
Copying-policy: GPL


Previous Next Contents