# $ApsCVS: src/apsfilter/ChangeLog,v 1.274.2.45 2005/02/13 09:46:35 andreas Exp $ So 13 Feb 2005 10:45:16 CET Andreas Klemm * Release 7.2.6 So 13 Feb 2005 10:24:01 CET Andreas Klemm * driver/hpdj/550C, driver/pcl3/hpdj550c adjustments to ColorMode/ColorModel as suggested by Zahemszky Gábor So 11 Mai 2003 09:56:27 CEST Andreas Klemm * apsfilter.in: printing of PDF files: use acroread5 before v4 and v3 if present as suggested by Dr. Edward Ajhar Fr 22 Nov 2002 19:40:37 CET Andreas Klemm * roll new bugfix release 7.2.5 which fixes windows/netware/ appletalk remote printing for Unix systems with secure lpd installation, that doesn't run under root privileges (FreeBSD, ...). Fr 22 Nov 2002 19:13:29 CET Andreas Klemm * SETUP: important bugfix config files for remote printing have been secured too much so that lpd, who runs under "daemon" permissions under BSD, was unable to read the config file smbclient.conf with permissions 600 root:daemon. So 10 Nov 2002 17:02:27 CET Andreas Klemm * update the apsfilterrc(5) manual page. Every option is now documented. Updated especially the section concerning the different apsfilterrc conifg files. Big warning NOT to use user manageable config files. But I documented it, because this option is still useful for "single-user" systems, where security is not an issue. So 10 Nov 2002 13:54:56 CET Andreas Klemm * document new pretty command line option introduced with ml-2002-04-14.patch Sa 9 Nov 2002 17:54:44 CET Andreas Klemm * Release 7.2.4 Sa 9 Nov 2002 17:34:28 CET Andreas Klemm * michael.lossin@pdv-FS.de, ml-2002-11-07.patch - fix in driver/stp/escp2-440 - mainly cosmetic changes - support for hpijs 1.1 and later - get rid of GS_MODEL - modified gs_cmnd, use -sstdout, ... - copyright, year 2002 in documentation - handbook cleanups - driver MAPPINGS - cleanup ijs print quality options (use high, medium, low, photo) - cleanup of RECODE_PROLOGUE in apsfilterrc - disable some hpijs printer: 400C, 540C, 600C modified files: bin/apsfilter.in doc/handbook.html.in driver/ijs/APOLLO_P-22 driver/ijs/Apollo-2500-2600 driver/ijs/DESKJET_350 driver/ijs/DESKJET_600 driver/ijs/DESKJET_610 driver/ijs/DESKJET_630 driver/ijs/DESKJET_810 driver/ijs/DESKJET_825 driver/ijs/DESKJET_920 driver/ijs/DESKJET_960 driver/ijs/PHOTOSMART_100 driver/stp/escp2-440 driver/MAPPING driver/st800 sbin/apssetup.in setup/printer-hpijs setup/printer-ijs template/apsfilterrc.in SETUP.in Fr 8 Nov 2002 05:38:26 CET Andreas Klemm * wrong manual reference in apsfilter manpage changed from smbprint to smbclient(1) So 3 Nov 2002 23:47:31 CET Andreas Klemm * Martin.Kraemer@Fujitsu-Siemens.com set umask in SETUP to make it possible to install apsfilter under root environments, that are very restrictive concerning umask settings. So 27 Okt 2002 23:24:10 CET Andreas Klemm * release version 7.2.3 So 27 Okt 2002 22:22:19 CET Andreas Klemm * prepare for version 7.2.3 * Michael Lossin: unbreak printing via smbclient, SETUP was o.k., but a typo in apsfilter broke things. * Michael Loßin, ml-2002-04-14.patch - add support for "ijsgimpprint" driver (in new driver/gimp/ directory) - update support for "ijs" driver (hpijs-1.0.x) to accomodate to new interface - add "pretty=0/1/2" command line option (plus PRETTY_PRINTING=0/1/2 variable) to explicitly set the highlight level for text-to-PostScript converters (none/normal/heavy) - add RECODE_PROLOGUE and RECODE_EPILOGUE variables to be used before/after "recode" conversion (will be used in addition to RAW_PROLOGUE and RAW_EPILOGUE) - fix "remote copies" parameter to lpr - move several SETUP files to the .../etc/apsfilter directory instead of .../share/apsfilter (which might be write-protected) - clean up template apsfilterrc to separate default values from examples Note: If you want to test the ijsgimpprint driver, please bear in mind that any strange behaviour you'll get is most likely caused by the driver itself, not apsfilter. The driver itself is still kind of buggy (I checked 4.2.1-pre5), but apsfilter support should be robust (since it's only syntactic stuff compared to the "stp" driver). The gimp-print folks have announced that the "stp" driver will be phased out after 4.2.x, so I guess support for it will eventually be removed from apsfilter as well. (Maybe we should do the same with "hpdj" and the old "hpijs" driver, since both have been obsoleted.) So 24 Mär 2002 09:27:49 CET Andreas Klemm Added FAQ entry regarding: "Is is possible to persuade apsfilter to attach EOT to PS jobs?" So 3 Mär 2002 21:10:50 CET Andreas Klemm * Michael Loßin , ml-2002-03-03.patch - introduce DUPLEX_REVERSE_{EVEN,ODD} and DUPLEX_ODD_FIRST variables for page order selection in fake duplex mode - add optional blank page to make document have even number of pages; introduce new BLANK_PAGE variable - drop "pstops" check, since both psselect and pstops are part of psutils psckage - don't bother printing a 1-page document in duplex mode - make "fake duplex" work correctly with "remote copies" mode - move PS_UTILS command to end of pipeline during ps_postprocessing to allow pages to be reversed at the correct time - add "iso-8859 html" pattern for file type recognition - make apspreview use *local* restrictions config file as well - explain fake duplex more elaborately in handbook (plus a couple of fixes) - use "install -c" in Makefile - add MEDIA default in SETUP - new "cdj670" script (without BPP setting) - new "omni/Canon_S450" script So 24 Feb 2002 16:23:18 CET Andreas Klemm * Michael Loßin , ml-2002-02-24.patch - replace awk "duplex" function with psset call - adjust psnup rotation to various converters for landscape mode - add landscape option to enscript command line - introduce IGNORE_LPD_RAW variable to please buggy spoolers that send jobs in raw mode - sanitize ": ${foo:-bar}" to ": ${foo:=bar}" - make n{c}print line whitespace-safe - save return code in global temporary file - typo in wmf2eps line - make apspreview use global "restrictions" file - get basedir in SETUP from configure - protect $foo[bar] contructs from being expanded to array elements by zsh - add "-dPARANOIDSAFER" for gs7.04 (harmless for all older releases) - save "rm" and "rp" in SETUP.cfg - add some hints w.r.t landscape and n-up in handbook - remove media types in scripts for some PCL printers - be more helpful with "invalid method" - LaserJet 4L needs fixed 300dpi - LN macro in Makefile needs -n switch -- we must create a directory link even if one exists already - add .PHONY targets in Makefiles - MAPPING update - change email Fr 18 Jan 2002 09:28:11 CET Andreas Klemm * Josef Karthauser - support for some more HP printer according to linuxprinting.org database. Not all entries are tested with all print resolution, so some feedback would be fine. HP OfficeJet 500|ijs/DESKJET_660 HP OfficeJet 600|ijs/DESKJET_660 HP OfficeJet 625|ijs/DESKJET_660 HP OfficeJet 635|ijs/DESKJET_660 HP OfficeJet 710|ijs/DESKJET_610 HP OfficeJet G55|ijs/DESKJET_930 HP OfficeJet G85|ijs/DESKJET_930 HP OfficeJet G95|ijs/DESKJET_930 HP OfficeJet K60|ijs/DESKJET_930 HP OfficeJet K80|ijs/DESKJET_930 HP OfficeJet Pro 1170C|ijs/DESKJET_810 HP OfficeJet Pro 1175C|ijs/DESKJET_810 HP OfficeJet R45|ijs/DESKJET_810 HP OfficeJet R60|ijs/DESKJET_810 HP OfficeJet R65|ijs/DESKJET_810 HP OfficeJet R80|ijs/DESKJET_810 HP OfficeJet T45|ijs/DESKJET_810 HP OfficeJet T65|ijs/DESKJET_810 HP OfficeJet V40|ijs/DESKJET_930 Do 17 Jan 2002 09:25:26 CET Andreas Klemm * Michael Lossin , ml-2002-01-14.patch - while in aps2file mode, don't deliver error mails, rather send messages to stderr only - setup/devices-6.01, setup/printer-6.01 and setup/printer-ps are obsolete - new printer: pips/sc70s - cleanup for setup/printer-epson Fr 11 Jan 2002 23:01:13 CET Andreas Klemm * Release apsfilter 7.2.1 (MFC) * Michael Lossin - Makefile.in: use ln -sf ("force") - SETUP, aps2file, apspreview: fix sed (old style) regular expression problems by using awk. Some systems does't use gnu sed for backward compatibility reasons (FreeBSD,...) not to break existing scripts. GNU sed (Linux) uses "modern REs", FreeBSD for example uses "basic REs" as of 1003.2. See re_format(7) for more info. - use "chown user:group" syntax, since some OS doesn't support old style (chown user.group) anymore (FreeBSD-current, ...) - fix some HP driver mapping in MAPPING file Do 10 Jan 2002 21:38:30 CET Andreas Klemm * For 7.2.0, MFC * Michael Lossin * make handbook build process cleaner - new doc/Makefile - new doc/handbook.html.in - get rid of source.html.in - convert apsfilter4.gif to apsfilter4.png - Makefile: install apsfilter4.png - configure: remove source.html.in Mi 9 Jan 2002 22:03:18 CET Andreas Klemm * Change Version to 7.2.0, because of new features like supporting Novell remote printer. * Adjust ANNOUNCE file for new apsfilter version * MFC: Michael Lossin , ml-2002-01-09.patch - support for NetWare printer servers (with ncprint or nprint); configuration via .../QUEUE/netware.conf - fix: aps2file and apspreview handle printer aliases - fix: hpijs drivers were wrong in setup/printer-7.00 (but correct in setup/printer-hpijs) - fix: only preview if aps2file generated PostScript - stp/escp2-1160 fix (thanks to ) - various fixes in driver/MAPPING - adjusted various omni/ scripts to use more reasonable resolution settings - configure variables: --with-printcap=... and --with-spooldir=... (nice for local installations in $HOME) - relaxed SETUP: don't check for "root", just for read/write permissions in (probably $HOME) dirs; as root do a full check, however - new REMOTE_COPIES variable: tells lpd and NetWare printer servers to do copies themselves (enabled by default), so we save some network traffic - enable PSgs to honor HARDWARE_COPIES - never ending story: the bjc600 driver script has four new siblings (bjc50, bjc70, bjc4000, bjc7000) to properly handle printers with varying resolutions - use secure temporary directory in SETUP - various small SETUP clean-ups - create "basedir" link at install time already - doc/Makefile: "make clean" should remove handbook.html since "configure" re-creates it from handbook.html.in Sa 29 Dez 2001 21:39:10 CET Andreas Klemm * Roll new release 7.1.1 Sa 29 Dez 2001 21:35:27 CET Andreas Klemm - MFC (Merges From Current): - manpage cleanups, update BUGS and USER FORUM section - include in all manpages BUGS, DOCUMENTAION and USER FORUM section from apsfilter(1) manpage, to guide people more to "do the right thing(tm)". - doc/Makefile is missing a RM define - on a make clean we shouldn't remove handbook.html since we have handbook.html under CVS control and distribute it with the apsfilter sources. And we need it for toplevel Makefile's "install:" target ! Sa 29 Dez 2001 19:43:21 CET Andreas Klemm * HOWTO-BUGREPORTS: revamped, since apsfilter-bug is available now. Will keep it under configure control, maybe wee need it later and now it saves a repository copy. Sa 29 Dez 2001 18:00:10 CET Andreas Klemm * Preparation for apsfilter 7.1.1 * MFC (Merges From Current): * Michael Lossin , ml-2001-12-29.patch - new "ljet4" script (thanks to Udo Schweigert); MAPPING update - add "--delegate=no" to A2PS_BASIC (thanks to Camille Dominique) - remove color options from {A2PS,ENSCRIPT}_BASIC, rather handle them dynamically - don't complain if input turns out to be empty, just quit gracefully - handle multiple input files in apspreview - warn about using {2,4,8}pps with both apspreview _and_ printing - when doing "make clean", don't forget doc/ dir * From me: - manpage fixes (see also: apsfilter-preview -> apspreview) Sa 29 Dez 2001 15:59:40 CET Andreas Klemm * Preparation for apsfilter 7.1.1 - MFC (Merges From Current): - Makefile.in: -r 1.58: install new bin/apspreview script and manpage - VERSION -r 1.4: split version info into "version" and "branch" (needed for apsfilter-bug) - bin/aps2file.in -r 1.5: - set shell mode for editors - simplifications from -current, no need to parse printcap -r 1.6: - support for apspreview (APS_CONFDIR) - bin/apsfilter.in -r 1.218: - fix: fix hardware duplex for PS printer -r 1.219: - aps2file context additions - configure -r 1.5: - take apsfilter-bug and manpage under configure control - add @branch@ and @confopts@ - make script apsfilter-bug executable -r 1.6: - take apspreview and manpage under configure control - make script apspreview executable - man/apsfilter.1.in -r 1.28: - updated "see also", apsfilter-bug(1) -r 1.29: - updated "see also", apspreview(1) - man/apsfilterrc.5.in - setup/test.ps.in - template/apsfilterrc.in Mo 24 Dez 2001 20:01:22 CET Andreas Klemm - duplex printing fix for pcl3 driver u970 according to handbook (gs-pcl3.html). My Duplex hardware seems to be malfunctioning, so I can't test. So 23 Dez 2001 18:47:21 CET Andreas Klemm - manpage correction * apsfilter.1.in: - added lpr -C / -Z options - removed sh from SEE ALSO section - update list of supported filetypes - correct info concerning FAQ (included in Handbook) * aps2file.1.in: - HISTORY section fix - Holger Petersen : - bugfix in hl1250 driver (3 missing ;; in case structure) - ANNOUNCE updated - SETUP: update URL of our band So 23 Dez 2001 14:21:55 CET Andreas Klemm - put some more files under configure control: HOWTO-BUGREPORTS, setup/test.ps, template/apsfilterrc - add new configure variable DOT_IN_FILES, which allows automatic creation of a complete make "distclean:" target in Makefile.in So 23 Dez 2001 10:51:30 CET Andreas Klemm * Michael Lossin , ml-2001-12-21.patch - Makefile: fix: define RM target clean: is now an empty target new target distclean: removes files created by configure - configure: display the real destination of datadir, sysconfdir, docdir (when defining own paths, configure appends string "/apsfilter", to make sure, that apsfilter gets a subdir of its own. Please tell us, if you have problems with this extra caution. Do 20 Dez 2001 22:27:27 CET Andreas Klemm * Michael Lossin , ml-2001-12-20.patch - fix bjc600/800 driver scripts - configure: VERSION read via "." command - new manpage aps2file - Makefile.in: introduce DESTDIR var - INSTALL: introduce configure for installation - Solaris fixes - handbook updates - copyright corrections Do 20 Dez 2001 16:27:27 CET Andreas Klemm * Michael Lossin , aps-configure.tar - apsfilter gets configure script, that sets paths and version correctly So 16 Dez 2001 19:24:05 CET Andreas Klemm * general preparation for 7.0.1: - resolve bin/apsfilter.rej (removal of set -x) - update Copyright to -2002 - update release strings to 7.0.1 - update -stable docu, this document is for version 7.0.1 So 16 Dez 2001 18:05:58 CET Andreas Klemm * Michael Lossin , ml-2001-12-16.patch - ANNOUNCE: update to 7.0.1, document changes - SETUP: - additional sanity checks for - character special print device - PRINTER, INTERFACE, PAPER variable (has to be set) - support for new hpijs driver 1.0 and old hpijs driver - PRINTER, PAPER, INTERFACE, DEVICE are left blank now, user HAS TO choose proper settings. Everything other seems error prone. - bin/apsfilter: - support for new hpijs 1.0 - remove "set -x for debugging", "aps2file -D" is now "the right thing(tm)", when debugging apsfilter. - therefore 2 debugging specific functions/overwrites (print_data and print_ps) has been removed as well, since aps2file does the job now. - updates for handbook - new driver files for new hpijs driver v 1.0 (driver/ijs subdir) - additional fix for bjc driver, it turned out 600 and 800 have different capabilities, therefore another driver script needed - update for the MAPPING file (bjc800 and ijs driver) So 16 Dez 2001 16:21:51 CET Andreas Klemm * MFC: fix BJC600 driver, use -sPrintQuality instead of -dPrintQuality (Michael Lossin) So 9 Dez 2001 19:01:17 CET Andreas Klemm * post release updates: - fix1: update Makefile (some files from setup are missing) - fix2: correct filename to "non-printer" - fix3: cp -d is not portable *sigh*, use tar So 9 Dez 2001 13:21:21 CET Andreas Klemm * preparing for new apsfilter release 7.0.0 - DONATIONS: style - FAQ: be more verbose and up to date - HOWTO-BUGREPORTS: some adjustments, new printcap example, more verbose on some topics. - INSTALL: some minor adjustments (style, version numbers) - Makefile: additionally install apsfilter4.gif for handbook - TODO: removed already resolved topics, added webmin * update mail addresses to use only @apsfilter.org - LICENSE, PROMOTION, SETUP, doc/handbook.html, doc/source.html Sa 1 Dez 2001 17:16:28 CET Andreas Klemm * Michael Lossin - add missing driver scripts and do some corrections driver/MAPPING driver/omni/Brother_HL_1240 driver/omni/Brother_HL_4V driver/omni/Brother_HL_660 driver/omni/Brother_HL_P2000 driver/omni/Epson_EPL_5700 driver/omni/Epson_EPL_N2000 driver/omni/HP_Color_LaserJet driver/omni/HP_Color_LaserJet_4500 driver/omni/HP_Color_LaserJet_8500 driver/omni/HP_Color_LaserJet_8550 driver/omni/HP_LaserJet_1200 driver/omni/HP_LaserJet_2000 driver/omni/HP_LaserJet_5000 driver/omni/HP_LaserJet_8000 driver/omni/HP_LaserJet_Classic driver/omni/HP_Mopier_240 driver/omni/Kyocera_FS_1750 driver/omni/Kyocera_FS_5500A_FS_5500 driver/omni/Kyocera_FS_5800C driver/omni/Kyocera_FS_600 driver/omni/Kyocera_FS_6300 driver/omni/Kyocera_FS_6700 driver/omni/Kyocera_FS_680 driver/omni/Kyocera_FS_7000 driver/omni/Kyocera_F_800A_F_800 driver/pips/sc60s Mi 28 Nov 2001 20:06:42 CET Andreas Klemm * Michael Lossin - JUMBO update for Omni (~100 new devices, many covered by the MAPPING file) - gimp-print (update to 4.2.0): dropped 3 (not working) printers, added Lexmark Z43 - pips: added SC60 - replaced wmftopng+wmftofig by wmf2eps - minor typo fixes Di 20 Nov 2001 20:27:51 CET Andreas Klemm * Michael Lossin - support for lzop (de)compression - print_auto: stricter case patterns, less mismatches caused by freeform strings - more archive formats (file listings): arc, arj, lha, rar, zoo - support for PAM pixmaps (aka p7 aka xv thumbnails) and tgif drawings - do_convert changes: -monochrome switch, output to PostScript Level 1 (seems more reliable) - slight handbook update (links, typos) - stp: Lexmark Z42 (mapped to Z52) - typo fixes for some Omni scripts Sa 17 Nov 2001 15:26:21 CET Andreas Klemm * Michael Lossin * merge in changes from his experimental version of Nov 9th 2001 (http://y42.briefcase.yahoo.com/losse) * lots of changes, new driver design etc: * ->>> tagged old -current with PRE_DRIVER_SCRIPTS * Doesn't support gs5.x anymore, you NEED at least ghostscript 6.x !!! This is possible, since gs6.x has been GPL'd, so supporting old gs 5.x is not necessary anymore... - each printer driver is now configured with (hopefully) correct options via shell scripts (see driver/ directory) - command line options have been unified, no driver-specific stuff anymore; see doc/handbook.html for details - command line options are now case sensitive (this will allow future watermark specifications and other special things to use mixed-case strings) - cleaner SETUP: GS_RESOL, BPP have been replaced by RESOLUTION and COLOR; QUALITY and METHOD are new - PostScript printer devices are now called "PS" and "PSgs" resolution is set separately - "raw" printer queues are now installed manually (this helps future printer admin tools -- one APS block in printcap will only contain exactly one printer queue) - "unspec" devices of hpdj and pcl3 are now called "hpdj/unspec" and "pcl3/unspec" resp. (instead of just "hpdj" and "pcl3") - PPA_OPTS is gone; this is now a special case of the more general POST_FILTER and POST_FILTER_OPTS mechanism - you need at least ghostscript 6.51 (GNU), 7.00 (AFPL) or higher - "aps2file" script to allow printing directly to a file - ghostscript 7.00 support - full support for gimp-print/stp, omni, hpijs, pips - support for many more third-party drivers (gs add-ons or via additional filters) - HARDWARE_COPIES variable (set this if your driver can print multiple copies by itself) - option settings can be restricted by the administrator (-> "/usr/local/etc/apsfilter/restrictions" for all printers, "/usr/local/etc/apsfilter/QUEUE/restrictions" for just one queue) - htmldoc is another html->ps converter (which we right now prefer over html2ps) - new papersize: tabloid (which is the same as 11x17; now we clearly state that "ledger" is 17x11 in SETUP) - print summaries of AR, RPM, TAR, CPIO, CAB and ZIP files - support for X window dumps and Windows Metafiles - non-printer devices (e.g. image creation or PDF distiller) for print-to-file mode - awk executable path can be adjusted (useful for Solaris people) - /etc/printcap gets a verbose comment for each printer (this will be displayed in any "lpq" listing) - SETUP provides some defaults to prevent incomplete configuration - error messages are also sent to the user now (via Cc:) - unknown command line options cause a message to appear in the log - sk2ps can convert FIG drawings to PostScript - Omni update - fix ANNOUNCE: get help from majordomo via "help" keyword in the _Body_ of the mail (NOT subject line). Do 4 Okt 2001 08:25:21 CEST Andreas Klemm * From: "Jose M. Alcaide" pcl3 and hpdj driver have different commandline options for selecting color model. Fix: hpdj and pcl driver now get separate case structures with suitable commandline options, i.e.: hpdj: GS_FEATURES="$GS_FEATURES -sColourMode=CMYK" ;; pcl3: GS_FEATURES="$GS_FEATURES -sColourModel=CMYK" ;; Sa 15 Sep 2001 13:17:01 CEST Andreas Klemm * hpijs support: SETUP: - gs -h only prints hpijs, not all the models, so the hpijs printer selection function had to be modified. - Additionally printing of test page needed modofication. apsfilter: - fix of hpijs support needed modifications at different places in the source. - added -C option debug, so that you can enable set -x on the commandline. Although this doesn't enable debugging at a very early stage it should be sufficient for certain situations where you only want to see some stuff + how gs has been called. - because of debug options, check printer independend options first Makefile: - install new setup profiles in FreeBSD for gs 7.0 and hpijs printer models So 1 Jul 2001 10:49:06 CEST Andreas Klemm * Added a FAQ entry, ASCII print problems because of `out of date' a2ps version So 15 Apr 2001 12:13:32 CEST Andreas Klemm * Michael Lossin - update for ghostscript 7.00 (-> setup/printer-7.00, setup/devices-7.00) - support for HP's official "hpijs" drivers (-> setup/printer-hpijs); right now they appear in setup/printer-7.00 as well, since gs7.00 includes them - _again_ new duplex key generation routine (in a silly attempt to make it portable); uses awk's rand() - customizable AWK executable (mostly for Solaris, which has a default awk not suitable for apsfilter) - expressive /etc/printcap comment for each printer - setting the hpdj/pcl3 printer model on the command line isn't really useful (who changes printers dynamically?) - defaults for some SETUP variables - handbook updates to reflect these changes - "SUN rasterfile" entries in printer databases were rather useless - minor code cleanups Maybe someone with an HP printer is willing to test the hpijs drivers (see http://hpinkjet.sourceforge.net/ or the gs7.00 release). Michael So 1 Apr 2001 13:36:04 CEST Andreas Klemm * Michael Lossin - fix for duplex printing on FreeBSD, we need to use hexdump + od -A n -t x -N 8 /dev/urandom od: illegal option -- A od: od(1) has been deprecated for hexdump(1) special quoting necessary for Linux using the hexdump command * Andreas bin/apsfilter: set -x is new default for apsfilter-current this is a developer release. I'm getting sick of commenting it out every time when I check new code ;-) Do 29 Mär 2001 21:31:40 CEST * Michael Lossin : - The duplex password generation routine and the reading from the fifo don't happen to behave correctly in all cases, mostly due to possible space/tab characters in the key. This fix just strips all non-alphanumerical characters from the password, just to be sure. Di 20 Mär 2001 15:50:26 CET Andreas Klemm * minor fix: HOWTO-BUGREPORT, release = 7.x * install README.BSD for FreeBSD ports collection Di 20 Mär 2001 00:37:00 CET Andreas Klemm * wrote ANNOUNCE file * remove TROUBLESHOOTING file, see handbook now * FAQ, reference to handbook * Merge from Stable, trim DONATIONS, add reference to webserver * update INSTALL file * move comments about patching lpd for CLASS support to a separate file README.BSD So 18 Mär 2001 18:30:51 CET Andreas Klemm * update manual pages in nroff format. Di 13 Mär 2001 18:36:10 CET Andreas Klemm * Michael Lossin : - TEXINPUTS was exported in the wrong context; it also gets extended by "$HOME:/tmp:/var/tmp" to help users provide the embedded files - PRINT_DVI gets its input from a seekable file - PRINT_DVI was documented as DVI->PS, but is actually DVI->PrinterLanguage - some "eval vs. whitespace" fixes - add warning if duplex fifo couldn't be created - convert had some problems with reading from pipes (at least with bmp and sgi files) - nconvert couldn't read ilbm files from a pipe Do 8 Mär 2001 04:33:39 CET Andreas Klemm * Michael Lossin : - TMPDIR fix: apsfilterrc entry was ignored - html2ps fixes: - ghostscript needed for DSC output (issue a warning if gs can't be found) - honor LANDSCAPE and PAPERSIZE settings - omni update: -sproperties='...' used for parameters - setup/printer-stp update - handbook updates Sa 3 Mär 2001 11:52:25 CET Andreas Klemm * Michael Graywane : typo/bugfix: correct bj200 driver name in printer-5.50 file Do 1 Mär 2001 06:49:12 CET Andreas Klemm * Michael Lossin SETUP: * samba passwords with ' characters are used correctly now (a password a'b'c was saved as SMB_PASSWD='a'b'c' which was read as abc ; now it becomes SMB_PASSWD='a'\''b'\''c' ) * spool dir owner/group is correctly recognized in most cases, so use "yes" as a default answer bin/apsfilter: * more papersize hints for various filters: pnmtops, tiff2ps, pdftops, pdf2ps some need sizes in points, some need inches * nconvert can't read fits images from a pipe (for whatever reason), so we need a temp file (-> fitstopnm is preferred now) doc/handbook.html: * no output from the printer can be caused by (unwanted use of) a default "lp" printcap entry or speaking to the wrong printer queue Mo 26 Feb 2001 10:14:30 CET Andreas Klemm * Bugfix: tmpdir didn't get set properly because we need := not :- in this case. So 25 Feb 2001 17:04:20 CET Andreas Klemm * Lars Köller Add -size ${PAPERSIZE} to acroread options for better A4 printing (and probably printing of other formats) So 25 Feb 2001 13:16:48 CET Andreas Klemm * Joerg Wunsch - apsfilterrc file: add another sample A2PS_BASIC entry #A2PS_BASIC='-Eplain' prevents a2ps for example to preformat troff documents So 18 Feb 2001 21:26:54 CET Andreas Klemm * Michael Lossin - replaced "psset" from the a2ps package with an inline function 'ps_set_tumble()' - PS_EXIT will be parsed by gs after the data - PS_INIT was not whitespace safe - true random duplex passwords (if available) - duplex notification uses USER@HOST - new filters: g32pbm, tiff2ps - cleanup of TEMP and TMPDIR usage - Omni drivers use PRINT_MODE_1_ANY for b/w - handbook.html fixes and updates - printer-omni: added Epson Stylus Photo 1270 - some case pattern fixes Do 1 Feb 2001 22:57:15 CET Andreas Klemm * Michael Lossin - convert has some problems with file magic (most notably Targa files), so now there's an additional command line option which sets the image format the hard way (to be on the safe side, all image formats got that) - PC bitmap files were not recognized correctly - match patterns for compressed file types were too greedy - bonus for no extra cost: 3 new printer models for the Omni driver collection Do 25 Jan 2001 19:45:27 CET Andreas Klemm * Michael Lossin - handbook got some more links and a decent coverage of the error messages created by apsfilter (plus some minor stuff), and the gimp-print driver knows more printer models. Di 23 Jan 2001 08:24:42 CET Andreas Klemm * Michael Lossin - take first draft of apsfilter handbook under CVS control Mo 22 Jan 2001 21:09:14 CET Andreas Klemm * Michael Lossin - setup/printer-addon was split into several files (basically one for each driver type): now we have cdj, hpdj, omni, pcl3, ppa, ps, stp - the driver type next to the printer model is useless now - changes to the driver selection menu - listing of ghostscript devices also shows version number - pcl3 fully integrated (compatibility to hpdj assumed) - color depth menu was a bit large for 25 line screens - slight changes to the papersize menu - apsfilter copy machine is actually implemented - changes to variable handling ("parallel" vs. "sequential" setting) - RAS2PS_OPTS removed - "(STDIN)" for LPRng recognized - checking the ghostscript version with class options was basically useless (SETUP already checks it, and the options are known to all current versions anyway) - bug fix: "pswrite" vs. "psgray" usage was reversed So 21 Jan 2001 11:02:47 CET Andreas Klemm * Michael Lossin * checked out before his patch: ml-20010112.patch * applyed reworked patch: ml-20010117.patch - apsfilter can print multiple copies of the same document, independent of the spooler -- it only has to pre-process the input once (including gs rendering), then sends the raw data multiple times, and it even work correctly in "fake" duplex mode [use "lpr -C copies=42 file.txt" for 42 copies -- the default maximum copy count is 10, however] - IBM Omni update -- 30 additional Canon models - LPRng uses "(STDIN)" as the job title (again) -- now check for "stdin", "(stdin)" and "(STDIN)" - PSgs_* devices use "pswrite" and "psgray" drivers - a2ps needed some help with file types -- now heavy markup is the default (via A2PS_BASIC) - new filters: ilbmtoppm, jpegtopnm, mgrtopbm, rletopnm - recode always uses "-q" - unneeded options to djpeg and ras2ps have been removed - TMPDIR clean-up in SETUP - gs >= 6.60 use 6.50 as the feature base - SETUP pretty-prints gs devices - Linux USB device paths shown during SETUP Di 9 Jan 2001 13:41:14 CET Andreas Klemm * Ian Heggie - fix samba remote printing bug. Export password using PASSWD (not PASSWORD) variable as of samba 2.0.7 (man smbclient...) Di 9 Jan 2001 13:20:52 CET Andreas Klemm * Michael Lossin - SETUP: allows user enter an apsfilter ETC_DIR of his choice Please Note: this is still in discussion and will probably be replaced in the near future by a configure script - bin/apsfilter: - in traps use signal *number* - set umask 077 for apsfilter script (we are already secure, because the tmp directory for a print job is secure. But but now we are even more secure by setting this file creation mask for every tmp file in the already secure tmpdir. - changes concerning etcdir ($CONF_DIR, $QUEUE) - make functions better readable and quoting easier old: functions are given the command arguments which will generate their input. new: These now all take their input from stdin (again); the previous approach (to provide commands as parameters that generate the proper input) would only save two (at most three) trivial cat commands, but it was very picky w.r.t quoting -- and also a pain to read and debug. So 7 Jan 2001 16:48:50 CET Andreas Klemm * new developement version 7 - ANNOUNCE: trim file, so that new features can be documented but keep keep things that are still valid (support, mailinglists) - HOWTO-BUGREPORTS: change version strings - INSTALL: trim file, there is currently no FreeBSD port of apsfilter developement snapshot available. - KNOWN_BUGS: remove version string so that we don't need to update it on release changes, currently none - LICENSE: update copyright, add year 2001 - SETUP: update version to 7.0 devel, change copyright (year 2001) - bin/apsfilter: update version string and add year 2001 to copyright Fr 22 Dez 2000 18:26:04 CET Andreas Klemm * Michael Lossin update for the gimp-print (stp) and IBM Omni drivers... Sa 16 Dez 2000 13:24:46 CET Andreas Klemm * Michael Lossin SETUP: support for gs 6.50 Do 14 Dez 2000 08:09:32 CET Andreas Klemm * Ilya Martynov Fix syntax error in apsfilter script Mo 11 Dez 2000 22:17:28 CET Andreas Klemm * choose another syntax for dd and use 16k instead of 8k otherwise file doesn't detect all filetype right as binary. Sa 9 Dez 2000 17:20:24 CET Andreas Klemm * support for printing MS Windows applications of type 'ms windows coff unknown cpu' on standard printer lp (no need for an additional raw queue for the same physical printer) So 26 Nov 2000 16:08:53 CET Andreas Klemm * Michael Lossin - support for cdj970 3rd party driver from www.harsch.net and hardware duplex support in apsfilter for HP DeskJet 970 Currently SETUP doesn't make an HARDWARE_DUPLEX=set entry in /etc/apsfilter/.../apsfilterrc You should set it manually until this minor issue is resolved. Sa 11 Nov 2000 08:39:10 CET Andreas Klemm * quick commit before holidays * Michael Lossin - support for IBM omni driver - updates for gimp-print/stp - support for pswrite devices, which are devices, that add an additional rendering stage: input -> conversion to PS -> gs -sDEVICE=pswrite ... -> printer to enable PS printer to recognize non-standard PS fonts, that are not embedded in the PS file. Same for images. For example: Sketch can be configured to use Type1 fonts. these are referenced by name in the *.sk file and (after conversion with sk2ps) also in the PS file. These devices are now named PSgs_XXXdpi or PSgs_XXXXdpi Mo 11 Sep 2000 08:41:18 CEST Andreas Klemm * Michael Lossin : - add support for the stp driver from gimp-print - add support for the pnm2ppa tool setup/printer-6.01 has been split into several files for real PostScript printers, add-on drivers for gs and PPA-printers, so people get better overview of printer types and drivers this way. * Andreas: - update setup/README - remove not used printerdb Sa 9 Sep 2000 17:41:31 CEST Andreas Klemm * SETUP: bugfix: cleanup after removal of GLABAL.sh: TMP was undefined, so testpages have been created in "/" instead of "/tmp" Sa 9 Sep 2000 11:10:51 CEST Andreas Klemm * release new developement snapshop Sa 9 Sep 2000 09:51:55 CEST Andreas Klemm * Andreas Reuter watermark.ps is very simple and makes some assumptions that can easily be broken by postscript documents. Created watermark routine with whole calculation code, maybe this fixes up some of the oddities. Sa 9 Sep 2000 09:03:37 CEST Andreas Klemm * based on idea and feedback from: Jeffrey Moskot SETUP: hint to enter 'raw' as remote queuename when configuring remote printer with HP Jetdirect network card. The JetDirect card has two queues on it, 'raw' is the one we may use to print, the other is for text only. Fr 8 Sep 2000 15:44:53 CEST Andreas Klemm * Michael Lossin : * fix a sh syntax bug in SETUP Do 7 Sep 2000 20:02:12 CEST Andreas Klemm * Michael Lossin : * samba password is not used on the command line anymore, but in the PASSWORD environment variable * custom printer queue names really work now (the given default name is "lp" if it isn't used already) * /etc/apsfilter/$QUEUE/apsfilterrc.$USER is another config file * new config variable: DISABLE_DUPLEX (needed if apsfilter is not running on the host the print job was started) * more verbose apsfilterrc template * some documentation updates Mi 6 Sep 2000 22:08:56 CEST Andreas Klemm * Michael Lossin : NIS corrections. Di 5 Sep 2000 21:11:13 CEST Andreas Klemm * statement concerning personal e-mail to me and SUPPORT in general. Di 5 Sep 2000 20:37:33 CEST Andreas Klemm * make it possible to run apsfilter in NIS environment extraction of $HOMEDIR works now. idea from: Volker Seebode Mo 4 Sep 2000 21:34:06 CEST Andreas Klemm * fixes for hpdj printers, special treatment for driver hpdj_u970 * BITSPERPIXEL can't be changed for hpdj * due to popular demand: ASCII_PPS and ASCII_LANDSCAPE change the printout just for ASCII files, independent of PS_NUP and LANDSCAPE (but these provide default values if needed) * BINDING now uses "short" and "long" instead of psset-switches * fixed printing on PS-printers and during debugging Sa 2 Sep 2000 18:53:41 CEST Andreas Klemm * replace list of apsfilter contributors with this link: http://www.apsfilter.org/contrib.html Sa 2 Sep 2000 12:57:15 CEST Andreas Klemm * added working watermark template from Andreas Reuter this file is the basis to _dynamically_ create backgrounds for every printed page, i.e.: "internal use only", "Top Secret" etc. Probably we'll use it this way in the future: lpr -C wmark="Top Secret" file Sa 2 Sep 2000 10:40:32 CEST Andreas Klemm * be more verbose about what A2PS_OPTS gives you (overwrites the complete a2ps commandline) Fr 1 Sep 2000 17:25:12 CEST Andreas Klemm * yes, we can remove the two entries from KNOWN_BUGS These entries are no apsfilter bugs. Have been added to FAQ * FAQ has been updated on webserver. Fr 1 Sep 2000 16:19:35 CEST Michael Lossin * custom printer queue names, as suggested by Jef Moskot * cloning spool dir permissions with chmod (I think this needs the GNU version) * call checkpc after printcap fiddling (will be ignored by BSD spoolers) * faster code insertion for paper tray selection with awk, as suggested by Beat Rubischon * color mode fixed for hpdj * small changes in class option code * INSTALL, README and apsfilterrc updates * remove unneeded docu .... doc/methods, doc/features, doc/WHAT_AM_I KNOWN_BUGS and by me: * still keep KNOWN_BUGS have to test this ... * update Makefile (remove nuked stuff) * check for checkpc before using it. * add /usr/local/sbin for checkpc Do 31 Aug 2000 20:00:33 CEST Michael Lossin * read command in ash already has the functionality to "raw" read the input. Check if the read command can handle "-r" and use it if possible * fix some minor bugs with PostScript handling Mo 28 Aug 2000 18:09:55 CEST Andreas Klemm Michael Lossin : * ASCII_STYLE is gone; use PS_NUP and LANDSCAPE now (class options: 1pps, 2pps, 4pps, 8pps, landscape, portrait) * new config option: HARDWARE_DUPLEX; set this for printers that can handle duplex printing by themselves * new function: ps_postprocessing() handles all PS_UTILS etc. * tray selection for duplex printers (as a shell function) * more class options: shortbind, longbind, tray0...tray9, book; related config options: BINDING, PAPERTRAY, PS_BOOK * give some more info on how to manually flip sheets * SETUP: fix SMB_FLAGS line for smbclient.conf * use "-r" option for many read operations * small fixes here and there So 27 Aug 2000 22:29:05 CEST Andreas Klemm * bin/apsfilter: fix samba remote printing Space was missing "-c'print -'" -> "-c 'print -'" Thanks to: max@dotcom.fr (Maxime Soulé) So 27 Aug 2000 15:24:01 CEST Andreas Klemm Michael Lossin -------------------------------- Here are some small changes to the duplex code, more class stuff and several minor tweaks: * duplex printing: - "forced simplex" mode was totally fscked up (infinite loop _and_ wrong print command) - use psselect _or_ pstops to extract odd/even pages - one less temporary file * new function send_mail for duplex and failure messages * DVIPS_REVERSE and ACROREAD_REVERSE are gone; PS_UTILS should be used to correct _all_ file formats * new class options: - a3,a4,letter,legal,ledger (paper size) - a2ps,mpage,recode (ASCII filter) - 1pps,2pps,4pps,8pps (pages per sheet) - border,noborder,header,noheader (ASCII style) - landscape (force orientation for ASCII and DVI) - simplex (force non-duplex mode) - color,mono (color handling) * FAQ update * slight manpage fixes * Makefile fixes * small cosmetic changes here and there changes from me: ---------------- * SETUP: A -> abort, I -> install a printer, Q finish installation I think quit is the usual leave operation * hint for FreeBSD ports collection, not to install manpages * SETUP, apsfilter: Change my mail address to andreas@apsfilter.org * SETUP: make more clear how to restart the lineprinter scheduler * SETUP: install_man_pages: - document 'default' to not install manpages when simply hitting RETURN, ie. when installing from FreeBSD ports collection - its not clear if FreeBSD user used ports collection or not, so ask if manual pages should be installed or not * SETUP: save 2 seconds sleep by combining a message * FAQ, use the SGML based version Changes to the FAQ should directly be made to the doc tree ! * TODO: remove resolved items, update some ITEMS and one new. Sa 26 Aug 2000 18:26:51 CEST Andreas Klemm * SETUP: fix permissions of $SPOOLDIR 700 was to restrictive for BSD. TODO: "clone" permissions of $SPOOL * SETUP: bugfix: BSD needs /usr/sbin in PATH to find chown. added /sbin as well, since this is unexpensive and possibly needed for other systems. Sa 26 Aug 2000 17:58:33 CEST Andreas Klemm * SETUP: cosmetic, reformat menues to still fit within 25 lines Sa 26 Aug 2000 13:48:40 CEST Andreas Klemm * SETUP: fix: grep -c needs an argument (".") in echo "\c" | grep -c . to work on FreeBSD and possibly other BSDs with GNU grep 2.4 Fr 25 Aug 2000 18:44:38 CEST Andreas Klemm * update apsfilter.1 man page concerning duplex printing. * fix default installation directory, which is now /usr/local/share. * nuke GLOBAL.sh entirely Fr 25 Aug 2000 17:45:21 CEST Andreas Klemm * Michael Lossin - enable apsfilter to fake a duplex PostScript printer. What is basically does is: - extract the even pages from a ps file and print them - mail a notification to the user to flip the pages and to echo a "secret" key into a named pipe which is used for communication - wait for the key by busy-reading the named pipe - print the odd pages This probably only supports remote printing if apsfilter is running on the local host. Local printers work (as far as I tested). Maybe the page order of the odd pages has to be reversed this can be done with a new config variable if needed. BTW: use "lpr -C duplex file.ps" to try it - GLOBAL.sh is gone (apsfilter and SETUP now have everything "on board") - apsfilter man page got an update. Fr 25 Aug 2000 11:07:42 CEST Andreas Klemm * SETUP, mention USB ports for BSD ... Di 22 Aug 2000 17:56:28 CEST Andreas Klemm * From Michael Lossin use warn_about_missing_gs in SETUP Di 22 Aug 2000 08:42:01 CEST Andreas Klemm * installation destination for FreeBSD ports collection ${PREFIX}/apsfilter -> ${PREFIX}/share/apsfilter reason: apsfilter libdir can be exported. NFS clients theoretically could install apsfilter by simply calling SETUP from the mounted directory. Mo 21 Aug 2000 19:35:10 CEST Andreas Klemm * From Michael Loßin : - decent quoting for configuration files - return codes for LPRng in case of fatal_*() exit (I hope this doesn't upset BSD-lpr) - use of local variables - TEMP directory for gs is now APS_TMPDIR (gs doesn't always remove its temp files; this is fixed now) - use of do_pager in SETUP instead of more - small fixes here and there Sa 19 Aug 2000 10:47:58 CEST Andreas Klemm * clean up Makefile after src subdir has gone create a new snapshot, since FreeBSD port apsfilter6 had problems with that Mi 16 Aug 2000 11:49:01 CEST Andreas Klemm * make developement version available Mi 16 Aug 2000 10:36:59 CEST Andreas Klemm * From Michael Loßin SETUP - mass installation of printer - New configuration directory (/etc/apsfilter/...) - raw-printer optional - /etc/printcap, cosmetic change - keep non apsfilter entries in /etc/printcap, even if overwrite has been selected - you can skip installation of manpages. - Tab 4 - minor bugfixes - misc optimization / fixes. bin/apsfilter: - use new config dir /etc/apsfilter - prefer use of do_convert instead of do_nconvert - new env var RAW_PROLOGUE and RAW_EPILOGUE substitute RAW_SETUP and RAW_ADD_FF - Bugfixes and optimizations apsfilterrc changes to reflect changes in apsfilter and SETUP All configuration now in /etc/apsfilter a) global config for all printer - /etc/apsfilter/apsfilterrc b) APS_BASEDIR in printcap is gone, new basedir file: /etc/apsfilter/basedir c) /etc/apsfilter/apsN contains: * link apsN-... to ../basedir/bin/apsfilter for :if=...: * apsfilterrc (optional) * smbclient.conf (optional) * pap.conf (optional) Advantages: everybody has access right for configuration SPOOLDIR now may get restrictive access rights again ! Wed, 2 Aug 2000 16:54:52 +0200 Matej Vela * bin/apsfilter: * More contributions from Michael Lossin : * print_ascii: Must use `a2ps -b...' instead of `a2ps -b=...'. * print_pcd: pcdtoppm needs `-' as second argument. * Check for LPRng Z options. * print_pdf: * pdftops 0.80 and earlier don't support `-q', so don't force it. * acroread always needs to be run with `-toPostScript'. * Create a temporary input file for acroread because it creates one in the pipeline mode too, but forgets to remove it. * print_ps: A simpler default for $GS_FONTPATH and $GS_LIB. * print_dvi: Simplified the setting of a default resolution. * Simplified the parsing of the lock file. * Noted support for WordPerfect graphics and XCF. Tue, 1 Aug 2000 17:18:29 +0200 Matej Vela * bin/apsfilter: Simplified the parsing of the lock file. * SETUP: Fixed a copy/paste oversight. * Makefile: Removed the obsolete `release' and `webpage' targets. Mon Jul 31 22:29:17 CEST 2000 Andreas Klemm * change make-release to operate on apsfilter.org Matej and I are now both possible to roll apsfilter releases. Sun, 30 Jul 2000 15:10:20 +0200 Matej Vela * SETUP: Determine whether user is super-user by checking the UID instead of the username. * bin/apsfilter: * do_nconvert: Check whether pnmtops is present. * Better comments. * print_pdf: Support for pdftops (part of Xpdf). * ash doesn't do word splitting on WORD from ${PARAMETER:+WORD}, while bash does. Both should be satisfied now. Sun, 23 Jul 2000 16:30:16 +0200 Matej Vela * bin/apsfilter: * find_filter: Use `type' instead of `command -v' because the latter (although a part of POSIX) isn't supported by the FreeBSD and the NetBSD version of ash. * More contributions from Michael Lossin : * Support for FBM, FITS, IFF ILBM, MGR, MIFF, Kodak Photo CD, PNG, RLE, SGI, Sketch, Targa, WordPerfect graphics, GIMP XCF, X pixmap. * print_ascii: Renamed $A2PS_STYLE, $A2PS_BORDER, $A2PS_HEADER to $ASCII_STYLE, $ASCII_BORDER, $ASCII_HEADER, respectively; now used both by a2ps and mpage. Added a default for $MPAGE_BASIC. * Shortened class options handling. * Process LPRng Z options like class options. * (By Andreas.) unpack: Run file without -b since the FreeBSD version doesn't support it. * Fixed a quoting problem with $A2PS_BASIC, $HTML2PS_OPTS, and $RECODE_OPTS. * print_dvi: Always run dvips with `-q -o -'. * Renamed the convert and the nconvert function to do_convert and do_nconvert, respectively, to avoid convert and nconvert being always detected as present by type in find_filter. * Style and consistency improvements. * print_ps: Use $PS_INIT for UPP printers too. * template/apsfilterrc: * Corrected `PSUTILS' to `PS_UTILS'. Removed a superfluous `|'. * Corrected a `=' to `!'. * Commented out default values. * Moved $NOTIFY from global/GLOBAL.sh to template/apsfilterrc since it is used only in apsfilter. * Testing: reverted to shell syntax for configuration files. If you want user configuration files, you should run apsfilter under a specialized UID -- see the apsfilterrc template. Fri, 21 Jul 2000 16:22:18 +0200 Matej Vela * bin/apsfilter: * More contributions from Michael Lossin : * Support for convert (part of ImageMagick). * Support for PGM. * Support for nconvert (part of XnView). * Changed indent to 4 spaces for readability; made everything fit in 78 columns for context diff. Thu, 20 Jul 2000 18:21:20 +0200 Matej Vela * bin/apsfilter: * Reworked the option processing. * Style and consistency improvements. * More contributions from Michael Lossin : * bin/apsfilter: * Print raw when given the -c option. * LPRng provides $SPOOL_DIR. * print_ps: Check whether gs is installed. * print_sunraster: Fixed missing evaluation. * lib/redir_gs_msg.ps: Removed because it doesn't work on gs 6.01. Tue, 18 Jul 2000 15:48:48 +0200 Matej Vela * bin/apsfilter: * Reworked the handling of temporary files -- using a temporary subdirectory is simpler to implement and more portable. * More contributions from Michael Lossin : * Run dvips in secure mode (-R). * Run html2ps in grayscale (-g) when appropriate. * Run djpeg without `-colors 256'. * Get $HOMEDIR via tilde expansion when available. * Fixed a missing bracket. * Run groff in safer mode (-S). * Filter presence is now checked at run-time; filtersetup is gone. Still need to update the documentation... * Merged from the RELENG_5 branch: * HP DJ 970C support. hpdj bug fixes. * PAP support. * bin/apsfilter: * Run acroread with -fast; also -reverse when appropriate. * Discard -dBitPerPixel options for the hpdj driver -- it doesn't like them. * Run gs 6.x using -_ instead of - for efficiency. * Replaced $RAW_SUPPRESS_FF with $RAW_ADD_FF. * SETUP: Use the suppress formfeed (sf) printcap setting for raw. * Removed occurences of /etc/apsfilterrc from the documentation. * New/revised uniprint profiles from Harold Bower . Sat, 15 Jul 2000 23:02:10 +0200 Matej Vela * More contributions from Michael Lossin : * bin/apsfilter: * SIGINT is no longer ignored. * Fixed a missing redirection. * Always export $GS_LIB. * unpack: Pass on the handler command line when recursing. * Stricter label checking. * When LPRng is used, parse the command line options instead of $CONTROL. * Epson Stylus Color 640 profiles updated. Fr 26 Mai 2000 13:39:24 CEST Andreas Klemm * SETUP: tell the user, that he has to use at least gs version 5.50, but 6.01 is really recommended. Fr 26 Mai 2000 12:22:59 CEST Andreas Klemm * new file doc/README.SuSE, installation hints for SuSE 6.3 and 6.4 submitted by robin@cosby.demon.co.uk Do 25 Mai 2000 21:42:12 CEST Andreas Klemm * make-release: path for sitebackup directory changed * make-release: use diff -kk Mi 24 Mai 2000 17:38:04 CEST Andreas Klemm * call apsfilter-current apsfilter 6.0 Sun, 14 May 2000 03:18:12 +0200 Matej Vela * bin/apsfilter: Corrected `$GS_VERSION' to `$gs_version', as noted by Michael Lossin . Wed, 10 May 2000 18:16:35 +0200 Matej Vela * Added preliminary mpage support, as suggested by Michael Lossin . Sat, 6 May 2000 18:21:27 +0200 Matej Vela * Implemented the rest of the suggestions from Michael Lossin : * bin/apsfilter: * Print recode(1) output using print_raw. * Look for `*.upp' instead of `uniprint' in print_dvi. * SETUP: * Disabled changing the resolution on Uniprint and PostScript printers. * Added the uniprint profiles for Epson Stylus Color 640. Thu, 4 May 2000 22:26:52 +0200 Matej Vela * bin/apsfilter: Fixed a design flaw in the rewrite -- files were not unpacked for `lpr -C ascii' -- by separating the auto_print function to two new functions, unpack and print_auto, and calling them appropriately. Wed, 3 May 2000 07:19:53 +0200 Matej Vela * bin/apsfilter: * An experimental rewrite. * Added search for sendmail in several standard places. * Fixed the control file location determination for lpr. * Replaced dd with tr because of the size difference on FreeBSD. * Fixed print_raw to comply with the general calling convention. * Changed to new recode invocation syntax. Thanks to Michael Lossin for noting this. * setup/filtersetup: Added mktemp and pdf2ps to $SUPPORTED_FILTERS. * TODO: Spelling correction. Di 2 Mai 2000 01:36:06 CEST Andreas Klemm * released apsfilter 5.4.3 as release branch for RELENG_5 * introduce tag RELENG_5 for apsfilter-stable * HEAD branch is apsfilter-current, which will become apsfilter 6.x in the future ... So 30 Apr 2000 16:34:53 CEST Andreas Klemm * roll release 5.4.2 So 30 Apr 2000 16:34:53 CEST Andreas Klemm * Change make-release for better Apsfilter Software Center webpage. - don't create hypertext links for old apsfilter releases - but provide patches for updates * remove note about manually installing manpages on Linux Systems * update version number in different files as always * new TODO item: automate update of apsfilter release number should perhaps go into make-release, since make-release _has_ to be updated manually. Do 27 Apr 2000 21:19:16 CEST Andreas Klemm * APSFILTERRC hasn't been used, so INSECURE didn't have any effect Mi 26 Apr 2000 06:31:25 CEST Andreas Klemm * rolled release 5.4.1 Di 25 Apr 2000 22:43:11 CEST Andreas Klemm * Update infos (News) in SETUP Change setup, that internet resources stay on screen as last point Di 25 Apr 2000 21:59:00 CEST Andreas Klemm * come-back of INSECURE variable reading environment variables from user customizeable apsfilterrc files is still NOT save and therefore forbidden by default ! You have to set it as administrator in every apsfilterrc file (in every printers spooldir) Reading variables using awk was a major improvement over sourcing the apsfilter files (executing them as script), but these two problems remain: - ENVVAR="evil_script", eval $ENVVAR - ENVVAR="`evil_script`" apsfilter security fix is: if [ -n "$INSECURE" ]; then APSFILTERRC="$SPOOL_DIR/apsfilterrc \ $HOME_DIR/.apsfilter/apsfilterrc.${LABEL}" else APSFILTERRC="$SPOOL_DIR/apsfilterrc" fi Di 25 Apr 2000 20:41:10 CEST * update TODO file (SETUP support for lpr.conf file) Di 25 Apr 2000 19:45:41 CEST Andreas Klemm * remove contributors from ChangeLog new home: CONTRIBUTORS file Di 25 Apr 2000 19:37:34 CEST Andreas Klemm * Add file ANNOUNCE.previous ANNOUNCE: contains announcements for new release ANNOUNCE.previous: contains announcements for all older releases Di 25 Apr 2000 18:40:44 CEST Andreas Klemm * Add LICENSE file in addition to COPYRIGHT file * Add PROMOTION file * Add DONATION file * README more informative Di 25 Apr 2000 07:58:22 CEST Andreas Klemm * apsfilter.1: add reference to gs-hpdj(1) manpage Mo 24 Apr 2000 17:47:52 CEST Andreas Klemm * Welcome Matej Vela to the apsfilter developer team. Mo 24 Apr 2000 15:41:15 CEST Andreas Klemm * TMP has to be declared before using ID for debugging permissions Mo 24 Apr 2000 14:04:56 CEST Andreas Klemm * apsfilter: - style put '"' around variable names in apsfilter - style use tabs instead of spaces in CLASS section * additions to Matej's hpdj support - set HPDJ_MODEL before CLASS features - if driver is only called hpdj in list of supported printers then set HPDJ_MODEL to unspec, which causes the HPDJ driver to produce code for newer DeskJets - user is permitted to choose another HPDJ printer model via CLASS support (lpr -C) - added many hpdj driver options, available via CLASS support (lpr -C) Mo 24 Apr 2000 12:00:04 CEST Andreas Klemm * filtersetup: after making use of mktemp to create a workfile filters_found file has been created with unsufficient read permissions (0600) for apsfilter script * update version number in test.ps Mo 24 Apr 2000 10:48:35 CEST Andreas Klemm * Patches from Debian Project Big thanks to Matej Vela especially for his patience ;-) - code improvements SETUP, GLOBAL.sh - do_pager function - do_view_perflog and gs -h uses new do_pager function - better newline on echo detection (without tmp file) - bugfixes - GLOBAL.sh: - missing #!/bin/sh - SETUP: - no testpage in serial setup - Startbits unimplemented - support for Martin Lottermoser's hpdj driver got patches for apsfilter 5.1.4, changed it to fit in 5.4.x - apsfilter -> a2ps: LPRng uses `(STDIN)' for jobs coming from stdin, strip this as well from header - "spalling" errors ;-) So 23 Apr 2000 19:45:05 CEST Andreas Klemm * SETUP, apsfilter: reduce the amount of printcap entries to 2 ascii printer can vanish if you want to treat file as ASCII file, then use CLASS option: lpr -C ascii So 23 Apr 2000 19:12:42 CEST Andreas Klemm * use acroread4 or acroread for printing pdf files, it produces better PS code don't pipe through acroread since it leaves a tmp file in tmpdir add acroread4 and acroread to filtersetup From: Michael Lossin So 23 Apr 2000 19:06:20 CEST Andreas Klemm * apsfilter -> print_dvi use 360x360dpi when printing DVI files using uniprint driver So 23 Apr 2000 19:02:30 CEST Andreas Klemm * apsfilter: Use additionally to GS_FONTPATH GS_LIB then additional Fontmap files are also read in From: Michael Lossin So 23 Apr 2000 18:53:00 CEST Andreas Klemm * apsfilter + SETUP: gs: use -_ instead of - when reading from pipe Use.html: The difference between "-" and "-_" is that "-" reads the input one character at a time, which is useful for programs such as GSview that generate input for Ghostscript dynamically and watch for some response, whereas "-_" reads the input in blocks, which is more efficient for ordinary (batch) execution. obtained from: Michael Lossin So 23 Apr 2000 18:44:56 CEST Andreas Klemm * add -dNOPAUSE -dSAFER when printing with uniprint driver although all upp driver (gs 6.01) already contain this. To be sure... obtained from: Michael Lossin So 23 Apr 2000 18:17:56 CEST Andreas Klemm * add missing evals in print_ functions detected by: Michael Lossin So 23 Apr 2000 13:33:19 CEST Andreas Klemm * apsfilter, setup, GLOBAL.sh, uppdescr use mktemp to create tmp file names failover to "less secure" method if mktemp fails for some reason removed it from TODO list use of mktemp suggested by: Michael Lossin * add Michael to list of contributors * SETUP, style: print test page functions better formatted by splitting funtion into two parts Fr 21 Apr 2000 23:33:05 CEST Andreas Klemm * remove unnecessary TODOs * SETUP: install Linux / other systemns manpages allow choosing - different paths - different compressions note: *BSD have a ports collection, which takes care of this Fr 21 Apr 2000 23:12:05 CEST Andreas Klemm * prepare for release 5.4.1 Fr 21 Apr 2000 23:06:00 CEST Andreas Klemm * Update gs 6.01 List of supported printers Assuming your gs binary supports the hpdj driver ftp://ftp.sbs.de/pub/graphics/ghostscript/pcl3/pcl3.html FreeBSD ports collection has this driver included Fr 21 Apr 2000 22:44:00 CEST Andreas Klemm * INSTALL: life printcap example for uniprint drivers with different print resolutions Fr 21 Apr 2000 22:32:31 CEST Andreas Klemm * SETUP: fix "r" option, to read gs driver docu Fr 21 Apr 2000 22:02:00 CEST Andreas Klemm * ANNOUNCE ChangeLog INSTALL: style: class -> CLASS from: Harold Bower Fr 21 Apr 2000 21:52:47 CEST Andreas Klemm * INSTALL/TODO: installation of Linux manpages Fr 21 Apr 2000 21:52:47 CEST Andreas Klemm * Clean import of patch submission from Bjorn Hansson SETUP: - Print as Windows GUEST user, yes/no fix - fix print test page on samba printer apsfilter: - Printing to a remote printer through apsfilter results in an empty SPOOL_DIR. This should either be considered a misconfiguration of apsfilter (easiest) or be handled (on my RedHat system the working directory is the spool directory). - Printing files other than PostScript cannot be redirected to a Samba printer (or remote). Also, choosing PRINT_TO_FILE for a Samba or remote printer still results in data sent to Samba printer. - Printing to Samba printer did not work if ip no. and/or workgroup were absent. - Print redirection missing for non PS print_xxxx() functions. - Raw printing to a HP printer does not reset printer. - Some eval:s missing (or am I completely wrong here) in front of $PRINT_PS string, see print_html and print_sunraster. - If no ip no. and/or workgroup were given, the test page couldn't be printed on a samba printer. - patch that makes it possible to choose remote printers in the same way Samba printers are chosen, i.e. through a .conf file in the spool directory. It uses the file lpr.conf Fr 21 Apr 2000 21:01:00 CEST Andreas Klemm * INSTALL: - Add note to read platform specific installation notes, i.e. doc/README.TurboLinux - comments on different print resolution when using uniprint driver from: Harold Bower Fr 21 Apr 2000 19:42:00 CEST Andreas Klemm * uniprint driver profile finetuning by Harold Bower medium definition driver (lqx70cm.upp) changed to unidirectional print to reduce alignment problems. It is only slightly slower, but produces much nicer print. Fr 21 Apr 2000 19:42:00 CEST Andreas Klemm * make-release use local CVS repo for diffing as well Fr 21 Apr 2000 19:37:00 CEST Andreas Klemm * make-release Before making a release, mirror apsfilter remote cvs repository first. Then use the just mirrored apsfilter repository for rolling apsfilter releases (more speed, less costs, more consistency). Fr 21 Apr 2000 19:30:47 CEST Andreas Klemm * make-release: use CVSROOT from environment Fr 21 Apr 2000 18:17:42 CEST Andreas Klemm * Fix printer selection in SETUP Now comments are really ignored and selection works properly. Fr 21 Apr 2000 17:29:27 CEST Andreas Klemm * Changes in SETUP to ignore comments in printer list * Introduce apsfilter developement site in Internet Fri Apr 21 13:52:29 CEST 2000 Andreas Klemm Good News !!! * The cosmo project sponsored a new apsfilter home - mailing lists: majordomo@cosmo-project.de - apsfilter-announce - apsfilter-cvs - apsfilter-devel - apsfilter-hackers - apsfilter-help - apsfilter cvs repository srv1.cosmo-project.de:/var/apscvs/APSCVS - cvsweb.cgi CVS browser http://www.cosmo-project.de/cgi-bin/cvsweb.cgi - anonymous cvs server Handling: ========= setenv CVSROOT :pserver:cvs@srv1.cosmo-project.de:/var/apscvs/APSCVS cvs login (Logging in to cvs@srv1.cosmo-project.de) CVS password: cvs checkout -r apsfilter cvs server: Updating apsfilter U apsfilter/ANNOUNCE U apsfilter/COPYRIGHT Valid release tags are for example: HEAD - for the latest changed (head branch) RELENG_5_3_3_RELEASE - for release 5.3.3 So 16 Apr 2000 13:52:52 CEST Andreas Klemm * removed some outdated doc files from docu directory updated Makefile * Add new CVS header to some file have to change SETUP, because printer list got also CVS header have to ignore the first two lines... * build up new apsfilter CVS repository on srv1.cosmo-project.de * moved apsfilter sources to new CVS repository * Changed CVS header from $Id$ to $ApsCVS: src/apsfilter/ChangeLog,v 1.274.2.45 2005/02/13 09:46:35 andreas Exp $ So 9 Apr 2000 21:06:38 CEST Andreas Klemm * added manpage for filtersetup(8) So 9 Apr 2000 11:58:45 CEST Andreas Klemm * Printer dependend apsfilterrc files SETUP, apsfilter (printcap): name change in if name Note: '"' only highlites the change aps"1"-stcolor-a4-ascii-360x360 aps"2"-stcolor-a4-auto-360x360 aps"3"-stcolor-a4-raw ... aps"N-2"-stcolor-a4-ascii-720x720 aps"N-1"-stcolor-a4-auto-720x720 aps"N"-stcolor-a4-raw * New location and names for apsfilterrc files $SPOOL_DIR/apsfilterrc i.e.: /var/spool/lpd/PRINTER/apsfilterrc $HOME/.apsfilter/.apsfilterrc.$LABEL i.e.: /home/USER/.apsfilter/apsfilterrc.aps1..apsN * name change: mksymlinks -> mksymlink reason, only creates one now Changes in SETUP... * SETUP: color depth: add missing setting for bpp: 3,16,30 bpp So 9 Apr 2000 11:38:28 CEST Andreas Klemm * start writing manpage apsfilterrc(5) * Makefile: install manpage apsfilterrc(5) Sa 8 Apr 2000 22:09:58 CEST Andreas Klemm * create/install apsfilter manpage * added CLASS support for EPSON stcolor driver and other * enhanced CLASS support. It's possible to set multiple gs driver dependend options on the commandline with -C option: lpr -C opt1:opt2:opt3 * released apsfilter 5.3.3 * apsfilter fix: remote printing with samba didn't work if SMB_PASSWD was used, due to syntax error in script (only one SPACE too less). by: Olivier PAGE * some comments concerning CLASS support without printing the header page. * released apsfilter 5.3.2 * SETUP: bash detected a bug in syntax doesn't work: PRINTER=`awk -F "|" \ "{ if (FNR == $answer ) print \\$2 }" \ < $PRINTER_LIST"` works: PRINTER="`awk -F "|" \ "{ if (FNR == $answer ) print \\$2 }" \ < $PRINTER_LIST`" * released apsfilter 5.3.1 Mo 3 Apr 2000 20:59:03 CEST Andreas Klemm * bugfix: when selecting uniprint driver you entered printer selection loop. Reason is, that uniprint driver aren't compiled in by single driver name, they are all referenced by driver named "uniprint". * remove finished part from todo list. * update HOWTO-BUGREPORTS So 2 Apr 2000 22:52:48 CEST Andreas Klemm * ANNOUNCE: add libtiff URL to list of needed software So 2 Apr 2000 19:58:51 CEST Andreas Klemm * added printer database from RedHat (gs 5.50 based) * added CLASS support from "Louis A. Mamakos" allows you to choose different print quality from commandline if driver and apsfilter supports it, i.e.: lpr -C med filename currently apsfilter supports setting -dQuality for "cdj8*" drivers -dQuality=[-1,0,1] So 2 Apr 2000 15:27:00 CEST Andreas Klemm * released apsfilter 5.3.0 So 2 Apr 2000 15:14:32 CEST Andreas Klemm * updated SETUP, setup/README, setup/printer-5.50, setup/printer-6.01 - contributed driver are marked with (+) - contributed driver in developement are marked with (*) mark contributed drivers and contributed drivers in developement So 2 Apr 2000 13:43:07 CEST Andreas Klemm * SETUP: disallow user to change print resolution if they choose an uniprint or Generic Postscript driver, doesn't make sense. * SETUP: sanity check, if print driver is compiled in into gs So 2 Apr 2000 12:57:02 CEST Andreas Klemm * committ new SETUP * complete printer selection support for - gs 5.50 - gs 6.01 - user contributed driver * adding valid/supported printer is now easy. Simply add the entries in setup/printer- So 2 Apr 2000 11:28:47 CEST Andreas Klemm * SETUP: cdj880 driver was missing. reported by dave * missing "`" in do_check_gs_version Sa 1 Apr 2000 13:19:29 CEST Andreas Klemm * Enhanced make-release script, to provides patches - from earlier releases to last release - from last release to -current release * prepare to update apsfilter port... * make-release: style * make-release: update toplevel index.html automatically Sa 25 Mär 2000 15:11:34 CET Andreas Klemm * Added (to enhance SETUP 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 Di 21 Mär 2000 19:15:09 CET Andreas Klemm * new URL -> http://people.freebsd.org/~andreas Sa 18 Mär 2000 16:22:44 CET Andreas Klemm * generate diffs for the latest release and create webpage with diffs.offer patchesb * fix make-release: add --newfile Fr 17 Mär 2000 07:01:18 CET Andreas Klemm * upp profiles for Epson LQ-570/870/1070/1170 ESC/P2 24-pin Dot Matrix contributed by: Harold Bower So 12 Mär 2000 09:19:49 CET Andreas Klemm * when sending to "request-snailmail", mention apsfilter release in use So 12 Mär 2000 09:19:49 CET Andreas Klemm * Forgot to mention: Released apsfilter 5.2.0 Sa 11 Mär 2000 17:54:30 CET Andreas Klemm * SETUP + apsfilter allow windows (samba) remote printing as - GUEST user - real user and (optionally) password * SETUP: allow printing of testpage on local, local Postscript and windows remote printer (via smbclient -> SAMBA) * Change version to 520 * update INSTALL and ANNOUNCE file Mi 8 Mär 2000 20:02:58 CET Andreas Klemm * write GS_RESOL only to apsfilterrc file, if resolution = default has been chosen. This is because the x-res/y-res in the symlink name (if=....) has now precedence over everything. Only if you choose default, then you can use GS_RESOL to customize print resolution Di 7 Mär 2000 22:27:26 CET Andreas Klemm * SETUP fixes, you can now toggle back to gs default resolution * SETUP: when overwriting printcap it will be nuked entirely * SETUP: when adding entries to printcap old entries won't be commented out * complete revamp of print resolution. * Now you can create different printer with different resolution * if you choose default print resolution, then you are allowed to overwrite print resolution in apsfilterrc with GS_RESOL value Di 7 Mär 2000 21:15:38 CET Andreas Klemm * SETUP creates symlinks with print resolution or "default" * If you need two different print resolutions, simply create 2 printers with SETUP. Di 7 Mär 2000 19:39:34 CET Andreas Klemm * reduce the amount of printer entries per printer I think it's matter of the application to do color or b&w printing So we have now 3 printcap entries per printer * Introduce apsfilterrc variable color, to make it possible to choose "mono" if needed Di 7 Mär 2000 17:20:01 CET Andreas Klemm * SETUP / Global.sh / apsfilter / make-release : prepare for 5.2.0 * bugfix GS_FONTPATH hasn't been set because of wrong test (-f -> -d) Di 7 Mär 2000 13:50:37 CET Andreas Klemm * revamp control over a2ps operation and look&feel either configure - A2PS_OPTS - or a combination of A2PS_BASIC A2PS_STYLE A2PS_BORDER A2PS_HEADER A2PS_OPTS = overwrites complete a2ps command line, only exception: apsfilter auto file type recognition adds a file type parameter A2PS_BASIC = basic options A2PS_STYLE = how many pages per sheet, portrait or landscape A2PS_HEADER = want a page header A2PS_BORDER = want a border around pages A2PS_PAPERSIZE = want to use an own customized a2ps printertype which has been defined in /usr/local/etc/a2ps.cfg Di 7 Mär 2000 13:03:33 CET Andreas Klemm * fixes in SETUP because of new config variables * fix in SETUP under "News", /etc/apsfilter.$PRINTER * fix in SETUP, because no INSECURE FLAG anymore * fix in SETUP, concerning old Design informations Di 7 Mär 2000 12:19:03 CET Andreas Klemm * more security for apsfilter apsfilterrc files aren't sourced anymore instead of this config variables are grabbed via awk So -> got rid of INSECURE FLAG !!! * some environment variables have changed because of length and style OLD NEW ---------------------------------------------------------- PRINT_RAW_SETUP_PRINTER RAW_SETUP PRINT_RAW_SUPPRESS_FORMFEED RAW_SUPPRESS_FF FEATURE A2PS_FEATURES DVIPS_RESOL_DorP DVIPS_RES_DorP USE_RECODE_NOT_A2PS USE_RECODE PAGES_REVERSE_ORDER DVIPS_REVERSE * apsfilterrc files have different format defining above variables field separator is "!" (because all other possible good signs are already used by command options), i.e.: A2PS_FEATURES!1n! Please use the 2nd "=", so that only "1n" will be fetched and nothing more from the rest of the line which might be a comment. note: the file itself looks like shell syntax, but won't be sourced ! * changed the field separator of smbclient.conf file from ':' to '!' so that this is unique within apsfilter SETUP and apsfilter script are affected * modified apsfilterrc template file to reflect new file format (field separator '!') * modified SETUP to write some defaults in that format. Mo 6 Mär 2000 23:58:36 CET Andreas Klemm * fix samba remote printing, -c 'print -' was missing... Mo 6 Mär 2000 21:31:17 CET Andreas Klemm * Extended samba support SAMBA printer is automatically recognized if there is a smbclient.conf file in the printers spool directory Following format: SMB_SERVER:SALOME: # NetBIOS name, i.e.: "NT40SRV" SMB_PRINTER:EPSON: # service (printer) name, i.e.: "EPSON" SMB_IP:172.16.1.2: # IP Address of NetBIOS server SMB_WORKGROUP:KLEMM: # Workgroup Name SMB_BUFFER:1200: # finetune send buffer size (def. 65520) SMB_FLAGS:-N: # suppress password prompt The environment variable SAMBA_PRINTER is unnecessary now * Added Samba Printer support in SETUP * trim sleeps a bit in SETUP Mo 6 Mär 2000 19:13:12 CET Andreas Klemm * when testing and setting PRINT_TO_FILE if you want trash: KEEP_PRINTOUT="YES" # set to keep $TMP_PRINTOUT if you want to postprocess tmp printout with gs POSTPROCESS_PRINTOUT="YES" # set to pipe it through PRINT_PS * style: "! -z" -> "-n" in string tests * GLOBAL.sh: add /home/local/bin as local path Mo 6 Mär 2000 13:35:12 CET Andreas Klemm * some style fixes from Debian concerning tmp file handling in apsfilter. Declare tmp variables at the beginning of apsfilter. * introduce TMP variable, might be set to /var/tmp, if root- or memory filesystem too small * document PRINT_REMOTE a little bit more verbose * Fix e-mail address in README, to get postal address Do 2 Mär 2000 17:30:14 CET Andreas Klemm * released apsfilter 5.1.5 Do 2 Mär 2000 17:13:24 CET Andreas Klemm * 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. * updated HOWTO-BUGREPORT, former name APS-BUGFORM, moved it to toplevel * updated TROUBLESHOOTING Do 2 Mär 2000 16:38:25 CET Andreas Klemm * Added menue entries in SETUP for the contributed uniprint driver settings for Epson Stylus Color 740 stc740ih.upp : Epson Stylus Color 740, 1440x720DpI, Inkjet Paper stc740p.upp : Epson Stylus Color 740, 720x720DpI, Plain Paper stc740pl.upp : Epson Stylus Color 740, 360x360DpI, Plain Paper Do 2 Mär 2000 14:26:45 CET Andreas Klemm * Bugfix for installing multiple printer of different flavor Old behaviour: SETUP creats an /etc/apsfilterrc file for 1st printer. When installing 2nd printer - which differs in gs-driver - then /etc/apsfilterrc file gets overwritten and the settings at the end of apsfilterrc file are lost. Even worse, your 1st printer which might be a color printer might be confused by the B&W settings of the 2nd printer. FIX: /etc/apsfilterrc (global settings, created only by system administrator, not SETUP script) SETUP now installs only /etc/apsfilterrc.PRINTER config file * changes in SETUP and apsfilter to get rid of UP_PROFILE variable. apsfilter script now is capable of detecting uniprint driver by scanning the name of the printer: case $PRINTER in *.upp) PRINT_PS="gs command with uniprint syntax";; *) PRINT_PS="gs command with normal syntax";; esac Di 29 Feb 2000 10:34:43 CET Andreas Klemm * Update FAQ (questions from Mike Riella ) What are the 5 printers for in /etc/printcap Which printer to use for samba users -> raw Sa 19 Feb 2000 13:04:59 CET Andreas Klemm * Linux RedHat and Slackware permission problems find out, under which user id apsfilter runs, by writing the output of id command to tmp-file... * Updated FAQ concerning RedHat and Linux lpd permission problems. Mi 9 Feb 2000 04:52:39 CET Andreas Klemm * Add FAQ entry about incorrect papersize when printing ASCII using a2ps. make clear to use a2ps-letter. So 2 Jan 2000 18:16:14 CET Andreas Klemm * Default for A2PS_OPTS still wrong ... did it right now Got a wrong submission from a user and I didn't test it thoroughly in the past -X iso1 --portrait --no-header --borders=no -1 So 2 Jan 2000 16:49:46 CET Andreas Klemm * "Francois D. Menard" contributed upp driver files for Epson Stylus Color 740 * added uniprint subdirectory for additional contributed upp files * add support for different upp files for _one_ printer via apsfilterrc file as suggested by Francois * add docu and examples to template apsfilterrc file * Eran Guendelman make more clear in SETUP, that you need to set PAPERTYPE in order to print the test page and properly setup the printer also changed order of menue entries. So 2 Jan 2000 15:48:16 CET Andreas Klemm * rodney simioni SETUP and setup/filtersetup doesn't run under Solaris 7 /bin/sh doesn't grok [ -z $var ], have to use [ -z "$var" ] like in apsfilter script * make-release changes, so that only _missing_ apsfilter release tar archives are re-created to prevent frequent md5 checksum changes... So 28 Nov 1999 11:06:36 CET Andreas Klemm * Update FAQ, how to get rid of the borders when printing ASCII documents. * Change apsfilterrc, to state out, that A2PS_OPTS is the now recommended way to configure a2ps text formatting * Be more verbose about difference of legacy config option FEATURE and the A2PS_OPTS config variable, wich overwrites a2ps printing options completely. * Feature request by John Culleton : Changed default to print portrait without border, since many people seem to want this as (better) default. So 21 Nov 1999 10:09:11 CET Andreas Klemm * Update FAQ, how to adjust page margins Sa 13 Nov 1999 15:26:30 CET Andreas Klemm * Updated FAQ, printing on Solaris 7 (x86, sparc) Fr 22 Okt 1999 20:09:11 CEST Andreas Klemm * added doc/REMOTE-PRINTING sample how to implement this So 29 Aug 1999 17:06:47 CEST Andreas Klemm * Improve functionality of make-release script Automate as much as possible !!! Sa 28 Aug 1999 08:54:28 CEST Andreas Klemm * released apsfilter 5.1.3 * more secure temproary files, this nice idea was from Lars Köller. Now we have a umask of 077. * Better guidance to uniprint drivers, it was previously a little bit hidden. * SETUP many display enhancements to make the setup script more informative for the user. * change destination (download directory) in make-release script after homepage directory redesign. Mo 19 Jul 1999 00:38:19 CEST Andreas Klemm * apsfilterrc: added nice a2ps options from Lars Köller * SATISFIED_CUSTOMERS file Sa 12 Jun 1999 23:48:28 CEST Andreas Klemm * re-released apsfilter 5.1.2 * fixed a cosmetic thing in SETUP, cd into lib dubdir, so that new gs's error message redirection works... * cosmetic fix/typo in apsfilter script and SETUP Sa 12 Jun 1999 18:16:59 CEST Andreas Klemm * released apsfilter 5.1.2 So 6 Jun 1999 19:20:36 CEST Andreas Klemm * Frank McIngvale SETUP bug report (tested patch) to prevent GS_RESOL=x in /etc/apsfilterrc, when RESOL=default if [ "$RESOL" != "default" ]; then RESOL="${XRESOL}x${YRESOL}" fi Do 3 Jun 1999 13:56:58 CEST Andreas Klemm * SETUP: print time to compute testpage and time to print testpage * SETUP: pipe these times with tee into logfile, to help to decide later, which driver to choose... * when selecting uniprint, don't show uniprint in SETUP menue, instead display selected uniprint driver settings... * apsfilter: missing PAPERSIZE in PRINT_PS command for uniprint * SETUP: missing PAPERSIZE in PRINT_PS command for uniprint * Andreas Reuter contributed a PS file (redir_gs_msg.ps) to redirect Postscript error messages; added lib directory to include such PS cmd files Patch PRINT_PS to include this libdir in searchpath for ps files. Mi 26 Mai 1999 22:36:19 CEST * "David G. Andersen" Add hint in INSTALL file, how to patch FreeBSD's usr.sbin/lpr/chkprintcap/chkprintcap.c, to allow sharing of a spooldir by several printers in /etc/printcap. Needed for lpr -P{low,medium,high} Di 25 Mai 1999 22:16:25 CEST Andreas Klemm * make use of psutils package to print 2 pages on one added this to PRINT_PS variable to enable this you only have to set PSUTILS in one of the apsfilterrc files Then two pages on one is not only limited to print_ascii Mo 24 Mai 1999 11:44:08 CEST Andreas Klemm * release apsfilter 5.11 * fix resolution calculation, don't simply default to 300dpi if user only want's to use gs-driver default resolution. This leads to the necessary change to move code concerning dvips resolution calculation into print_dvips routine. * enhance apsfilter bugform * move entry of rogue printers into other case struct * cosmetic changes, move copyright more in front... So 23 Mai 1999 13:00:59 CEST Andreas Klemm * release apsfilter 5.10 * changes for FreeBSD ports collection: don't call SETUP automatically on "make install" so isn't interactive anymore, so IS_INTERACTIVE has gone and apsfilter will reside on the next FreeBSD CD-ROM... * remove all occurrences of BETA version .... * add env variable for dvips PAGES_REVERSE_ORDER to force adding -r switch, apsfilterrc updated as well * revamped the code to detect print resolution, now we have the following variables and priorities (a) is highest prio) RESOLUTION is used for ghostscript commandline (for setting GS_CMD_RESOL) XRES is used for setting resolution on dvips commandline a) if resolution is part of filter script name DPI=XXXxYYY -> RESOLUTION=$DPI -> XRES=XXX, YRES=YYY b) if DPI is not set and if GS_RESOL has been set by the user (XXXxYYY) -> RESOLUTION=$GS_RESOL -> XRES=XXX, YRES=YYY c) if DPI and GS_RESOL have not been set and we have a PS printer PS_xxx, then set: -> RESOLUTION=XXXxYYY -> XRES=XXX, YRES=YYY d) default to 300dpi, to be able to set resolution for dvips commandline, gs uses the default resolution of the printer driver... -> RESOLUTION="" -> XRES=300, YRES=300 * add installation instructions to INSTALL, how to manually configure apsfilter, to use different print resolutions, to get the following functionality: lpr -Plow test.ps (print in 180dpi) lpr -Pmed test.ps (print in 360dpi) lpr -Phigh test.ps (print in 720dpi) Sa 15 Mai 1999 11:36:47 CEST Andreas Klemm * add new apsfilter testpage from Andreas Reuter tiger.ps is gone ;-) * save UP_PROFILE variable in SETUP.cfg as well * Get some enhancements from SuSE version of apsfilter (v 1.6) with some modifications - CRLF translation and perforation skip for more HP models - printer type dependend apsfilter setup files with the following precedence: /etc/apsfilterrc /etc/apsfilterrc.${PRINTER} $HOME/.apsfilterrc $HOME/.apsfilterrc.${PRINTER} - new GS_FONTPATH environment variable to make use of additional fonts, i.e.: X11R6's type1 fonts a) can be set in apsfilterrc files b) if not set it defaults to /usr/X11R6/lib/X11/fonts/Type1 or /var/X11R6/lib/X11/fonts/Type1 - default printer resolution now also defineable in apsfilter filter script name please note, apsfilterrc file settings GS_RESOL have precedence over the new configuration scheme - new user settable environment variable USE_RECODE_NOT_A2PS use recode instead of a2ps to print ascii files, so: - print_ascii has been renamed to print_ascii_a2ps - new shell function print_ascii_recode has been introduced - new environment variable RECODE_OPTS defaults to "-q latin1:ibmpc" overwriteable by the apsfilterrc files - new supported filetypes - bmp - FAX G3 - troff * some dvips settings cleanup, use -Z only when resol >= 400dpi * cosmetic, sort order of shell functions for printing and "case" structure by file type * when printing html use some sane defaults for HTML2PS_OPTS if not set in apsfilterrc files Mo 1 Mär 1999 16:41:21 CET Andreas Klemm * RELEASED apsfilter 5.0.1 * file command now doesn't need to read from stdin, I forgot this in 5.0.0, now file works directly on the tmp file. Had to remove one "shift" to make this work properly. * Added this to the contrib section From: Skliarouk Peter Wrote filter for russian fonts for matrix 9-pin printers. It uses only ESC-consequences to transform chars to theirs graphics representations. Do 18 Feb 1999 22:13:29 CET Andreas Klemm RELEASED apsfilter 5.0.0 Do 18 Feb 1999 21:15:27 CET Joachim Achtzehnter * LPRng support * writing the first 8k into a tmp file makes rewindstdin unnecessary Sat, 24 Oct 1998 22:29:12 -0500 (CDT) Glenn Johnson * uniprint driver support (for ghostscript >= 5.10) So 5 Jul 1998 22:54:07 CEST Andreas Klemm * apsfilter 4.9.9 released * recognition and printing of bzip2 compressed files. Sa 4 Jul 1998 19:11:46 CEST Andreas Klemm * apsfilter 4.9.8 released * support printing of PDF files, sorry we need tmp files, since pdf2ps (gs) needs direct file access, see gs docu * fix bug in SETUP script, when having a color printer, create the necessary printcap entries and spooldirs * set the default printer "lp" to the auto-color printer if you have a color printer. New variable DEFAULT_PRINTER controls this (2=mono, 4=color) * fix mksymlinks utility, create all necessary color links Do 4 Jun 1998 23:17:20 CEST Andreas Klemm * apsfilter 4.9.7 released * Added support for new HP DeskJet Driver in FreeBSD port of ghostscript 5.10. As a result apsfilters SETUP needs to know about the new printer drivers. See: http://bonk.ethz.ch/hp850/hp850.html http://bonk.ethz.ch/hp850/hp850-readme.1.3.html * Put license.hp8 and readme.hp8 files from the new HP driver into the doc directory. PLEASE READ THE README FILE, IT CONTAINS IMPORTANT INFOS, WHAT THE NEW DRIVERS DO AND WHAT NOT. THE OUTPUT OF THE NEW DRIVERS CAN BECOME HUGE !!! * If you want that for Linux as well, you have to patch the ghostscript sources and to rebuild ghostscript 5.10. The URL's above contain some (not complete) instructions how to do that. * For more hints you can browse through my diffs in the FreeBSD ports collection. Fr 29 Mai 1998 00:23:28 CEST Andreas Klemm * Fix ANNOUNCE, added HTML to list of supported file types. Fr 29 Mai 1998 00:04:35 CEST Andreas Klemm * From: Neil Hart get rid of SPOOLDIR /usr/spool for Linux installations ... nearly all OS now use /var/spool ... * apsfilter 4.9.6 released Di 26 Mai 1998 21:10:11 CEST Andreas Klemm * From: Neil Hart 1. the script setup/compile refers to the directory a2ps-4.2-akl-new, but the source is actually in the directory a2ps-4.2-akl 2. the script setup/compile doesn't invoke Makefile.linux, but instead simply defaults to use the (non-functional) Makefile in that directory 3. the install_it script in the rewind-stdin directory has the line ''cp rewindstdin $BINDIR" commented out, so it never actually installs the program So 17 Mai 1998 22:59:07 CEST Andreas Klemm * Release 4.9.5 * Nice idea from wizant.keidel@t-online.de (J.Keidel) to support direct printing of HTML documents Mi 13 Mai 1998 19:58:53 CEST Andreas Klemm * revamp make install for ports collection and such... Di 12 Mai 1998 22:57:10 CEST Andreas Klemm * better SETUP and various fixes. * Release 4.9.4 So 22 Sep 1996 18:43:14 MET DST Andreas Klemm * added support for some gs3/gs4 printer: st800, stcolor * added better support for the Stylus PRO * enhanced apsfilterrc for better color printer support (gs init files, resolution) Mon Nov 27 19:43:28 MET 1995 Andreas Klemm * released apsfilter 4.9.3 for FreeBSD 2.1 cleaned up the package, source will be compiled first, and then installed (no precompiled binaries in apsfilter/bin) Tue Oct 24 18:20:09 MET 1995 Andreas Klemm * released apsfilter 4.9.2, special version for FreeBSD 4.9.2 but same functionality as 4.9.1, so Linux users don't are in any disadvantage ;-) * make some little changes to apsfilter 4.9.1 to fit into FreeBSD package format fine ;-) * Added in setup a README file * Modified the README in template * globally changed version numbers to 4.9.2 * Modified ANNOUNCE file to inform people, that 4.9.2 is functionally the same as 4.9.1, but packaged for FreeBSD 2.1 Montag, 10. Juli 1995 20:45:55 Uhr MET DST Andreas Klemm * released 4.9.1 Montag, 10. Juli 1995 20:45:55 Uhr MET DST Andreas Klemm * FranzJosef Knelangen "Fatal error: need gs ..." error eliminated in bin/apsfilter Samstag, 8.Juli 1995, 19:51:37 Uhr MET DST Andreas Klemm * released 4.9 Samstag, 8.Juli 1995, 19:00:47 Uhr MET DST Andreas Klemm * Klaus-Dieter Henkel : can't print PS and ASCII files onto a PS printer, because of "HAVE_GS = True" checks in the wrong context. Obviously he doesn't need ghostscript when having a PS printer. Moved the check to the 4th section when creating the PRINT_PS variable. Thanks, this was a important fix !! * Andrew Young Mr. ispell && grammer checker ;-)) fixed some chicken english mistakes ;-)) * Uwe Bonnes Fix for a2ps to strip the MS-Dog ^M at end of line in PS files. * myself bin/apsfilter: DVIPS_RESOL_DorP, was misspelled in section 2 * Thomas Esser fixes for setup_dvips.sh Thu May 4 13:27:43 MET DST 1995 Andreas Klemm * Martin Kraemer : Many many things, *thanks*: - setupaps removed - PRINT_TO_FILE disabled, was only for testing purposes - set -x also. - Test for empty variables changed ( -z "$XXX" ) - okidisplay.tar.gz into new contribution dir Mon May 1 17:41:25 MET DST 1995 Andreas Klemm * bin/setup_dvips.sh fixed: RES=RES_X added Mon May 1 13:54:51 MET DST 1995 Andreas Klemm * 4.9 Test release released * Since there seem to be two different flavours of dvips program, I introduced a DVIPS_RESOL_DorP Flag, to use -P or -D option when changing print resulution. Defaults to -D for Thomas Essers dvips (teTeX-0.3). * Added an INSECURE Flag that can be set in /etc/apsfilterrc globally. Only by setting INSECURE to True, its possible, that users custom configuration file is executed with lpd (sometimes root) Permissions. Thu Mar 2 20:05:38 1995 Thomas Bueschgens * created setup_dvip.sh to support newer versions of dvips. Thanks to Thomas Esser for some metafont-tips. * created README.TeX, just first version, but it'll suffice :-) * Changed -D (RES) to -P (RES) in apsfilter (DVIPS_OPTS) Mon Feb 6 19:30:55 MET 1995 Andreas Klemm * uphya001@odie.physik2.uni-rostock.de (Lars Koeller) His flavour of file command prompts with "ascii text (with escape sequences)" when printing PCL (HP command language) files. So the case structure gets an alternative *escape*|*data*). And the case data has to be moved before the case ascii clause. Tue Jan 31 12:54:07 MET 1995 Andreas Klemm * joe@fred.iaas-berlin.de (Joachim Schoenberg): - in 4.9-gamma, typo in line 461, wrong fi at end of a command - added "from $LOGINNAME" in fault filetype (for network print.) Sat Jan 28 19:10:12 MET 1995 Andreas Klemm * joe@fred.iaas-berlin.de (Joachim Schoenberg): print data failed, solution: case *data*) * eleminated GS_RESOL in apsfilter script. Trust ghostscripts defaults in its printer driver. If you need it, the set it via apsfilterrc. Modified sample apsfilterrc file. Mon Jan 2 20:17:49 MET 1995 Andreas Klemm * daub@einstein.cs.uni-duesseldorf.de: apsfilter: A2PS_STD_OPTS changed to A2PS_STD_OPTIONS * Christoph Junge : esc2 wrong -> escp2, changed in apsfilter added st800, Stylus support. * Michael_Nelson FAQ: problems with LJIII and 1 MB Ram when printing with a2ps two pages on one and resol. = 300dpi. Solution: resol 150x150. * SETUP: touch SPOOLDIR/lock and chmod 644 for Slackware 2.1.0 necessary. * Corey Sweeney and many others ... want remote printing functionality ... ;-) Here it is, the ugly hack: bin/apsfilter: when setting REMOTE_PRINTER=True then we print to a printer named remote. So make a printer entry in /etc/printcap for your printer named remote and set the environment variable in bin/apsfilter ( ~ line 55) Please note, now everything is being sent to the _one_ remote printer ... sorry ... !!!! Added some comments to the FAQ. * Donald R. Newcomb Support for Panasonic KX-1123 (KX-1123P?). Take type epson. Added epson support in bin/apsfilter Hope dvips X and Y coordinates 360x180 are in the correct order ... I'll hear from you ;-) FAQ updated. * Lucas James rewindstdin fails for FreeBSD 2.X, because of the new 64 bit offsets. Added support for FreeBSD 2.X. * From: Thorsten Frigger SunOS 4.1.X / Solaris 1.1.X - file(1) can't read from pipe Added FreeBSD's sources of file command. Solaris sysadms can now fiddle around with that version. But beware, you are on your own ... Don't know if its suitable to replace the originally file command completely ... be careful !!! * Steve Whorwood Patch for a2ps.c. Slackware 2.0 with man 1.3 produces other escape sequences for boldface, so a2ps fails printing boldface correctly when printing manpages. A fix for a2ps.c in the src tree provided .... * bumped version counter to 4.9 in different files * Updated FAQ * fixed Toms e-mail address in the file DONATIONS, to keep him happy ;-) Tue Nov 1 09:20:17 MET 1994 Andreas Klemm Stefan Roehrich * changed typo in apsfilter, esc2 -> escp2. Sun Oct 9 19:39:06 MET 1994 Andreas Klemm * changed mknew, not to include new and unfinished setupaps stuff and RCS files for rel 481. * gs isn't a public domain product. Changed this in ANNOUNCE and WHO_AM_I. Hope I removed all occurrences. * rolled Rel. 481 Sun Oct 2 17:27:51 MET 1994 Andreas Klemm * Vince Skahan wanted landscape printing: Added a new a2ps feature in apsfilter: 1l and 1ln Allows you to print one page landscape with and without header. Changed the code around a2ps, basic (needed) a2ps opts, that must be kept even if user overwrite the A2PS_OPTS variable in their apsfilterrc files. Updated apsfilterrc file. Sun Oct 2 13:39:22 MET 1994 Andreas Klemm * bcr@physics.purdue.edu (Bill C. Riemers) asks for more security, so: Security enhancements to SETUP. Check if we are installed in a directory, that is owned by root, daemon or bin. Otherwise inform user, ask for permission to fix it, show user waht will be done. Exit, if user isn't willed to give us permissions ... Only exception are our developement machines knobel and hammer ... since we develope under our user accounts ... ;-) Fri Sep 30 10:43:06 MET 1994 Andreas Klemm * Work on bug (7), try to give each printer his own spool dir. Sun Sep 25 17:48:12 MET 1994 Andreas Klemm * changed mknew, so that GNU tar follows symbolic links * introduced a form to report bugs APS-BUG-FORM added this info into INSTALL file * bumped version to 4.8, changed 4.8 to 48 in GLOBAL.sh so that mknew produces aps-48.tgz, as announced !!! Sun Sep 25 12:55:41 MET 1994 Andreas Klemm * removed the silly benchmark from SETUP * a2ps manpage will be installed if certain fix man-dirs are found. * added option -nL for a2ps to suppress the user Login ID as well when printing pages with no borders (FEATURE 1n and 2n) * updated documentation / installation * introduced a TROUBLESHOOTING file, debugging hints ... * changed the name of the variable DEBUG_TO_FILE to PRINT_TO_FILE to make more clear, that print data will be put into this file. Real debugging output will be found in the file PRINTER_SPOOLDIR/log as before ! * disabled debugging in the filter for the final _release_ version 4.8 * added LOCAL_PATH in global/GLOBAL.sh, to be in sync with TROUBLSHOOTING docu, how to add more local search paths to needed programs. * updated docu a bit. renamed some files, added some files to be more clear. Sat Sep 17 20:27:36 1994 Thomas Bueschgens (sledge@hammer.oche.de) * Added PROBLEMS file so people know what to do in case of trouble, whom to send mail to and so on! * Let RCS take over the revision/release-numbers to avoid those 4.01Beta-names!! Two number should be sufficient, right? * README: added pointer where to get pbmplus & jpeg-stuff if someone needs to add this stuff to his machine to print pictures. * setup/filtersetup: added support for djpeg needed for printing JPEG-Pictures. Introduces HAVE_DJPEG for apsfilter automatically. * bin/apsfilter.tom: added support for JPEG-pictures for both, color and mono-printer. Due to that new Variable DJPEG_OPTS which is set depending on color/mono-printer. Wed Aug 31 21:28:20 MET DST 1994 Andreas Klemm * rolled new version 403 Beta Wed Aug 31 21:23:36 MET DST 1994 Andreas Klemm * bug in SETUP, filtersetup run very early and don't find a2ps and rewindstdin, filtersetup wasn't repeated later, when a2ps and rewindstdin are compiled and installed ... * since we compile in background, we wait for that ... * introduced fun stuff ... do you have humour ?! ;-) Sat Aug 27 18:38:48 MET DST 1994 Andreas Klemm * bumped version count to 4.02 (Beta) to avoid confusion Sat Aug 27 18:29:55 MET DST 1994 Andreas Klemm * introduced global apsfilterrc file /etc/apsfilterrc Therefore changed SETUP again. * read apsfilterrc now erlier in apsfilter, not in the case structure or functions ... Perhaps a bit overhead, but shorter and better * read global apsfilterrc first, so that there are sane defaults, and then - if present - the users one ... so the user gets his customization but if he has an old template I keep apsfilter happy for the case, it contains needed stuff for runtime. Sat Aug 27 16:52:17 MET DST 1994 Andreas Klemm * bumped version to 401B (Beta) to avoid confusion when speaking about the new release ... ;-) Sat Aug 27 15:23:33 MET DST 1994 Andreas Klemm * Better documentation of template/apsfilterrc * new compile/install utility setup/compile * Enhanced the SETUP script in many ways ... - script calls setup/compile to automatically compile and install a2ps and rewindstdin. - additional remarks concerning user setup (apsfilterrc) and remote printing... Sat Aug 27 13:17:23 MET DST 1994 Andreas Klemm * My e-mail address changed ! ;-) Please note this ;-) * Changed mknew to create smaller uuencoded Beta versions If a apsfilter Release contains the letters {a,A,B,b} ( -> see GLOBAL.sh ) then this smaller archive is created without doc and testfiles. * End of SETUP utility tells you now what to do next: compile and install a2ps and rewindstdin. Wed Aug 24 18:22:18 MET DST 1994 Andreas Klemm * Some more installation instructions for a2ps and rewindstdin in the README file. Wed Aug 24 17:56:43 MET DST 1994 Andreas Klemm * changed apsfilter's fault_filetype function to be smarter and nicer. Better formatted output and tells user now about "unsupported" filetypes ... and that he might solve this by typing lpr -Pascii or lpr -Praw. Since it might be possible that he tried to print ascii files containing control characters or such ... who knows what file(1) reports ... * fixed bug in SETUP, it didn't ask properly for BAUDRATE when installing a serial printer. Asked for Device twice, removed one question ;-) * bj10e doesn't have 360dpi, changed it to 300dpi, hope that's correct now. Wed Aug 24 16:28:13 MET DST 1994 Andreas Klemm * Rolled the version 4.0-Beta * Changed global/GLOBAL.sh to version 4.0 * Merged older changelog files into this one (beginning from apsfilter 1.3 !!!) * added Q 1.4 "Printing of long ascii listings (C-Source,...) is dog slow..." to FAQ * added Q 1.5 "how to manage strange search paths for programs..." to FAQ * FAQ Q 1.1, ypu have to run filtersetup, not mksymlinks, to add new filters to the apsfilter program. * created a KNOWN_BUGS file - a todo file ... Wed Aug 24 16:15:32 MET DST 1994 Andreas Klemm * removed doc/INSTALL since its meaningless ;-) It explains to you how to extract the gnu zipped tar archive aps-XXX.tgz. But to get that file/information you have to extract the archive first ... you get the clue ?! ;-) Wed Aug 24 15:22:34 MET DST 1994 Andreas Klemm * Updated README and WHO_AM_I to reflect the latest changes * Changed the name WHO_AM_I to WHAT_AM_I to reflect the purpose of this file better. * removed README_QUICK_INSTALL since it didn't contain valuable stuff and README is already smart to the user ;-) * Created a file MANIFEST which is a list of all files that belong to apsfilter with a short description for what purpose they are. Removed that stuff from README. * Added more information into README, which documents to read next. * Changed README to tell the user to install the template file apsfilterrc into his home directory. * introduced the file FAQ in apsfilters top level directory. * put only apsfilter under RCS revision control starting at apsfilter 4.1 * stripped apsfilter a bit more, moved changelog and thanks to contributors into this file Wed Aug 24 15:02:09 MET DST 1994 Andreas Klemm * After Thomas had his `creative time' the version is again owned by me ;-) This means testing and writing docu ;-) Thanks Tom for your valuable work when I had no time to change the things in the filter ! * Changed Makefiles of src/a2ps-4.2-akl-new and src/rewind-stdin. Introduced the shellscripts install_it. These scripts are looking in /etc/printcap, where apsfilter is really installed, to place the binaries of a2ps and rewindstdin exactly in $APS_BASEDIR/bin, which is on top of the search path in apsfilter. This makes sure, that the enhanced a2ps will be used instead of older ones. Same for other tools needed for apsfilter. * The install_it scripts checks and makes sure, that apsfilter has to be installed first before attempting to install a2ps and rewindstdin. Thu Aug 11 14:23:15 1994 Thomas Bueschgens (sledge@hammer.oche.de) * setup/mksymlinks: create necessary symlinks if color printers are choosen. * SETUP: added support for color-printers so the correct entries for /etc/printcap are computed. remove FEATURE from setup, this is user-configurable by now from .apsfilterrc Wed Aug 10 10:06:53 1994 Thomas Bueschgens (sledge@hammer.oche.de) * bin/apsfilter.tom: added PNMTOPS-variable to control wether color or mono-pics are created. recompute HAVE_PNMTOPS to depend on HAVE_PPMTOPGM if mono is used to ensure correct error-messages if pbm-utils are installed incomplete. * setup/filtersetup: added ppmtopgm to the list of needed/supportet filters so color-data may be converted to mono-data. * bin/apsfilter.tom: moved A2PS_MARGIN-definition to print_ascii() so it is only defined if necessary. Tue Aug 9 16:36:59 1994 Thomas Bueschgens (sledge@hammer.oche.de) * bin/apsfilter.tom: changed 'echo $0' to 'basename $0' sp paths with '-' are recognized correctly, too. Mon Aug 1 09:09:05 1994 Thomas Bueschgens (sledge@hammer.oche.de) * SETUP: removed the choice wether to modify /etc/magic or not since this caused errors on many systems Corrected some typos * template/: changed the README and added a warning that double-entries in /etc/magic may cause malfunctions of apsfilter * global/GLOBAL.sh: changed one path to reflect my systems tex-installation * doc/: changed the documentation a bit to keep track with the newest changes * SETUP: read BAUD if installing a serial-printer, don't write APS_BASEDIR to /etc/printcap if addinga printer * template/apsfilterrc: added the HAVE_MAKETEXPK and FEATURE-templates to the example-apsfilterrc * bin/apsfilter.tom: clean up documention in apsfilter, changed a2ps-options, added HAVE_MAKETEXPK-flag moved FEATURE-recognition from apsfilters name to users config file .apfilterrc, prepared use of color-property added support for compacted ASCII-files if ascii-filetype was forced ================================================================================ changes 3.0.1 -> 3.0.2 ================================================================================ [ some fixes from Bob Trush ], thanks ! - corrected typo in README, README_QUICK_INSTALL and setup - added support for HP Laserjet 4l "ljet4l" - support for BSD/386 from BSDI - new variable MAGIC defines where the magic(5) file can be found - grabs HOME_DIR more precisely using grep "^$LOGINNAME:" .... - more precise and effective usage of the shells eval command for eval $PRINT_PS ... - added/changed PATH in GLOBAL.sh - added HAVE_MAKETEXPK to decide wether to create fonts while print_dvi or not ================================================================================ changes 3.0 -> 3.0.1 (AKL) ================================================================================ - changed $APS_BASEDIR/bin/GLOBAL.sh to $APS_BASEDIR/global/GLOBAL.sh - lowercase the output of the file(1) command to be more portable rewritten the queries in the case structure ================================================================================ changes 2.3 -> 3.0 (AKL) ================================================================================ - removed reverse print order for nec printers - added -M option not to call MakeTeXPK to create missing fonts when printing with dvips because of a bug in the script that causes an exit of apsfilter and not printing anything. - ascii->a2ps: added missing -1 option when printing in portrait. - HOME_DIR is users homedir. Here we look for ps files that might be included when printing dvi files with dvips using the feature, to include Postscript pictures produced by xfig or other programs... - introduced a .apsfilter config file in each users home directory allows the user to add printer specific initialization when printing raw ascii text var. PRINT_RAW_SETUP_PRINTER allows to set special init commands var. PRINT_RAW_SUPPRESS_FORMFEED suppresses formfeed after print_raw - modifications for EPSON STYLUS (gs' printer type esc2 wasn't managed by the filter. - added support for esc2 printers ;-) I forgot them uiiii ;) - removed $ECHO which represented an echo command that can handle control characters \xxx since printf is used for that ... - introduced user custom print and feature commands in some print functions ... print_dvi, print_raw, print_ps .... user defineable via $HOME/.apsfilterrc file - removed Preserving of TMP_FILE since we don't have any ... - added a global setup file bin/apsfilterrc that is created during installation by bin/filtersetup. It contains env. variables that tell us, which filter programs are available or not (gs, dvips, a2ps,...) If you add a filter, then you have to edit filtersetup and rerun it. In apsfilter you should ask then, if a special filter is available before trying to call it .... - added sun rasterfile support - read PATH from GLOBAL.sh - removed all occurrences of TMP_DIR, since not necessary anymore - added /usr/openwin/bin to searchpath for Sun's Solaris 1 to find ras2ps.... - added filter support for gif and fig - print sunraster using Poskanzer bitmap utilities, if ras2ps isn't there - can print compressed files compressed by: compress, gzip, pack, freeze one exception, doesn't work on compressed dvi files (dvips -> gs) - and certainly some more .... ;-) ################################################################################ # # Changes 1.10 -> 1.11 # ################################################################################ # # A last minute hack caused file type autorecognition to fail :-( # The culprit: I only appended $PATH to the search path for machine # specific search paths. And boom :-( # After removing $PATH from the PATH= line everything works perfectly now. # Oh folks .. the next time I don't include wishes from people without # testing, even if the changes are soooo minimal as in this case '-) # # No line in this script exceeds 80 columns any more, # as suggested by Stephen Hsieh # # Modified the way how apsfilters command line arguments are stored # in environment variables, # as suggested by Dirk Sturzebecher # ################################################################################ # # Changes 1.9 -> 1.10 # ################################################################################ # # introduced shell functions print_ps, print_dvi, print_ascii, .... # is needed for the new program functions to force printing of ascii, which # is needed for printing "deutsche Umlaute" # # problems with "deutschen Umlauten" # Text containing "Deutsche Umlaute" may be interpreted as data, so cr/nl # conversion for deskjet and possibly other printer doesn't work. # A possible solution is to force the script to handle imput data as text or # something else. # # exit 1 on print fault caused lpd to print the file again and again # and lots of tmp files made TMP_DIR full.. so we have to exit 0 in any case # # Introduced MAILX variable. /bin/mail = elm on Linux. Elm didn't find # ~/Mail directory, so it failed to send $NOTIFY a mail when a print error # occurred. # # David Frey : # use lpr's command line arguments -wwidth -iindent -llength, pipe ascii # through pr # # and some more ... # ################################################################################ # # Changes 1.8 -> 1.9 # ################################################################################ # # Thu Feb 24 18:45:00 GMT+0100 1994 # # removed compression option that was introduced with 1.8 # since dvips can't read from a pipe... # # canon bj printer don't have a common command set ... # So the bj* commands I introduced were only valid for the bj200. # ################################################################################ # # Changes 1.7 -> 1.8 # ################################################################################ # # Sun Feb 20 14:02:29 GMT+0100 1994 # # Optionally (default=yes) compresses temporary files used by this script # See COMPRESS option. On slow systems wit low memory you may want to disable # this feature. (Suggestions from Bill - physics.purdue.edu!bcr) # # Rewrote parts of my comments and shortened the script by simly referencing # the GNU GPL. # ################################################################################ # # Changes 1.6 -> 1.7 # ################################################################################ # # Wed Feb 16 21:57:57 GMT+0100 1994 # # - Support for Canon Bubblejets (Bill - physics.purdue.edu!bcr) # - fixed nec resolution from 300 to 360 dpi in dvips part # ################################################################################ # # Changes 1.5 -> 1.6 # ################################################################################ # # Sat Feb 5 13:10:33 GMT+0100 1994 (AKL) # # rearranged this script to be an input filter # use if=/usr/local/bin/apsfilter in /etc/printcap # advantage: you can mix the file types in on command line # lpr postscript_file ascii_file .... # # ------------------------------------------------------------------------------ # # Sat Feb 5 13:29:24 GMT+0100 1994 (AKL) # # removed quit.ps, because it caused trouble for some people. # # ------------------------------------------------------------------------------ # # Sat Feb 5 13:39:18 GMT+0100 1994 (AKL) # # dvips: added useful command line options (see: section 10) # # - run dvips in quiet mode # - print last page first for some printers # - compress bitmap fonts when resolution is greater or equal 400 dpi # - trying to set printer resolution for dvips && gs correctly # # suggestion from: sar@beehive.mn.org (Steven A. Reisman) # set paper type for dvips && gs correctly # # ------------------------------------------------------------------------------ # # Sat Feb 5 16:17:31 GMT+0100 1994 (AKL) # # from: sch2@crux5.cit.cornell.edu (Stephen Hsieh) # - cr/nl conversion needed for laserjets when printing ascii # ################################################################################ Major changes since apsfilter-1.3: --------------------------------- o I changed the copyright to the GPL, since in my first public version it was to rigid. My fault .. but now everything is ok ! o Main feature in this version is a total rewrite of the configuration section that makes printer specific modifications very simple !