completely to www.apsfilter.org
Many thanks to the FreeBSD developer team, Jordan, WC,
who made distribution of apsfilter possible for years.
Changes:
- checksums changed
- Redesign concerning patches to save CVS repository space
remove patches in patches directory completely !
- use PATCHFILES in Makefile instead, which are actually
smaller changes !
o Additional "post-5.4.2 Release" features:
- AppleTalk Remote printer support (via netatalk's pap(1) utility).
Experimental, please test !
- new revised uniprint profiles from Harold Bower <HalBower@worldnet.att.net>
and additionally some new for:
- Epson Stylus 800 (Monochrome) and
- Epson LQ-570/870/1070/1170 24-pin Dot-Matrix
- prevent printing of an empty page when using raw printer, default is off now.
- bugfix: older gs versions (< v6.x) doesn't support "-_", which allows more efficient read operation. The bug prevented apsfilter to work with the
older gs versions.
- bugfix: hpdj (3rd party gs driver) doesn't like the -sBitsPerPixel option. So stripp it off, if using hpdj driver.
- FAQ file cleanups
- better hpdj driver defaults for HP DJ 970 printers
- some cleanups in code when printing PDF files
- and other things ....
if you want apsfilters so called "CLASS support" when suppressing the
printing of banner page.
CLASS support enables you to enter gs driver specific commands
on the command line via lpr's -C option, i.e.:
lpr -C high:presentation file.ps
Normally this only works when you configure lpd to print the banner page.
Only then additional lines are inserted in the print jobs control file.
apsfilters standard printcap installation always uses :sh:,
therefore you need the patch for lpr.c, to write those "CLASS informations"
into the print jobs control file, no matter if :sh: is configured in
printcap or not.
- contains security fixes
- make-release: web page design
- remove note about manually installing manpages on Linux Systems
this is done by SETUP
- new TODO item
- SETUP: order of manpage install paths (Matej Vela)
remote printing with samba was broken because of syntax error in shell.
only occurred when a SMB_PASSWD has been set.
Thanks to Olivier !
Submitted by: Olivier PAGE <olivier@esm2.imt-mrs.fr>
syntax error in SETUP
which is detected by bash2 but not by our shell
So all Linux user trapped over this
result is, that you can't select a printer and loop in printer selection
forever...
+ doesn't work:
+ PRINTER=`awk -F "|" \
^----- missing "
+ "{ if (FNR == $answer ) print \\$2 }" \
+ < $PRINTER_LIST"`
^^----- wrong order
+ works:
+ PRINTER="`awk -F "|" \
^----- o.k.
+ "{ if (FNR == $answer ) print \\$2 }" \
+ < $PRINTER_LIST`"
^^----- o.k.
Is it a bug in our shell ???
Fixes BUG in apsfilter 5.3.0
SETUP: you entered a "printer selection loop" when selecting uniprint
printer
Includes the previous patch for CLASS support and such ...
New features in 5.3.0
=====================
- Major enhancements in SETUP, therefore version bump
- checks your version of ghostscript
- is aware of gs version 5.50 and 6.01 printer drivers
- new driver selection mechanism
- fetches list of available printer driver from file
- you can browse/search this list using more
- you select printer driver by number
- sanity check, if the printer driver is present in your gs binary
- at the end of your selection you get a list of printers
as confirmation, that are supported by your driver selection
- you can repeat this step as often as you like until you
choose a valid printer driver
- After printer driver selection you can as usual print test pages
if you like or repeat the step of selection another driver in this
more user friendly manner.
- upp profile contribution for
Epson LQ-570/870/1070/1170 ESC/P2 24-pin Dot Matrix printer
- 3rd party additional driver for
HP 812C, 815C, 832C, 880C, 882C, 895C, 932C, 970C
http://www.proaxis.com/~mgelhaus/linux/software/hp880c/hp880c.html
- Generic Postscript printer Support
- added more resolutions in SETUP script and apsfilter script
- bugfix: some resolutions were missing in apsfilter script
- Adding driver support information is now more easy, since you only
have to add it to a file setup/printer-<gs-version>
- internal: download page: enhanced make-release script
produces now diffs from every version to latest version
- latest apsfilter patches can be found on download page
- info: new URL -> http://people.freebsd.org/~andreas
- new URL -> http://people.freebsd.org/~andreas
- make-release: generate more diffs (every release to latest) and
patch from latest to head branch
- Added files with an up to date printer list for gs 5.50 and 6.01
SETUP will be modified later...
- devices-5.50 - list of driver options
- devices-6.01 - list of driver options
- printer-5.50 - list of supported printers
- printer-6.01 - list of supported printers
New apsfilter features:
* Security: config files are read using awk, not sourced during runtime
* Complete Windows Remote Printer Support (as Guest user or using real login)
* Complete Unix remote printer support
* Support for different print resolutions (by starting SETUP repeatedly)
and choosing different print resolutions
* A2PS options revamped
* lots of more things... See my homepage, ANNOUNCE file ...
* print margin problem of a2ps fixed
FAQ section gives you a real life example, of how to configure
page margins in /usr/local/etc/a2ps.cfg for an EPSON STYLUS PRO.
With this example you can fine tune the margins for your printer in
about 10-15 minutes from scratch...
- SETUP: added support for configuring remote printer
Beware: you still have to make sure, that your line printer scheduler supports
input filter processing with remote printers as it is the case for FreeBSD 3.x
and later with a "fixed" lpd, as well as for Unix systems with LPRng installed
as lineprinter scheduler, which is the case for some (not all !!!) Linux
Systems.
- Add support for printing with SAMBA (SAMBA_PRINTER)
- Bugfix. Some printer dependend settings will be overwritten, when installing
a 2nd printer, which might cause printing with the 1st printer to fail,
especially if the first printer is color and 2nd B&W or vice versa.
Revamped SETUP and bin/apsfilter to get around this.
- Added SETUP menue entries for the uniprint driver
contributed by Francois D. Menard <fmenard@g6-114b.residence.usherb.ca>
printer: Epson Stylus Color 740
mode1: stc740ih.upp : Epson Stylus Color 740, 1440x720DpI, Inkjet Paper
mode2: stc740p.upp : Epson Stylus Color 740, 720x720DpI, Plain Paper
mode3: stc740pl.upp : Epson Stylus Color 740, 360x360DpI, Plain Paper
- New FAQ entries concerning print margins when printing ASCII text with a2ps
- updated howto and troubleshooting document
HOWTO-BUGREPORTS moved to toplevel, so that its easier to find.
- Update apsfilter to new version 5.1.4
- Use a2ps-letterdj as default in dialog setup script
This should fix problems for most HP Deskjet and
Espon print Problems because of wrong print margins
This is even recommended for A4 printing !!!
apsfilter 5.1.3 - 5.1.4 changes:
- added uniprint directory for contributed ghostscript uniprint driver files
- uniprint driver contribution for Epson Stylus Color 740
- support for using different uniprint driver profiles for one printer,
updated apsfilterrc with example
- fixed shell scripts, so that SETUP runs with Solaris 7 /bin/sh
(remember, you still need to replace your SVR4 compatible printing
subsystem with LPRng, if you want to use apsfilter on Solaris 7 and
related SVR4 compatible Unix derivates)
- added docu on how to configure apsfilter for remote printing
doc/REMOTE-PRINTING
- Update FAQ concerning
- how to adjust page margins (if some pixels are missing
in your printout)
- Change default for printing ASCII documents to
single page on a sheet, portrait format, without any header or border
- Updated apsfilterrc to be more verbose about the difference of
the legacy a2ps config option "FEATURE"
vs. the new recommended way "A2PS_OPTS"
- cosmetic in SETUP, see ChangeLog file
- [internal]: improve make-release script
Fix the BATCH=yes case. The .keep_me file was not being touched in
BATCH=yes since MAkefile.inc was only created in interactive mode,
and Makefile.inc is where .keep_me is also touched... This port
should now work for BATCH and !BATCH.
scripts can create the complete list of apsfilter port
dependencies.
So I removed the "BATCH case" from configure to the
more suitable area/form in Makefile of the port.
gzip and bzip2 create a compressed file and in
the header unfortunately this changes md5 checksum.
Now updating md5, have to look for a better solution
in the near future, stay tuned...
Changed License, want a postcard.
New features in 5.1.3
=====================
- Security fix. tmp files are now not readable by other people
this gives you more privacy for your print jobs
- New nice options for a2ps when printing ASCII files
- SETUP's main menue now leads you more user friendly to new uniprint drivers
- SETUP: many display enhancements to make the setup script more
informative to the user.
- some cosmetic concerning apsfilter-promo@klemm.gtn.com
FWIW, checkout of these things took 5+hrs, staying on the local
.freebsd.org net w/o hitting the 'net at all.
As promised,
$ time cvs ci
real 67m51.701s
user 0m1.250s
sys 0m5.345s
- it's possible to use psutils to print 2 pages on one physical
page and other things.
- New Environment Variable PSUTILS can be set via apsfilterrc files.
i.e.: PSUTILS="psnup -2 |"
Port now additionally has a run dependency to psutils-letter....
bugfix release
apsfilter now again allows you to use the gs driver default
resolution. Bug was, that everything defaulted to 300dpi, if
not set explicitely via DPI (set by name of symlink to apsfilter)
or GS_RESOL (set manually or via SETUP script in apsfilterrc).
Moved everything only print_dvi dependend to print_dvi...
Cosmetic changes
More user friendly bugform
the user will get a make syntax error ("Malformed conditional") when
PAPERSIZE and BATCH are both unset.
Andreas, go ahead and change this further if you want, I'm not sure
what you intended to do here, so I went with the "safest" fix.
printers that have "a4" paper, while "a4" produces clipped results for
printers that have letter papper?" ---Warner
YES ;-)
Reminded by: Warner Losh <imp@harmony.village.org>
Port related changes:
- apsfilter port isn't interactive anymore, we can now put it onto FreeBSD CD 1
- use bzip2 for apsfilter sources to save space on FreeBSD Disk 1
- new run dependency to recode and a2ps
- when BATCH is defined set PAPERSIZE to a4, to avoid problems with a2ps port
- updated DESCR (listed some of the new apsfilter features)
- updated PLIST
- new post-install target to inform people to run SETUP to complete installation
Apsfilter related changes:
- new supported file types (BMP, FAX G3, troff)
- possible to print in different print resolutions (see example in INSTALL),
i.e.: lpr -P{low,med,high} some_files...
- ghostscript can make use of additional type1 fonts by setting the gs
environment variable GS_FONTPATH. gs automatically recognizes
/usr/X11R6/lib/X11/fonts/Type1 and
/var/X11R6/lib/X11/fonts/Type1
if present. Other Paths can be configured global or printer type
dependend by admin or user as usual. See precedence of apsfilterrc
and .apsfilterrc files above.
- printer driver type dependend config files in that order:
- /etc/apsfilterrc
- /etc/apsfilterrc.${PRINTER}
and if defined INSECURE:
- $HOME/.apsfilterrc
- $HOME/.apsfilterrc.${PRINTER}
- CRLF translation and perforation skip for more HP models
- new environment variable USE_RECODE_NOT_A2PS, so you can use
reecode as an alternative over a2ps
- new environment variable RECODE_OPTS
defaults to "-q latin1:ibmpc"
- new environment variable PAGES_REVERSE_ORDER for forcing dvips
to print in reverse order
- detection of printer resolution revamped and more clear
- Precedence of definition of print resolution:
a) by name of filter script (symlink to apsfilter)
b) by setting GS_RESOL in apsfilterrc config files
c) autodetected by apsfilter (PS_xxx, printer driver name)
d) otherwise defaults to 300dpi (for dvips commandline)
- some dvips settings cleanup, use -Z only when resol >= 400dpi
- when printing html use some sane defaults for HTML2PS_OPTS
if not set in apsfilterrc files
Contributions:
- SUPPORT FOR NEW GNU a2ps 4.12, Hurray !!!!
thanks to Debian Port maintainer, Matej Vela <mvela@public.srce.hr>
- cool PS testpage (test.ps)
Andreas Reuter <ar205@bonzo.geowiss.nat.tu-bs.de>
- many thanks to the SuSE developement team especially
Werner Fink <werner@suse.de> for many inspirations
- and of course cosmetic and bugfixes ;-)
- bugfix: let file command work on the tmp file, avoid reading from stdin
- added a russian print filter to the contrib section
Needs perhaps some documentation...
I committed it nearly "as is", polished a bit Makefile and such...