Commit Graph

74 Commits

Author SHA1 Message Date
Andreas Klemm
f9a2087076 apsfilter main site moved from freefall.freebsd.org
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 !
2000-08-01 17:06:40 +00:00
Andreas Klemm
4686ca73f7 o Synchronize with latest patch on apsfilter homepage...
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 ....
2000-07-15 16:28:41 +00:00
David E. O'Brien
1228d352ee Move the stragler's www.freebsd.org/~user distfiles to the offical
MASTER_SITE_LOCAL site.
2000-06-29 07:03:02 +00:00
Andreas Klemm
99ec874f95 Bug in configure script
blanks instead of TABs, make "make" feel unhappy.

Submitted by:	Ahilan Anantha <aanantha@cs.ucsd.edu>
2000-05-27 11:18:06 +00:00
Andreas Klemm
70cd22a70a added post installation note, to apply patch for lpr.c,
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.
2000-05-26 19:38:03 +00:00
Andreas Klemm
462a1b979b use new SCRIPTS_ENV variable
latest diff
2000-05-25 21:31:53 +00:00
Andreas Klemm
a160ee17ff update to apsfilter 5.4.2
- 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)
2000-04-30 16:12:57 +00:00
Andreas Klemm
ce0b4a9bd1 update apsfilter to 5.4.1 2000-04-26 18:57:24 +00:00
Andreas Klemm
031fa0eba4 use ghostscript 6.01 port consistently,
not version 5.50
2000-04-16 08:39:43 +00:00
Chris Piazza
e062d3845f Accidental whitespace 2000-04-09 17:50:59 +00:00
Chris Piazza
d38f7d91c8 Update with the new PORTNAME/PORTVERSION variables 2000-04-09 17:41:40 +00:00
Andreas Klemm
c12982f43b Upgrade to 5.3.3
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>
2000-04-05 13:17:11 +00:00
Andreas Klemm
70b4cfa810 released new apsfilter version 5.3.2 due to a
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 ???
2000-04-05 07:03:39 +00:00
Andreas Klemm
b96c7c09b0 apsfilter release 5.3.1
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 ...
2000-04-03 19:37:31 +00:00
Andreas Klemm
78c8d55a47 use gs6 port ! 2000-04-02 19:19:16 +00:00
Andreas Klemm
ef1e8104ae update to apsfilter 5.1.3
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
2000-04-02 15:14:12 +00:00
Andreas Klemm
183c9d8b3d update apsfilter to latest patchlevel
- 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
2000-04-02 09:00:32 +00:00
Andreas Klemm
980b2b2f4e Forgot to change checksum file.
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...
2000-03-11 20:56:10 +00:00
Andreas Klemm
df0004eb3b New apsfilter release 5.2.0 2000-03-11 20:46:48 +00:00
Andreas Klemm
065b75c49e apsfilter depends now on samba
make Windows Remote Printer support via smbclient
an option in the dialogue config script.
When running in batch mode it's included automatically
2000-03-06 22:16:28 +00:00
Andreas Klemm
167fbf476d Apsfilter 5.1.5-RELEASE
- 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.
2000-03-02 17:40:14 +00:00
Andreas Klemm
d428c7a87c Add option to build ghostscript55 with PDFENCRYPT support. 2000-02-13 18:14:48 +00:00
Andreas Klemm
5411288cea apsfilter 5.1.5 prerelease specially dedicated for FreeBSD 4.0 Release.
Not much changes. See apsfilter docu files.
2000-02-12 21:02:06 +00:00
Peter Wemm
02c5b6c7c6 Change all www.freebsd.org/~user references to people.FreeBSD.org/~user,
as the days of the former are numbered.

Reviewed by:	asami
2000-02-08 09:29:51 +00:00
Andreas Klemm
9be456bf68 A better description 2000-02-05 10:52:00 +00:00
Andreas Klemm
40dfe815c6 Port changes:
- 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
2000-01-02 17:49:38 +00:00
Brian Feldman
6ee66121d4 As per Asami's port build breakage:
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.
1999-12-10 07:04:27 +00:00
Andreas Klemm
7ccecc00f0 make BATCH mode possible
bug reported by:	Satoshi
1999-11-12 17:49:21 +00:00
Andreas Klemm
3ffc360199 changed apsfilter port, so that Satoshi INDEX building
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.
1999-11-08 19:35:44 +00:00
Andreas Klemm
c11dbc0851 Forgot to commit configure script in previous commit 1999-09-25 17:12:03 +00:00
Andreas Klemm
69cb9d58d3 added configure script with dialog utility like in apache13-php3 port,
that offers the user a menue, where he enters
	- PAPERSIZE
	- file type support for apsfilter
1999-09-25 17:11:21 +00:00
Andreas Klemm
b1243e602e enter main website 1999-09-19 17:16:15 +00:00
Dirk Froemberg
ec53882020 Fix dependency: ${PORTSDIR}/print/html2ps -> ${PORTSDIR}/print/html2ps-letter.
Requested by:	Andreas Klemm <andreas@FreeBSD.org> (mantainer)
1999-09-10 08:43:52 +00:00
Michael Haro
65ab34a667 FreeBSD.ORG -> FreeBSD.org
Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
1999-08-31 06:53:31 +00:00
Andreas Klemm
a3bf30526e Copyright changed 1999-08-31 06:00:20 +00:00
Peter Wemm
a53421230c $Id$ -> $FreeBSD$ 1999-08-31 01:53:22 +00:00
Andreas Klemm
9f7c335259 have some trouble with my make-release script
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...
1999-08-30 21:39:14 +00:00
Andreas Klemm
9cf9e2eca9 Had to update sources without bumping version number.
So checksum changed...
1999-08-28 15:55:42 +00:00
Andreas Klemm
ff8d1cc78a upgrade to apsfilter 5.1.3
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
1999-08-28 15:50:53 +00:00
Andreas Klemm
aae1018079 apsfilter download directory changed slightly...
Submitted by:	Richard Dabney <rdabney@lasg.com>
1999-08-21 01:59:43 +00:00
Tim Vanderhoek
dd9ff05a6a Commit #3/4 to enforce caps, no period.
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
1999-06-26 19:12:45 +00:00
Andreas Klemm
20c49900a9 Sorry, had to re-roll 5.1.2, some minor glitches.
So other tar archive, other md5 ...
1999-06-12 22:03:54 +00:00
Andreas Klemm
e50c17a21b upgrade to apsfilter 5.1.2 1999-06-12 21:32:25 +00:00
Andreas Klemm
6c553c3c57 add new functionality:
- 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....
1999-05-25 20:27:48 +00:00
Andreas Klemm
9299d674f7 upgrade to apsfilter 5.1.1
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
1999-05-24 11:58:48 +00:00
Satoshi Asami
e3fd69d55b On second thought, remove the ".ifdef BATCH" test -- otherwise
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.
1999-05-24 07:06:31 +00:00
Satoshi Asami
ab94c5c646 Um, you can't use /usr/bin/env to set make variables.... ;) 1999-05-24 06:41:27 +00:00
Andreas Klemm
480b85d13c "Shouldn't that be "letter" rather than "a4" since "letter" works with
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>
1999-05-23 18:35:50 +00:00
Andreas Klemm
653af1a830 New apsfilter 5.1.0 released
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 ;-)
1999-05-23 16:16:30 +00:00
Andreas Klemm
d63fa84132 update to apsfilter 5.0.1:
- 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...
1999-03-01 16:17:39 +00:00