2007-12-04 Till Kamppeter * foomatic-gswrapper.in: Let Ghostscript always use buffered input. This works around a Ghostscript bug which prevents printing encrypted PDF files with Adobe Reader 8.1.1 and Ghostscript built as shared library (Ghostscript bug #689577, Ubuntu bug #172264). 2007-11-30 Till Kamppeter * foomatic-rip.in: More bug fixes: o If the CUPS-style duples option "-o sides={one|two}-sided[-{long|short}-edge]" was supplied, the "Duplex" option could be set to "0", "LongEdge", or "ShortEdge", which do not exist in the "Duplex" options in PPD files (Thanks to Ricoh Japan for reporting this bug). o Now all of "LongEdge", "DuplexNoTumble", or "ShortEdge", "DuplexTumble", are converted to each other if supplied as value to an enumerated choice option (usually "Duplex") and this value is not in the list of choices. o Removed the unused variable "$rangeend" from the parsepageranges() function. o Reset the best score for finding the narrowest page range before treating each option, not only before the first option. Now jobs with page overrides on more than one option are executed correctly. 2007-11-23 Till Kamppeter * foomatic-rip.in: Several fixes for bugs found while developing the foomatic-rip test suite for the LSB 3.2: o If an option had the default value "0" (enumerated choice, numerical, string) in the PPD file, the first choice from the list was set as default and not "0". o When assigning a non-integer number to an integer option, the "%%BeginFeature: ..." line of the option inserted into the PostScript data stream still contained the non-integer value. Only the value in the code piece was converted to integer. o If a non-integer "*FoomaticRIPDefault..." was given for an integer option it was not converted to integer. o Boolean options had "0" and "1" as values in the "%%BeginFeature: ..." lines and not "False" and "True". o PPD-supplied JCL/PJL options did not get merged with driver-generated JCL/PJL options when there were spaces between the JCL command and the "=" (ex: "@PJL SET TRAY = 1"). o Now all of "0", "No", "Off", "False" or "1", "Yes", "On", "True" are converted to each other if supplied as value to an enumerated choice option and this value is not in the list of choices. 2007-10-11 Till Kamppeter * foomatic-rip.in: Allow the parameters of the "*Foomatic..." lines which formerly had to be given without quotes also to be given with double quotes. This is to support generation and manipulation of Foomatic PPDs with the CUPS DDK. The PPD generator of the CUPS DDK ("ppdc") can create these lines only with quoted parameters (See http://www.cups.org/str.php?L2551). 2007-07-18 Till Kamppeter * foomatic-rip.in: Added support for suppressing page accounting on a per-driver basis. Page accounting is deactivated if a line "*FoomaticNoPageAccounting: True" is found in the PPD file. 2007-03-20 Till Kamppeter * foomatic-rip.in: Performance improvement: Do not match all forms of DSC comments against every line. Check whether the line is a DSC comment at all and pass it quickly through if not (Thanks to Andreas Bolsch, Andreas dot Bolsch at alumni dot TU-Berlin dot DE, for this patch). Will probably fix Ubuntu bug LP#78781 (https://launchpad.net/bugs/78781). Fixed bug of custom page sizes not read from the PostScript code when the size values are in more than one line (as the "imagetops" CUPS filter outputs them when adapting a user-supplied custom page size to the aspect ratio of the image, to not waste roll paper). This fixes CUPS STR #1722 (http://www.cups.org/str.php?L1722), Ubuntu bug LP#42234 (https://launchpad.net/bugs/42234). Let data structure get written to debug log also if foomatic-rip exits with an error (only in debug mode). 2007-03-10 Till Kamppeter * foomatic-rip.in: Replaced sysread() and syswrite() by read() and print() as sysread() and syswrite() is not compatible with the read() and print() of the other operations. See Ubuntu bug #87597 (https://launchpad.net/bugs/87597). 2007-02-20 Till Kamppeter * foomatic-rip.in: Fixed problem of too high memory consumption when binary output data of GhostScript is read line-wise and does not contain line feeds (Ubuntu bug #85569 with driver "eplaser", Red Hat bug #221194 with driver "lx5000"). Applied same fix also to binary non-PostScript input data (only relevant for non-CUPS printing systems). * README, USAGE, foomatic-rip.in, foomatic-rip.1.in, beh.in, foomatic-gswrapper.1.in, debian/copyright, debian/control, debian/README.Debian: Replaced "linuxprinting.org" by "openprinting.org" or "OpenPrinting". 2006-10-03 Till Kamppeter * foomatic-rip.in: Fixed bashism. 2006-08-27 Till Kamppeter * foomatic-gswrapper.in: Support for built-in redirection of standard output of PostScript programs ("-sstdout=%stderr") in newer GhostScript versions. More reliable then using /dev/fd/3 (not always available, difficult to check presence) or '|cat >3' (not seekable and some GhostScript output devices require seekability of the output file), 2006-07-10 Norm Jacobs * *: Removed executable permissions from source files which are not executables 2006-06-15 Norm Jacobs * foomatic-rip.in: failing to open IPP attributes file shouldn't be fatal 2006-06-01 Norm Jacobs * filter.conf: example of a preferred shell setting * foomatid-rip.in: detect and use a "modern" shell for shell commands 2006-05-17 Norm Jacobs * foomatic-rip.in: Add support for Solaris LP, made default echo, fileconverter, and execpath setable through configure options. * foomatic-gswrapper.in: made default execpath setable through configure options * foomatic-rip-1.in: fixed to use @sysconfdir@ for configure * foomatic-gswrapper-1.in: fixed to use @sysconfdir@ for configure * configure.ac: made default execpath, fileconverter and echo setable through configure options. Generate man pages through configure * makeMan.in: removed, configure now generates the man pages * Makefile.in: cleaned up some to work with makes other than gmake * README, USAGE: added Solaris LP 2006-01-06 Till Kamppeter * beh.in: Fixed bug of N^2 copies being printed when N copies were requested. * configure.in, configure.ac: Renamed configure.in to configure.ac, to make the package working with the current versions of aclocal and autoconf. 2005-11-13 Till Kamppeter * README, USAGE, beh.in: Updated documentation, to take into account beh and HPLIP, dropped HPOJ in the documentation. 2005-09-12 Till Kamppeter * foomatic-rip.in: Better support for non-PJL JCLs. If there are Foomatic options of execution style JCL, they are only prefixed with "@PJL " if the PPD does not contain a "*JCLBegin:" expression not containing "PJL" and if the prefix is not changed by a "*FoomaticJCLPrefix:" in the PPD file. If there is a "*JCLBegin:" without "PJL" and no "*FoomaticJCLPrefix:" the JCL commands do not get any prefix. Fixed also bug of $jobuser and $jobhost not being chomped. 2005-08-15 Till Kamppeter * beh.in, configure.in, Makefile.in: Added the "beh" (Backend Error Handler) CUPS backend. With this the handling of errors of the CUPS backends (printer communication errors, like printer not turned on) can be configured, instead of CUPS simply disabling the print queue. 2005-07-29 Till Kamppeter * foomatic-rip.in: Added substitution of special XML entities by job data, as date, time, job ID, user name, ... (in function "unhtmlify()"). This was suggested by George Liu from Ricoh (george dot liu at ussj dot ricoh dot com), to support jobs with submission of login/password to the printer. 2005-07-19 Till Kamppeter * foomatic-rip.in, foomatic-gswrapper.in: Fix for the fix on the regexp for reading the config file (Thanks to Hans-Dieter Kosch, hdkosch at t-online dot de, for this fix). 2005-07-18 Till Kamppeter * foomatic-rip.in: In quiet mode (non-logging mode) $logh is closed in the beginning but was never opened (Thanks to Hans-Dieter Kosch, hdkosch at t-online dot de, for this fix). * foomatic-gswrapper.in: Fixed quoting of single quotes (Thanks to Hans-Dieter Kosch, hdkosch at t-online dot de, for this fix). * foomatic-rip.in, foomatic-gswrapper.in: Fixed regexp for reading the config file (Thanks to Hans-Dieter Kosch, hdkosch at t-online dot de, for this fix). 2005-05-19 Till Kamppeter * foomatic-rip.in: Make EPSF files not be an exception when checking whether the input file is DSC-conforming. They can also be DSC-conforming (thanks to Kevin ODonovan, kevin dot odonovan at nist dot gov, for his report); Let the "FontPath" defined in /etc/cups/cupsd.conf being used when CUPS is the spooler (thanks to Peter Kekesi, kekpeti at freemail dot hu, for his report). 2005-05-11 Till Kamppeter * foomatic-rip.in: Added comment before the line to automatically quote unquoted slashes in the allowed characters list or allowed regexp. 2004-12-20 Till Kamppeter * foomatic-rip.in: Fixed bug of foomatic-rip replacing a JCL command (ex: "@PJL HOLDKEY=1234") if another which is contained in the first one is supplied (ex: "@PJL HOLD=STORE"). Thanks to Jociel Cavalcante Andrade (jcainfo at inf dot ufes dot br) for reporting the bug and testing the fix. 2004-12-04 Chris Lawrence * foomatic-rip.in: Include -*- perl -*- for Emacs mode selection. * foomatic-gswrapper.in: Instead of testing for /dev/fd/*, use them directly; this gets around some unreliability with Ghostscript prefiltering that is described in Debian bug report #271519 (http://bugs.debian.org/271519). Also include -*- perl -*- for Emacs mode selection. * debian/README.Debian, debian/changelog, debian/compat, debian/control, debian/copyright, debian/dirs, debian/docs, debian/foomatic-filters.config, debian/foomatic-filters.postinst, debian/foomatic-filters.postrm, debian/foomatic-filters.templates, debian/parseconfig.pl, debian/po/POTFILES.in, debian/po/de.po, debian/po/fr.po, debian/po/ja.po, debian/po/nl.po, debian/po/pt_BR.po, debian/po/templates.pot, debian/po/tr.po, debian/rules: New files; add Debian packaging information. 2004-11-18 Till Kamppeter * foomatic-rip.in: Fixed problem of foomatic-rip crashing with error 29 (ESPIPE = "Illegal seek") on "close STDIN;" on some non-Linux platforms as Unixware 7.1.0, fixed problem of CUPS page accounting PostScript code in foomatic-rip overriding already exisiting /EndPage procedures. Added output of error code when foomatic-rip dies. Thanks to Helge Blischke (h dot blischke at srz dot de) for all these fixes and enhancements. 2004-09-14 Till Kamppeter * *: Tagged CVS for the release of foomatic-filters 3.0.2. Tag name: "foomatic-filters-3_0_2". * README, USAGE: Updated for version 3.0.2. 2004-08-26 Till Kamppeter * foomatic-rip.in: SECURITY FIX: foomatic-rip could execute arbitrary commands as user "lp" (or however the spooler's special user is named) on the print server. Advisory ID: CAN-2004-0801. The fixes: - Let unprintable characters be removed from all command line options and environment variables. - Let shell escape characters be removed from file names, queue names, driver options, and some other input strings. - Let "open" commands for file access always use "<" or ">" to specify reading or writing. 2004-06-15 Till Kamppeter * foomatic-rip.in: Made workaround for OpenOffice.org 1.1.0 bug being applied to all OpenOffice.org 1.1.x versions (Thanks to Nigel Tamplin, nigel at metica dot com). 2004-03-28 Till Kamppeter * USAGE, foomatic-rip.in: Replaced "GIMP-Print" by "Gimp-Print". 2004-03-26 Till Kamppeter * foomatic-rip.in: Fixed building of PDQ driver description file. 2004-02-18 Till Kamppeter * *: Tagged CVS for the release of foomatic-filters 3.0.1. Tag name: "foomatic-filters-3_0_1". * README, USAGE: Updated for version 3.0.1. 2004-01-24 Till Kamppeter * *: Tagged CVS for the release of foomatic-filters 3.0.1rc3. Tag name: "foomatic-filters-3_0_1rc3". * README, USAGE: Updated for version 3.0.1rc3. * configure.in: Removed the AC_OUTPUT() entry to create a Makefile in the tests directory. 2004-01-24 Till Kamppeter * *: Tagged CVS for the release of foomatic-filters 3.0.1rc2. Tag name: "foomatic-filters-3_0_1rc2". * README, USAGE: Updated for version 3.0.1rc2. 2004-01-23 Till Kamppeter * Removed some more files which do not belong into the stable release. * Makefile.in, configure.in, tests/*: Removed Patrick Powells "make test" facility, it did not work. 2004-01-21 Grant Taylor * Secondary checkin, to remove/add files that changed between branches. * Reverted snafu unstable code checkin introduced onto the stable 3.0 branch on Jan 16, and present until Jan 21. 2003-12-21 Till Kamppeter * Makefile.in: Fixed compatibility for non-bash systems: Used "VAR=VALUE; export VAR" instead of "export VAR=VALUE" (Thanks to Florian Diesch ). 2003-12-01 Till Kamppeter * configure.in, Makefile.in: Added fixes and improvements for NetBSD compatibility. Thanks to Bruce J.A. Nourish (bjan+foomatic-devel at bjan dot net) for this contribution. 2003-11-22 Till Kamppeter * README, USAGE: Updated for version number 3.1.0. * *: Tagged all files of the repository with "foomatic-3_0-bp", started stable branch "foomatic-3_0-branch". 2003-11-20 Till Kamppeter * *: Tagged CVS for the release of foomatic-filters 3.0.1rc1. Tag name: "foomatic-filters-3_0_1rc1". * README, USAGE: Updated for version 3.0.1rc1. 2003-11-19 Till Kamppeter * foomatic-rip.in, filter.conf: Added support for CUPS raster drivers to foomatic-rip. Now CUPS raster drivers can be used with every spooler. 2003-10-24 Till Kamppeter * foomatic-rip.in: Fixed bug of sometimes an extra blank page being printed after the job. 2003-10-21 Till Kamppeter * configure.in: Added option "--disable-file-converter-check" to disable checking whether there is a file converter installed. 2003-10-20 Till Kamppeter * configure.in: Added /usr/local/libexec to LIBSEARCHPATH for *BSD compatibilty. Thanks to Sebastian Horzela (sh at horzela dot com). * configure.in: For CUPS a2ps, enscript, or mpage is not needed, here texttops of CUPS is used be default. So let ./configure also check for texttops. * tests/Makefile.in: Continue testing when comparing the result of a test with the reference file fails, give only a warning in such a case. 2003-10-20 Patrick Powell * added 'use strict' and -w to the Perl options. * fixed a large number of undefined or out of scope variable references discovered by the 'use strict' and -w. * added 'use Cwd' to get current working directory * Modified foomatic-rip to auto-sense the LPRng configuration. This eliminates the need for the --lprng option, unless you want to use it. You now set the ppd_file option in the printcap to specify the location of the PPD file: lp:filter=/path/to/foomatic-rip :ppd_file=/path/to/ppdfile or lp:filter=/path/to/foomatic-rip --ppd=/path/to/ppdfile \ [options] or lp:filter=/path/to/foomatic-rip --lprng [options] \ /path/to/ppdfile (legacy documented foomatic method) If you specify both, the command line overrides the :ppd_file New versions of the LPRng 'checkpc' program will check for the presence of the :ppd_file if it is specified. * Modified fomatic-rip to be less 'verbose' and not put out blank lines when used with LPRng. Changed 'dieing' to 'dying' in error messages, as well as removing some typeos in other places. * Modified the configure.in, Makefile.in, and makeMan.in scripts to use the current/latest autoconf conventions. Using ${INSTALL} to do installation and mkinstalldirs to create directories. Modified the configure script to NOT override the use of sysconfdir. You can now run the configure script from a subdirectory. This implies that your filter.conf file will now be installed in ${sysconfdir}/foomatic/filter.conf, not in /etc/foomatic/filter.conf. The other foomatic installation scripts should also be modified to follow this convention. * The configure script now checks for at least one page converter (a2ps, enscript, mpage) and errors if one is not installed. * modified the code for 'echo' to be compatible with the comments in foomatic-rip. The filter.conf file can now set the echo program. 2003-09-13 Till Kamppeter * foomatic-rip.in: When option settings on the last page of a job changed and the last page was read completely into the FIFO before it was printed, the renderer was not restarted to take into account the option changes. Added a new workaround for a new bug in the PostScript generated by OpenOffice.org 1.1.0. 2003-08-21 Till Kamppeter * foomatic-rip.in: Fix on PostScript code insertion for nested 2003-08-14 Till Kamppeter * foomatic-rip.in: Fixed checks for CPS printer spooler. 2003-08-01 Till Kamppeter * foomatic-rip.in: Fixes on JCL header merging, support for nested composite options. 2003-07-30 Till Kamppeter * foomatic-rip.in: If a printer/driver combo has Foomatic-defined JCL options and the driver already generates a JCL header, the JCL options are merged into the header produced by the driver. 2003-06-26 Till Kamppeter * configure.in, makeMan.in, foomatic-rip.in: Support for IRIX. * foomatic-rip.in: Updated comments. 2003-06-25 Till Kamppeter * foomatic-rip.in: Let "echo" commands in the renderer command line being replaced by $myecho, so that printing on non-GNU systems with user-selected GNU "echo" command works. 2003-04-29 Till Kamppeter * *: Tagged CVS for the release of foomatic-filters 3.0.0. Tag name: "foomatic-filters-3_0_0". * README, USAGE: Updated for version 3.0.0. * foomatic-rip.1.in: Updated linuxprinting.org link for 3.0.0. 2003-04-22 Till Kamppeter * *: Tagged CVS for the release of foomatic-filters 3.0.0rc2. Tag name: "foomatic-filters-3_0_0rc2". * README, USAGE: Updated for version 3.0.0rc2. * foomatic-rip.1.in: Added missing substitutions for special characters in postpipe. 2003-04-21 Till Kamppeter * foomatic-rip.in: added restriction for allowed strings by means of lists of allowed characters (PPD keyword: '*FoomaticRIPOptionAllowedChars