printfilters/0042755000176500017650000000000007403301123013044 5ustar debiandebianprintfilters/Makefile.in0100644000176500017650000003624007403301122015110 0ustar debiandebian# Makefile.in generated automatically by automake 1.4 from Makefile.am # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : AWK = @AWK@ CC = @CC@ HAVE_FIG2DEV = @HAVE_FIG2DEV@ LN_S = @LN_S@ MAKEINFO = @MAKEINFO@ PACKAGE = @PACKAGE@ TESTSCRIPTS = @TESTSCRIPTS@ VERSION = @VERSION@ WARNS = @WARNS@ CFLAGS = @CFLAGS@ @WARNS@ @FIG2DEV_NEEDS_P_TRUE@PAGEOUT = -P @FIG2DEV_NEEDS_P_FALSE@PAGEOUT = datafiles = general.cfg.in postscript.cfg.in textonly.cfg.in printerdb testpage.asc ppd_xref.rdb aliases.rdb libexec_PROGRAMS = rewindstdin libexec_SCRIPTS = asc-to-printer.fpi asc-to-printer.fpi asc-to-ps.fpi ncpprint ppaprint ps-to-printer.fpi rpm-to-asc.fpi directprint smbprint grab-ppd.awk master-filter rewindstdin_SOURCES = rewindstdin.c pkgdata_DATA = $(datafiles) testpage.ps testpage-a4.ps EXTRA_DIST = $(datafiles) $(libexec_SCRIPTS) testpage.fig testpage-a4.fig redhat-logo-new.gif printfilters.spec.in check_SCRIPTS = checklist.sh CLEANFILES = $(check_SCRIPTS) SUFFIXES = .m4 .sh SUBDIRS = tests ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = master-filter ps-to-printer.fpi printfilters.spec PROGRAMS = $(libexec_PROGRAMS) DEFS = @DEFS@ -I. -I$(srcdir) CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ rewindstdin_OBJECTS = rewindstdin.o rewindstdin_LDADD = $(LDADD) rewindstdin_DEPENDENCIES = rewindstdin_LDFLAGS = SCRIPTS = $(libexec_SCRIPTS) COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ DATA = $(pkgdata_DATA) DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \ Makefile.in NEWS aclocal.m4 configure configure.in install-sh \ master-filter.in missing mkinstalldirs printfilters.spec.in \ ps-to-printer.fpi.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best SOURCES = $(rewindstdin_SOURCES) OBJECTS = $(rewindstdin_OBJECTS) all: all-redirect .SUFFIXES: .SUFFIXES: .S .c .m4 .o .s .sh $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status $(ACLOCAL_M4): configure.in cd $(srcdir) && $(ACLOCAL) config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) master-filter: $(top_builddir)/config.status master-filter.in cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status ps-to-printer.fpi: $(top_builddir)/config.status ps-to-printer.fpi.in cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status printfilters.spec: $(top_builddir)/config.status printfilters.spec.in cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status mostlyclean-libexecPROGRAMS: clean-libexecPROGRAMS: -test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS) distclean-libexecPROGRAMS: maintainer-clean-libexecPROGRAMS: install-libexecPROGRAMS: $(libexec_PROGRAMS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(libexecdir) @list='$(libexec_PROGRAMS)'; for p in $$list; do \ if test -f $$p; then \ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ else :; fi; \ done uninstall-libexecPROGRAMS: @$(NORMAL_UNINSTALL) list='$(libexec_PROGRAMS)'; for p in $$list; do \ rm -f $(DESTDIR)$(libexecdir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ done .c.o: $(COMPILE) -c $< .s.o: $(COMPILE) -c $< .S.o: $(COMPILE) -c $< mostlyclean-compile: -rm -f *.o core *.core clean-compile: distclean-compile: -rm -f *.tab.c maintainer-clean-compile: rewindstdin: $(rewindstdin_OBJECTS) $(rewindstdin_DEPENDENCIES) @rm -f rewindstdin $(LINK) $(rewindstdin_LDFLAGS) $(rewindstdin_OBJECTS) $(rewindstdin_LDADD) $(LIBS) install-libexecSCRIPTS: $(libexec_SCRIPTS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(libexecdir) @list='$(libexec_SCRIPTS)'; for p in $$list; do \ if test -f $$p; then \ echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(libexecdir)/`echo $$p|sed '$(transform)'`"; \ $(INSTALL_SCRIPT) $$p $(DESTDIR)$(libexecdir)/`echo $$p|sed '$(transform)'`; \ else if test -f $(srcdir)/$$p; then \ echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(libexecdir)/`echo $$p|sed '$(transform)'`"; \ $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(libexecdir)/`echo $$p|sed '$(transform)'`; \ else :; fi; fi; \ done uninstall-libexecSCRIPTS: @$(NORMAL_UNINSTALL) list='$(libexec_SCRIPTS)'; for p in $$list; do \ rm -f $(DESTDIR)$(libexecdir)/`echo $$p|sed '$(transform)'`; \ done install-pkgdataDATA: $(pkgdata_DATA) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(pkgdatadir) @list='$(pkgdata_DATA)'; for p in $$list; do \ if test -f $(srcdir)/$$p; then \ echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \ $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \ else if test -f $$p; then \ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p"; \ $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \ fi; fi; \ done uninstall-pkgdataDATA: @$(NORMAL_UNINSTALL) list='$(pkgdata_DATA)'; for p in $$list; do \ rm -f $(DESTDIR)$(pkgdatadir)/$$p; \ done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. @SET_MAKE@ all-recursive install-data-recursive install-exec-recursive \ installdirs-recursive install-recursive uninstall-recursive \ check-recursive installcheck-recursive info-recursive dvi-recursive: @set fnord $(MAKEFLAGS); amf=$$2; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @set fnord $(MAKEFLAGS); amf=$$2; \ dot_seen=no; \ rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ rev="$$subdir $$rev"; \ test "$$subdir" = "." && dot_seen=yes; \ done; \ test "$$dot_seen" = "no" && rev=". $$rev"; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist -rm -rf $(distdir) GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz mkdir $(distdir)/=build mkdir $(distdir)/=inst dc_install_base=`cd $(distdir)/=inst && pwd`; \ cd $(distdir)/=build \ && ../configure --srcdir=.. --prefix=$$dc_install_base \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) dist -rm -rf $(distdir) @banner="$(distdir).tar.gz is ready for distribution"; \ dashes=`echo "$$banner" | sed s/./=/g`; \ echo "$$dashes"; \ echo "$$banner"; \ echo "$$dashes" dist: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) dist-all: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) distdir: $(DISTFILES) -rm -rf $(distdir) mkdir $(distdir) -chmod 777 $(distdir) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done for subdir in $(SUBDIRS); do \ if test "$$subdir" = .; then :; else \ test -d $(distdir)/$$subdir \ || mkdir $(distdir)/$$subdir \ || exit 1; \ chmod 777 $(distdir)/$$subdir; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook rewindstdin.o: rewindstdin.c info-am: info: info-recursive dvi-am: dvi: dvi-recursive check-am: all-am $(MAKE) $(AM_MAKEFLAGS) $(check_SCRIPTS) check: check-recursive installcheck-am: installcheck: installcheck-recursive install-exec-am: install-libexecPROGRAMS install-libexecSCRIPTS install-exec: install-exec-recursive install-data-am: install-pkgdataDATA install-data: install-data-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-recursive uninstall-am: uninstall-libexecPROGRAMS uninstall-libexecSCRIPTS \ uninstall-pkgdataDATA uninstall: uninstall-recursive all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(DATA) all-redirect: all-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: installdirs-recursive installdirs-am: $(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(libexecdir) \ $(DESTDIR)$(pkgdatadir) mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-libexecPROGRAMS mostlyclean-compile \ mostlyclean-tags mostlyclean-generic mostlyclean: mostlyclean-recursive clean-am: clean-libexecPROGRAMS clean-compile clean-tags clean-generic \ mostlyclean-am clean: clean-recursive distclean-am: distclean-libexecPROGRAMS distclean-compile \ distclean-tags distclean-generic clean-am distclean: distclean-recursive -rm -f config.status maintainer-clean-am: maintainer-clean-libexecPROGRAMS \ maintainer-clean-compile maintainer-clean-tags \ maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-recursive -rm -f config.status .PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \ clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \ uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \ distclean-compile clean-compile maintainer-clean-compile \ uninstall-libexecSCRIPTS install-libexecSCRIPTS uninstall-pkgdataDATA \ install-pkgdataDATA install-data-recursive uninstall-data-recursive \ install-exec-recursive uninstall-exec-recursive installdirs-recursive \ uninstalldirs-recursive all-recursive check-recursive \ installcheck-recursive info-recursive dvi-recursive \ mostlyclean-recursive distclean-recursive clean-recursive \ maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ install-exec install-data-am install-data install-am install \ uninstall-am uninstall all-redirect all-am all installdirs-am \ installdirs mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean dist-hook: printfilters.spec cp printfilters.spec $(distdir) testpage.ps: fig2dev -Lps -zLetter $(PAGEOUT) testpage.fig testpage.ps testpage-a4.ps: fig2dev -Lps -zA4 $(PAGEOUT) testpage-a4.fig testpage-a4.ps %.sh: %.m4 stdlib.mc m4 -P $< > $@ chmod 755 $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: printfilters/README0100644000176500017650000000642507325345321013741 0ustar debiandebian README for printtool v.3. This is a new version of printtool which provides several key improvements over previous version. Some notes: ----------- Please backup your /etc/printcap! And any filters you use. It is assumed that ghostscript is installed if PostScript printing is desired and the output device does not handle PostScript natively. Red Hat ships ghostscript 4.03 - the latest version is 5.5. This printtool should work with either version. In fact, some printers are only supported in the later versions of printtool. There is now a "magic filter" mechanism for handling the printing of various file type. For example, it is possible to print a .dvi file and it will be converted to PostScript and printer. The filters and RPM will work together so that conversions are only attempted when the required components are installed. To get the filter for a certain conversion (say JPEG to PNM), you must install the RPM which contains the program used to do the conversion (djpeg, from the libgr-progs RPM in this case). There is a new directory for handling printtool related files called /usr/lib/rhs/rhs-printfilters. There are several files which get installed here: *.fpi Filter Plug-ins - these are used by the new magic filter system testpage.* Test pages used by printtool *.cfg.in Template for configuration files stored in spool directories master-filter The input filter which will be installed in the spool directory smbprint Script used to print to SMB printer servers If you have a PostScript printer, or have configured a print filter using Ghostscript, then the following types of files can be printed and they will be converted to PostScript automatically: troff GIF JPEG BPM TIFF dvi pgm/ppm/pbm RPM Sun rasterfiles This assumes, of course, that the programs required to convert from the input format to PostScript have been installed. If these are installed from a RPM, the RPM will automatically reconfigure the print filter system. So if you would like to print dvi's automatically, just install the tetex-dvips RPM, and everything should work. If you have a PostScript printer, try using the "PostScript Printer" driver under "Select Filter". If you have a text-only printer (old dot matrix?), or dont want ASCII to be converter to PostScript, select the "Text-Only Printer". The "LF->CR/LF" and "Send EOF" toggle buttons are of interest in this case. Try sending some test pages to your printer and this will help diagnose the problems. The HP DeskJet 400 and Canon BJ-240 have been tested with ghostscript-3.33 and appear to work. Most any HP DeskJet will work with the ghostscript driver. The other printer drivers have not been tested. If you have any problems with your printer, please report your problem (and solutions!) to http://developer.redhat.com/bugzilla/ When sending a help request, please include the following information: Printer Model Known compatibility modes (HP PCL, PostScript, etc) Results of trying to send a 'Print ASCII test page" and "Print ASCII directly to port", available under the "Tests" menu on the main screen of printtool. Any other information on the problem you are experiencing is a big help. If you had your printer working before with Linux, information about filters and your printcap which DID work is useful. END OF README printfilters/AUTHORS0100644000176500017650000000057607325345321014132 0ustar debiandebianORIGINAL AUTHOR --------------- unknown RedHat employee likely: Michael Fulbright OTHER NOTABLE CONTRIBUTORS -------------------------- Bill Nottingham Jeff Johnson Michael Fulbright Erik Troan Michael Maher Mark Pruett Ben Woodard printfilters/COPYING0100644000176500017650000004311007062410417014101 0ustar debiandebian GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. printfilters/ChangeLog0100644000176500017650000001043507325345321014627 0ustar debiandebian2000 Sept 28 Ben Woodard * Added autoconf and automake functionality 2000 April Mark Pruett * Added Support for libppd * Added Support for autodetection of printers 1999 Unknown Redhat V. 1.2 * Added some info on Canon and HP inkjets to printerdb entries. * Changed ps-to-printer.fpi to send a '\004' instead of a '\014'. * Added support for mpage and n-up printing. * Changed name to rhs-printfilters, from rh-printfilters * Added support for passing IP address to smbprint (contributed) * Fixed smbprint so host name can have spaces (contributed) * Fixed asc-to-printer.fpi to handle CRLFTRANS correctly. Mon Feb 28 2000 Bill Nottingham * add a couple more lexmarks now in gs5.50 Thu Feb 17 2000 Bill Nottingham * fix wrong driver for laserjet plus Mon Feb 14 2000 Bill Nottingham * ooops, put ppaprint in the filelist * add some gs-5.50 mappings Fri Feb 11 2000 Bill Nottingham * pnm2ppa support * fix problem with rewindstdin Wed Jan 26 2000 Bill Nottingham * add stylus color 740 to printerdb Mon Nov 8 1999 Bill Nottingham * revert ps-to-printer tempfile usage. There has to be a better way to do this. Wed Jul 21 1999 Bill Nottingham * munge smbprint Yet Again(tm) Thu Jul 8 1999 Bill Nottingham * make printerdb config(noreplace) Thu Jul 1 1999 Bill Nottingham * add more drivers Fri Jun 18 1999 Bill Nottingham * fix rpm printing Mon Jun 14 1999 Bill Nottingham * use smbclient's -c command. Makes much more sense. Mon May 24 1999 Bill Nottingham * hmm. The translate option went away at some point. Oops. Mon May 3 1999 Bill Nottingham * yet another typo in SMB stuff. Urg. Mon Apr 5 1999 Bill Nottingham * strip binaries Thu Apr 1 1999 Bill Nottingham * fix some printerdb stuff for ghostscript brokenness Fri Mar 19 1999 Bill Nottingham * remove some oboslete text Mon Feb 8 1999 Bill Nottingham * uniprint support Tue Dec 29 1998 Bill Nottingham * add workaround for Adobe(!) postscript driver Mon Dec 28 1998 Bill Nottingham * remove 1bpp from cdj-based drivers, 'cos it's broken. Wed Nov 18 1998 Bill Nottingham * add workgroup support to smbprint, fix quoting issues Wed Sep 30 1998 Bill Nottingham * fix typo in ncpprint Wed Sep 15 1998 Bill Nottingham * Added ncpprint to %files section (oops!) Thu Sep 2 1998 Bill Nottingham * Added NCP printing support Tue Jun 30 1998 Michael Maher * Fixed BUG 703, added findutils dependecy. * Added buildroot. Fri May 08 1998 Prospector System * translations modified for de, fr, tr Wed Oct 22 1997 Michael Fulbright * Fixed printerdb to include 300x300 resolution for LaserJet 4 models * Restored troff file handling now troff fpi is 'safe' Tue Oct 14 1997 Michael Fulbright * Fixed master-filter to NOT handle troff files automatically Thu Jul 31 1997 Erik Troan * built against glibc Wed Apr 23 1997 Michael Fulbright * Fixed problem with asc-to-printer.fpi not handling cr/lf trans correct Fri Apr 18 1997 Michael Fulbright * fixed up Canon 600/4000 printerdb def * added some HP Deskjets which I know work Thu Apr 10 1997 Michael Fulbright * Added requirement that gs is installed. Pretty useless w/o it if you print anything interesting. Fri Mar 13 1997 Michael Fulbright * Added conflicts so that packages with old filter loc won't hurt us. * Moved to version 1.2. * Added mpage support to allow nup printing. Wed Mar 13 1997 Michael Fulbright * Added a DeskJet500Mono driver which links to the gs driver djet500. * Added a A4 paper size test page. * Fixed Makefile to build .ps test pages from the .fig files. Mon Mar 10 1997 Michael Fulbright * Split filters off from printtool into this package . printfilters/INSTALL0100644000176500017650000001722707062410417014111 0ustar debiandebianBasic Installation ================== These are generic installation instructions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, a file `config.cache' that saves the results of its tests to speed up reconfiguring, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.in' is used to create `configure' by a program called `autoconf'. You only need `configure.in' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package. 4. Type `make install' to install the programs and any data files and documentation. 5. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. You can give `configure' initial values for variables by setting them in the environment. Using a Bourne-compatible shell, you can do that on the command line like this: CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure Or on systems that have the `env' program, you can do it like this: env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. If you have to use a `make' that does not supports the `VPATH' variable, you have to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. Installation Names ================== By default, `make install' will install the package's files in `/usr/local/bin', `/usr/local/man', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PATH'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you give `configure' the option `--exec-prefix=PATH', the package will use PATH as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=PATH' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Optional Features ================= Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Specifying the System Type ========================== There may be some features `configure' can not figure out automatically, but needs to determine by the type of host the package will run on. Usually `configure' can figure that out, but if it prints a message saying it can not guess the host type, give it the `--host=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name with three fields: CPU-COMPANY-SYSTEM See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the host type. If you are building compiler tools for cross-compiling, you can also use the `--target=TYPE' option to select the type of system they will produce code for and the `--build=TYPE' option to select the type of system on which you are compiling the package. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Operation Controls ================== `configure' recognizes the following options to control how it operates. `--cache-file=FILE' Use and save the results of the tests in FILE instead of `./config.cache'. Set FILE to `/dev/null' to disable caching, for debugging `configure'. `--help' Print a summary of the options to `configure', and exit. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `--version' Print the version of Autoconf used to generate the `configure' script, and exit. `configure' also accepts some other, not widely useful, options. printfilters/Makefile.am0100644000176500017650000000171407325345321015111 0ustar debiandebianCFLAGS = @CFLAGS@ @WARNS@ if FIG2DEV_NEEDS_P PAGEOUT=-P else PAGEOUT= endif datafiles=general.cfg.in postscript.cfg.in textonly.cfg.in printerdb \ testpage.asc ppd_xref.rdb aliases.rdb libexec_PROGRAMS=rewindstdin libexec_SCRIPTS=asc-to-printer.fpi asc-to-printer.fpi asc-to-ps.fpi \ ncpprint ppaprint ps-to-printer.fpi rpm-to-asc.fpi directprint \ smbprint grab-ppd.awk master-filter rewindstdin_SOURCES=rewindstdin.c pkgdata_DATA=$(datafiles) testpage.ps testpage-a4.ps EXTRA_DIST=$(datafiles) $(libexec_SCRIPTS) testpage.fig testpage-a4.fig \ redhat-logo-new.gif printfilters.spec.in dist-hook: printfilters.spec cp printfilters.spec $(distdir) testpage.ps: fig2dev -Lps -zLetter $(PAGEOUT) testpage.fig testpage.ps testpage-a4.ps: fig2dev -Lps -zA4 $(PAGEOUT) testpage-a4.fig testpage-a4.ps check_SCRIPTS=checklist.sh CLEANFILES=$(check_SCRIPTS) SUFFIXES= .m4 .sh %.sh: %.m4 stdlib.mc m4 -P $< > $@ chmod 755 $@ SUBDIRS= tests printfilters/NEWS0100644000176500017650000000000007325345321013537 0ustar debiandebianprintfilters/aclocal.m40100644000176500017650000000716607402551053014721 0ustar debiandebiandnl aclocal.m4 generated automatically by aclocal 1.4 dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This program is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A dnl PARTICULAR PURPOSE. # Do all the work for Automake. This macro actually does too much -- # some checks are only needed if your package does certain things. # But this isn't really a big deal. # serial 1 dnl Usage: dnl AM_INIT_AUTOMAKE(package,version, [no-define]) AC_DEFUN(AM_INIT_AUTOMAKE, [AC_REQUIRE([AC_PROG_INSTALL]) PACKAGE=[$1] AC_SUBST(PACKAGE) VERSION=[$2] AC_SUBST(VERSION) dnl test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi ifelse([$3],, AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) AC_REQUIRE([AM_SANITY_CHECK]) AC_REQUIRE([AC_ARG_PROGRAM]) dnl FIXME This is truly gross. missing_dir=`cd $ac_aux_dir && pwd` AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir) AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) AC_REQUIRE([AC_PROG_MAKE_SET])]) # # Check to make sure that the build environment is sane. # AC_DEFUN(AM_SANITY_CHECK, [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftestfile # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` if test "[$]*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftestfile` fi if test "[$]*" != "X $srcdir/configure conftestfile" \ && test "[$]*" != "X conftestfile $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "[$]2" = conftestfile ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi rm -f conftest* AC_MSG_RESULT(yes)]) dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) dnl The program must properly implement --version. AC_DEFUN(AM_MISSING_PROG, [AC_MSG_CHECKING(for working $2) # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if ($2 --version) < /dev/null > /dev/null 2>&1; then $1=$2 AC_MSG_RESULT(found) else $1="$3/missing $2" AC_MSG_RESULT(missing) fi AC_SUBST($1)]) # Define a conditional. AC_DEFUN(AM_CONDITIONAL, [AC_SUBST($1_TRUE) AC_SUBST($1_FALSE) if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi]) printfilters/configure0100755000176500017650000013715407402551054014772 0ustar debiandebian#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.13 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. # Defaults: ac_help= ac_default_prefix=/usr/local # Any additions from configure.in: ac_help="$ac_help --enable-debug turn on debugging (assumes gcc/gdb) [default=no]" # Initialize some variables set by options. # The variables have the same names as the options, with # dashes changed to underlines. build=NONE cache_file=./config.cache exec_prefix=NONE host=NONE no_create= nonopt=NONE no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= target=NONE verbose= x_includes=NONE x_libraries=NONE bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' # Initialize some other variables. subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. ac_max_here_lines=12 ac_prev= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval "$ac_prev=\$ac_option" ac_prev= continue fi case "$ac_option" in -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; *) ac_optarg= ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case "$ac_option" in -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir="$ac_optarg" ;; -build | --build | --buil | --bui | --bu) ac_prev=build ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build="$ac_optarg" ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file="$ac_optarg" ;; -datadir | --datadir | --datadi | --datad | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) datadir="$ac_optarg" ;; -disable-* | --disable-*) ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` # Reject names that are not valid shell variable names. if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } fi ac_feature=`echo $ac_feature| sed 's/-/_/g'` eval "enable_${ac_feature}=no" ;; -enable-* | --enable-*) ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` # Reject names that are not valid shell variable names. if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } fi ac_feature=`echo $ac_feature| sed 's/-/_/g'` case "$ac_option" in *=*) ;; *) ac_optarg=yes ;; esac eval "enable_${ac_feature}='$ac_optarg'" ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix="$ac_optarg" ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he) # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat << EOF Usage: configure [options] [host] Options: [defaults in brackets after descriptions] Configuration: --cache-file=FILE cache test results in FILE --help print this message --no-create do not create output files --quiet, --silent do not print \`checking...' messages --version print the version of autoconf that created configure Directory and file names: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [same as prefix] --bindir=DIR user executables in DIR [EPREFIX/bin] --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] --libexecdir=DIR program executables in DIR [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data in DIR [PREFIX/share] --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data in DIR [PREFIX/com] --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] --libdir=DIR object code libraries in DIR [EPREFIX/lib] --includedir=DIR C header files in DIR [PREFIX/include] --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] --infodir=DIR info documentation in DIR [PREFIX/info] --mandir=DIR man documentation in DIR [PREFIX/man] --srcdir=DIR find the sources in DIR [configure dir or ..] --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names EOF cat << EOF Host type: --build=BUILD configure for building on BUILD [BUILD=HOST] --host=HOST configure for HOST [guessed] --target=TARGET configure for TARGET [TARGET=HOST] Features and packages: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --x-includes=DIR X include files are in DIR --x-libraries=DIR X library files are in DIR EOF if test -n "$ac_help"; then echo "--enable and --with options recognized:$ac_help" fi exit 0 ;; -host | --host | --hos | --ho) ac_prev=host ;; -host=* | --host=* | --hos=* | --ho=*) host="$ac_optarg" ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir="$ac_optarg" ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir="$ac_optarg" ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir="$ac_optarg" ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir="$ac_optarg" ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ | --locals | --local | --loca | --loc | --lo) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) localstatedir="$ac_optarg" ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir="$ac_optarg" ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir="$ac_optarg" ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix="$ac_optarg" ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix="$ac_optarg" ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix="$ac_optarg" ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name="$ac_optarg" ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir="$ac_optarg" ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir="$ac_optarg" ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site="$ac_optarg" ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir="$ac_optarg" ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir="$ac_optarg" ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target="$ac_optarg" ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers) echo "configure generated by autoconf version 2.13" exit 0 ;; -with-* | --with-*) ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` # Reject names that are not valid shell variable names. if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } fi ac_package=`echo $ac_package| sed 's/-/_/g'` case "$ac_option" in *=*) ;; *) ac_optarg=yes ;; esac eval "with_${ac_package}='$ac_optarg'" ;; -without-* | --without-*) ac_package=`echo $ac_option|sed -e 's/-*without-//'` # Reject names that are not valid shell variable names. if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } fi ac_package=`echo $ac_package| sed 's/-/_/g'` eval "with_${ac_package}=no" ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes="$ac_optarg" ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries="$ac_optarg" ;; -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } ;; *) if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then echo "configure: warning: $ac_option: invalid host type" 1>&2 fi if test "x$nonopt" != xNONE; then { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } fi nonopt="$ac_option" ;; esac done if test -n "$ac_prev"; then { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } fi trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 # File descriptor usage: # 0 standard input # 1 file creation # 2 errors and warnings # 3 some systems may open it to /dev/tty # 4 used on the Kubota Titan # 6 checking for... messages and results # 5 compiler messages saved in config.log if test "$silent" = yes; then exec 6>/dev/null else exec 6>&1 fi exec 5>./config.log echo "\ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. " 1>&5 # Strip out --no-create and --no-recursion so they do not pile up. # Also quote any args containing shell metacharacters. ac_configure_args= for ac_arg do case "$ac_arg" in -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c) ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; *) ac_configure_args="$ac_configure_args $ac_arg" ;; esac done # NLS nuisances. # Only set these to C if already set. These must not be set unconditionally # because not all systems understand e.g. LANG=C (notably SCO). # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! # Non-C LC_CTYPE values break the ctype check. if test "${LANG+set}" = set; then LANG=C; export LANG; fi if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo > confdefs.h # A filename unique to this package, relative to the directory that # configure is in, which we can look for to find out if srcdir is correct. ac_unique_file=rewindstdin.c # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then its parent. ac_prog=$0 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. srcdir=$ac_confdir if test ! -r $srcdir/$ac_unique_file; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } else { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } fi fi srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then echo "loading site script $ac_site_file" . "$ac_site_file" fi done if test -r "$cache_file"; then echo "loading cache $cache_file" . $cache_file else echo "creating cache $cache_file" > $cache_file fi ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross ac_exeext= ac_objext=o if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then ac_n= ac_c=' ' ac_t=' ' else ac_n=-n ac_c= ac_t= fi else ac_n= ac_c='\c' ac_t= fi # this version number must remain two digits until the major number is # incremented (e.g: 2.10, 2.20, 2.70, 3.1, 3.2). # This is because helix's red carpet stuff can't tell that 2.1 > 2.02! ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do if test -f $ac_dir/install-sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f $ac_dir/install.sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break fi done if test -z "$ac_aux_dir"; then { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } fi ac_config_guess=$ac_aux_dir/config.guess ac_config_sub=$ac_aux_dir/config.sub ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 echo "configure:561: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" for ac_dir in $PATH; do # Account for people who put trailing slashes in PATH elements. case "$ac_dir/" in /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do if test -f $ac_dir/$ac_prog; then if test $ac_prog = install && grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : else ac_cv_path_install="$ac_dir/$ac_prog -c" break 2 fi fi done ;; esac done IFS="$ac_save_IFS" fi if test "${ac_cv_path_install+set}" = set; then INSTALL="$ac_cv_path_install" else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL="$ac_install_sh" fi fi echo "$ac_t""$INSTALL" 1>&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 echo "configure:614: checking whether build environment is sane" >&5 # Just in case sleep 1 echo timestamp > conftestfile # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftestfile` fi if test "$*" != "X $srcdir/configure conftestfile" \ && test "$*" != "X conftestfile $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { echo "configure: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" 1>&2; exit 1; } fi test "$2" = conftestfile ) then # Ok. : else { echo "configure: error: newly created file is older than distributed files! Check your system clock" 1>&2; exit 1; } fi rm -f conftest* echo "$ac_t""yes" 1>&6 if test "$program_transform_name" = s,x,x,; then program_transform_name= else # Double any \ or $. echo might interpret backslashes. cat <<\EOF_SED > conftestsed s,\\,\\\\,g; s,\$,$$,g EOF_SED program_transform_name="`echo $program_transform_name|sed -f conftestsed`" rm -f conftestsed fi test "$program_prefix" != NONE && program_transform_name="s,^,${program_prefix},; $program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" # sed with no file args requires a program. test "$program_transform_name" = "" && program_transform_name="s,x,x," echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 echo "configure:671: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftestmake <<\EOF all: @echo 'ac_maketemp="${MAKE}"' EOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftestmake fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$ac_t""yes" 1>&6 SET_MAKE= else echo "$ac_t""no" 1>&6 SET_MAKE="MAKE=${MAKE-make}" fi PACKAGE=printfilters VERSION=2.13 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } fi cat >> confdefs.h <> confdefs.h <&6 echo "configure:717: checking for working aclocal" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (aclocal --version) < /dev/null > /dev/null 2>&1; then ACLOCAL=aclocal echo "$ac_t""found" 1>&6 else ACLOCAL="$missing_dir/missing aclocal" echo "$ac_t""missing" 1>&6 fi echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 echo "configure:730: checking for working autoconf" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoconf --version) < /dev/null > /dev/null 2>&1; then AUTOCONF=autoconf echo "$ac_t""found" 1>&6 else AUTOCONF="$missing_dir/missing autoconf" echo "$ac_t""missing" 1>&6 fi echo $ac_n "checking for working automake""... $ac_c" 1>&6 echo "configure:743: checking for working automake" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (automake --version) < /dev/null > /dev/null 2>&1; then AUTOMAKE=automake echo "$ac_t""found" 1>&6 else AUTOMAKE="$missing_dir/missing automake" echo "$ac_t""missing" 1>&6 fi echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 echo "configure:756: checking for working autoheader" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoheader --version) < /dev/null > /dev/null 2>&1; then AUTOHEADER=autoheader echo "$ac_t""found" 1>&6 else AUTOHEADER="$missing_dir/missing autoheader" echo "$ac_t""missing" 1>&6 fi echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 echo "configure:769: checking for working makeinfo" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (makeinfo --version) < /dev/null > /dev/null 2>&1; then MAKEINFO=makeinfo echo "$ac_t""found" 1>&6 else MAKEINFO="$missing_dir/missing makeinfo" echo "$ac_t""missing" 1>&6 fi ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross # -Wshadow doesn't work with glib WARNS="" # Check whether --enable-debug or --disable-debug was given. if test "${enable_debug+set}" = set; then enableval="$enable_debug" WARNS="-W -Wall -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O0 -ggdb3" else cat >> confdefs.h <<\EOF #define NDEBUG 1 EOF fi # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:809: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_CC="gcc" break fi done IFS="$ac_save_ifs" fi fi CC="$ac_cv_prog_CC" if test -n "$CC"; then echo "$ac_t""$CC" 1>&6 else echo "$ac_t""no" 1>&6 fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:839: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_prog_rejected=no ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" break fi done IFS="$ac_save_ifs" if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# -gt 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift set dummy "$ac_dir/$ac_word" "$@" shift ac_cv_prog_CC="$@" fi fi fi fi CC="$ac_cv_prog_CC" if test -n "$CC"; then echo "$ac_t""$CC" 1>&6 else echo "$ac_t""no" 1>&6 fi if test -z "$CC"; then case "`uname -s`" in *win32* | *WIN32*) # Extract the first word of "cl", so it can be a program name with args. set dummy cl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:890: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_CC="cl" break fi done IFS="$ac_save_ifs" fi fi CC="$ac_cv_prog_CC" if test -n "$CC"; then echo "$ac_t""$CC" 1>&6 else echo "$ac_t""no" 1>&6 fi ;; esac fi test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 echo "configure:922: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext << EOF #line 933 "configure" #include "confdefs.h" main(){return(0);} EOF if { (eval echo configure:938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then ac_cv_prog_cc_cross=no else ac_cv_prog_cc_cross=yes fi else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_prog_cc_works=no fi rm -fr conftest* ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 echo "configure:964: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 echo "configure:969: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no fi fi echo "$ac_t""$ac_cv_prog_gcc" 1>&6 if test $ac_cv_prog_gcc = yes; then GCC=yes else GCC= fi ac_test_CFLAGS="${CFLAGS+set}" ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 echo "configure:997: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else echo 'void f(){}' > conftest.c if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then ac_cv_prog_cc_g=yes else ac_cv_prog_cc_g=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 if test "$ac_test_CFLAGS" = set; then CFLAGS="$ac_save_CFLAGS" elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi for ac_prog in mawk gawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1033: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_AWK="$ac_prog" break fi done IFS="$ac_save_ifs" fi fi AWK="$ac_cv_prog_AWK" if test -n "$AWK"; then echo "$ac_t""$AWK" 1>&6 else echo "$ac_t""no" 1>&6 fi test -n "$AWK" && break done # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 echo "configure:1074: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" for ac_dir in $PATH; do # Account for people who put trailing slashes in PATH elements. case "$ac_dir/" in /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do if test -f $ac_dir/$ac_prog; then if test $ac_prog = install && grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : else ac_cv_path_install="$ac_dir/$ac_prog -c" break 2 fi fi done ;; esac done IFS="$ac_save_IFS" fi if test "${ac_cv_path_install+set}" = set; then INSTALL="$ac_cv_path_install" else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL="$ac_install_sh" fi fi echo "$ac_t""$INSTALL" 1>&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 echo "configure:1127: checking whether ln -s works" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else rm -f conftestdata if ln -s X conftestdata 2>/dev/null then rm -f conftestdata ac_cv_prog_LN_S="ln -s" else ac_cv_prog_LN_S=ln fi fi LN_S="$ac_cv_prog_LN_S" if test "$ac_cv_prog_LN_S" = "ln -s"; then echo "$ac_t""yes" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "fig2dev", so it can be a program name with args. set dummy fig2dev; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1150: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_HAVE_FIG2DEV'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$HAVE_FIG2DEV"; then ac_cv_prog_HAVE_FIG2DEV="$HAVE_FIG2DEV" # Let the user override the test. else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_HAVE_FIG2DEV="yes" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_HAVE_FIG2DEV" && ac_cv_prog_HAVE_FIG2DEV="no" fi fi HAVE_FIG2DEV="$ac_cv_prog_HAVE_FIG2DEV" if test -n "$HAVE_FIG2DEV"; then echo "$ac_t""$HAVE_FIG2DEV" 1>&6 else echo "$ac_t""no" 1>&6 fi if test "$HAVE_FIG2DEV" = "no" ; then { echo "configure: error: Must have fig2dev to compile printfilters" 1>&2; exit 1; } fi echo $ac_n "checking whether fig2dev needs -P""... $ac_c" 1>&6 echo "configure:1182: checking whether fig2dev needs -P" >&5 if fig2dev -Lps -P testpage.fig ttt.ps > /dev/null 2>&1; then FIG2DEV_NEEDS_P_TRUE= FIG2DEV_NEEDS_P_FALSE='#' else FIG2DEV_NEEDS_P_TRUE='#' FIG2DEV_NEEDS_P_FALSE= fi if test "x$FIG2DEV_NEEDS_P_FALSE" = 'x'; then echo "$ac_t""yes" 1>&6 else echo "$ac_t""no" 1>&6 fi TESTSCRIPTS=`cd tests && echo *.m4 | sed "s/m4/sh/g"` trap '' 1 2 15 cat > confcache <<\EOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs. It is not useful on other systems. # If it contains results you don't want to keep, you may remove or edit it. # # By default, configure uses ./config.cache as the cache file, # creating it if it does not exist already. You can give configure # the --cache-file=FILE option to use a different cache file; that is # what configure does when it calls configure scripts in # subdirectories, so they share the cache. # Giving --cache-file=/dev/null disables caching, for debugging configure. # config.status only pays attention to the cache file if you give it the # --recheck option to rerun configure. # EOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote substitution # turns \\\\ into \\, and sed turns \\ into \). sed -n \ -e "s/'/'\\\\''/g" \ -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' ;; esac >> confcache if cmp -s $cache_file confcache; then : else if test -w $cache_file; then echo "updating cache $cache_file" cat confcache > $cache_file else echo "not updating unwritable cache $cache_file" fi fi rm -f confcache trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # Any assignment to VPATH causes Sun make to only execute # the first set of double-colon rules, so remove it if not needed. # If there is a colon in the path, we need to keep it. if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' fi trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 # Transform confdefs.h into DEFS. # Protect against shell expansion while executing Makefile rules. # Protect against Makefile macro expansion. cat > conftest.defs <<\EOF s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g s%\[%\\&%g s%\]%\\&%g s%\$%$$%g EOF DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` rm -f conftest.defs # Without the "./", some shells look in PATH for config.status. : ${CONFIG_STATUS=./config.status} echo creating $CONFIG_STATUS rm -f $CONFIG_STATUS cat > $CONFIG_STATUS </dev/null | sed 1q`: # # $0 $ac_configure_args # # Compiler output produced by configure, useful for debugging # configure, is in ./config.log if it exists. ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" for ac_option do case "\$ac_option" in -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; -version | --version | --versio | --versi | --vers | --ver | --ve | --v) echo "$CONFIG_STATUS generated by autoconf version 2.13" exit 0 ;; -help | --help | --hel | --he | --h) echo "\$ac_cs_usage"; exit 0 ;; *) echo "\$ac_cs_usage"; exit 1 ;; esac done ac_given_srcdir=$srcdir ac_given_INSTALL="$INSTALL" trap 'rm -fr `echo "Makefile tests/Makefile master-filter ps-to-printer.fpi printfilters.spec" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS < conftest.subs <<\\CEOF $ac_vpsub $extrasub s%@SHELL@%$SHELL%g s%@CFLAGS@%$CFLAGS%g s%@CPPFLAGS@%$CPPFLAGS%g s%@CXXFLAGS@%$CXXFLAGS%g s%@FFLAGS@%$FFLAGS%g s%@DEFS@%$DEFS%g s%@LDFLAGS@%$LDFLAGS%g s%@LIBS@%$LIBS%g s%@exec_prefix@%$exec_prefix%g s%@prefix@%$prefix%g s%@program_transform_name@%$program_transform_name%g s%@bindir@%$bindir%g s%@sbindir@%$sbindir%g s%@libexecdir@%$libexecdir%g s%@datadir@%$datadir%g s%@sysconfdir@%$sysconfdir%g s%@sharedstatedir@%$sharedstatedir%g s%@localstatedir@%$localstatedir%g s%@libdir@%$libdir%g s%@includedir@%$includedir%g s%@oldincludedir@%$oldincludedir%g s%@infodir@%$infodir%g s%@mandir@%$mandir%g s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g s%@INSTALL_DATA@%$INSTALL_DATA%g s%@PACKAGE@%$PACKAGE%g s%@VERSION@%$VERSION%g s%@ACLOCAL@%$ACLOCAL%g s%@AUTOCONF@%$AUTOCONF%g s%@AUTOMAKE@%$AUTOMAKE%g s%@AUTOHEADER@%$AUTOHEADER%g s%@MAKEINFO@%$MAKEINFO%g s%@SET_MAKE@%$SET_MAKE%g s%@WARNS@%$WARNS%g s%@CC@%$CC%g s%@AWK@%$AWK%g s%@LN_S@%$LN_S%g s%@HAVE_FIG2DEV@%$HAVE_FIG2DEV%g s%@FIG2DEV_NEEDS_P_TRUE@%$FIG2DEV_NEEDS_P_TRUE%g s%@FIG2DEV_NEEDS_P_FALSE@%$FIG2DEV_NEEDS_P_FALSE%g s%@TESTSCRIPTS@%$TESTSCRIPTS%g CEOF EOF cat >> $CONFIG_STATUS <<\EOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. ac_file=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_cmds # Line after last line for current file. ac_more_lines=: ac_sed_cmds="" while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file else sed "${ac_end}q" conftest.subs > conftest.s$ac_file fi if test ! -s conftest.s$ac_file; then ac_more_lines=false rm -f conftest.s$ac_file else if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f conftest.s$ac_file" else ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" fi ac_file=`expr $ac_file + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_cmds` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; *) ac_file_in="${ac_file}.in" ;; esac # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. # Remove last slash and all that follows it. Not all systems have dirname. ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. test ! -d "$ac_dir" && mkdir "$ac_dir" ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" # A "../" for each directory in $ac_dir_suffix. ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` else ac_dir_suffix= ac_dots= fi case "$ac_given_srcdir" in .) srcdir=. if test -z "$ac_dots"; then top_srcdir=. else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; *) # Relative path. srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" top_srcdir="$ac_dots$ac_given_srcdir" ;; esac case "$ac_given_INSTALL" in [/$]*) INSTALL="$ac_given_INSTALL" ;; *) INSTALL="$ac_dots$ac_given_INSTALL" ;; esac echo creating "$ac_file" rm -f "$ac_file" configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." case "$ac_file" in *Makefile*) ac_comsub="1i\\ # $configure_input" ;; *) ac_comsub= ;; esac ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` sed -e "$ac_comsub s%@configure_input@%$configure_input%g s%@srcdir@%$srcdir%g s%@top_srcdir@%$top_srcdir%g s%@INSTALL@%$INSTALL%g " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file fi; done rm -f conftest.s* EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF exit 0 EOF chmod +x $CONFIG_STATUS rm -fr confdefs* $ac_clean_files test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 printfilters/configure.in0100644000176500017650000000276707377046356015414 0ustar debiandebiandnl Process this file with autoconf to produce a configure script. AC_INIT(rewindstdin.c) # this version number must remain two digits until the major number is # incremented (e.g: 2.10, 2.20, 2.70, 3.1, 3.2). # This is because helix's red carpet stuff can't tell that 2.1 > 2.02! AM_INIT_AUTOMAKE(printfilters, 2.13) AC_LANG_C # -Wshadow doesn't work with glib WARNS="" AC_ARG_ENABLE(debug, [ --enable-debug turn on debugging (assumes gcc/gdb) [default=no]],WARNS="-W -Wall -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O0 -ggdb3",AC_DEFINE(NDEBUG)) AC_SUBST(WARNS) dnl Checks for programs. AC_PROG_CC AC_PROG_AWK AC_PROG_INSTALL AC_PROG_LN_S AC_CHECK_PROG(HAVE_FIG2DEV,fig2dev,yes,no) if test "$HAVE_FIG2DEV" = "no" ; then AC_MSG_ERROR(Must have fig2dev to compile printfilters) fi AC_MSG_CHECKING([whether fig2dev needs -P]) AM_CONDITIONAL(FIG2DEV_NEEDS_P, [fig2dev -Lps -P testpage.fig ttt.ps > /dev/null 2>&1]) if test "x$FIG2DEV_NEEDS_P_FALSE" = 'x'; then AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) fi dnl Checks for libraries. dnl Checks for header files. dnl Checks for typedefs, structures, and compiler characteristics. dnl Checks for library functions. dnl loads in the magic pixie dust for the m4 files TESTSCRIPTS=`cd tests && echo *.m4 | sed "s/m4/sh/g"` AC_SUBST(TESTSCRIPTS) AC_OUTPUT(Makefile tests/Makefile master-filter ps-to-printer.fpi printfilters.spec) printfilters/install-sh0100755000176500017650000001273607325345321015067 0ustar debiandebian#!/bin/sh # # install - install a program, script, or datafile # This comes from X11R5 (mit/util/scripts/install.sh). # # Copyright 1991 by the Massachusetts Institute of Technology # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that # the above copyright notice appear in all copies and that both that # copyright notice and this permission notice appear in supporting # documentation, and that the name of M.I.T. not be used in advertising or # publicity pertaining to distribution of the software without specific, # written prior permission. M.I.T. makes no representations about the # suitability of this software for any purpose. It is provided "as is" # without express or implied warranty. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" transformbasename="" transform_arg="" instcmd="$mvprog" chmodcmd="$chmodprog 0755" chowncmd="" chgrpcmd="" stripcmd="" rmcmd="$rmprog -f" mvcmd="$mvprog" src="" dst="" dir_arg="" while [ x"$1" != x ]; do case $1 in -c) instcmd="$cpprog" shift continue;; -d) dir_arg=true shift continue;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; -s) stripcmd="$stripprog" shift continue;; -t=*) transformarg=`echo $1 | sed 's/-t=//'` shift continue;; -b=*) transformbasename=`echo $1 | sed 's/-b=//'` shift continue;; *) if [ x"$src" = x ] then src=$1 else # this colon is to work around a 386BSD /bin/sh bug : dst=$1 fi shift continue;; esac done if [ x"$src" = x ] then echo "install: no input file specified" exit 1 else true fi if [ x"$dir_arg" != x ]; then dst=$src src="" if [ -d $dst ]; then instcmd=: chmodcmd="" else instcmd=mkdir fi else # Waiting for this to be detected by the "$instcmd $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if [ -f $src -o -d $src ] then true else echo "install: $src does not exist" exit 1 fi if [ x"$dst" = x ] then echo "install: no destination specified" exit 1 else true fi # If destination is a directory, append the input filename; if your system # does not like double slashes in filenames, you may need to add some logic if [ -d $dst ] then dst="$dst"/`basename $src` else true fi fi ## this sed command emulates the dirname command dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` # Make sure that the destination directory exists. # this part is taken from Noah Friedman's mkinstalldirs script # Skip lots of stat calls in the usual case. if [ ! -d "$dstdir" ]; then defaultIFS=' ' IFS="${IFS-${defaultIFS}}" oIFS="${IFS}" # Some sh's can't handle IFS=/ for some reason. IFS='%' set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` IFS="${oIFS}" pathcomp='' while [ $# -ne 0 ] ; do pathcomp="${pathcomp}${1}" shift if [ ! -d "${pathcomp}" ] ; then $mkdirprog "${pathcomp}" else true fi pathcomp="${pathcomp}/" done fi if [ x"$dir_arg" != x ] then $doit $instcmd $dst && if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi else # If we're going to rename the final executable, determine the name now. if [ x"$transformarg" = x ] then dstfile=`basename $dst` else dstfile=`basename $dst $transformbasename | sed $transformarg`$transformbasename fi # don't allow the sed command to completely eliminate the filename if [ x"$dstfile" = x ] then dstfile=`basename $dst` else true fi # Make a temp file name in the proper directory. dsttmp=$dstdir/#inst.$$# # Move or copy the file name to the temp name $doit $instcmd $src $dsttmp && trap "rm -f ${dsttmp}" 0 && # and set any options; do chmod last to preserve setuid bits # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $instcmd $src $dsttmp" command. if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && # Now rename the file to the real destination. $doit $rmcmd -f $dstdir/$dstfile && $doit $mvcmd $dsttmp $dstdir/$dstfile fi && exit 0 printfilters/master-filter.in0100755000176500017650000002624107325345321016170 0ustar debiandebian#!/bin/bash # # # New smart print filter # # # determines input file magic # # looks in the default filter plugin (FPI) directory # finds all *.fpi files, then finds a combination that will # yield the desired file type, or will indicate this is # impossible. # if [ -f .debug ]; then set -x exec 2>log.filter fi function filtfrom { echo -ne ${1%-to-*} } function filtto { echo -ne ${1#*-to-} } # # given filters as input vars, find next level available given the # first arg is the starting point # function nextlvl { local try local start local all local depth # # # $1 is starting point, find something that will work # start="$1" shift depth="$1" shift all="$@" # # get out of here if too deep! # if [ $depth -ge $MAX_DEPTH ]; then return 1 fi if [ $DEBUG_TREE ]; then echo "Starting point = $start" >> /tmp/filter.debug fi if [ $(filtto $start) = $DESIRED_TO ]; then echo " DONE" return 0 fi while [ $1 ]; do try=$1 shift if [ $DEBUG_TREE ]; then echo "for $start trying $try" >> /tmp/filter.debug fi if [ $(filtfrom $try) = $(filtto $start) ]; then echo -n "$start.fpi:$depth:CONT " if [ $(filtto $try) = $DESIRED_TO ]; then echo -n "$try.fpi:$((depth+1)):DONE " return 0 else # echo -n $try nextlvl $try $((depth+1)) $all # echo "|G is $G| " if [ $DEBUG_TREE ]; then echo "|rt is $?|" >> /tmp/filter.debug fi if [ "$?" = "0" ] then if [ $DEBUG_TREE ]; then echo "for $start we are done" >> /tmp/filter.debug fi # return 0 else if [ $DEBUG_TREE ]; then echo "for $start we have failed" >> /tmp/filter.debug fi return 1 fi fi fi # echo "" done } # # MAIN # # # # # setup some global variables used by this script # # # # FPIDIR points to where print filter plug-ins are stored # Normally these will be installed with a package via RPM # prefix=@prefix@ exec_prefix=@exec_prefix@ datadir=@datadir@ pkgdatadir=${datadir}/@PACKAGE@ libexecdir=${exec_prefix}/libexec FPIDIR=$libexecdir PATH=${FPIDIR}:${PATH} # # MAX_DEPTH determines how long a string of filters will be # tried as a possible printing solution. How many input # formats will take 6 filters to output Postscript! # Unlikely this will need to be changed. # MAX_DEPTH=6 # # define these to gets lots of feedback # output is appended on /tmp/filter.debug # DEBUG_TREE="" DEBUG_FILTER="" # # Setup variables available to all filter plug-ins # # # # SPOOLDIR is directory which lpd is spooling from # export SPOOLDIR=$(pwd) # # Get queue specific information (which was written by printtool) # # find the name of the queue from the spool dir eval `pcap -S $SPOOLDIR` # # Load general config options # if [ -f "${SPOOLDIR}/general.cfg" ];then source ${SPOOLDIR}/general.cfg else eval `pcap -P$queue:DESIRED_TO` >> /dev/null eval `pcap -P$queue:PAPERSIZE` >> /dev/null eval `pcap -P$queue:PRINTER_TYPE` >> /dev/null eval `pcap -P$queue:ASCII_TO_PS` >> /dev/null fi if [ "$DEBUG_FILTER" != "" ]; then echo "Desired print format is $DESIRED_TO" >> /tmp/filter.debug echo "Paper size is $PAPERSIZE" >> /tmp/filter.debug echo -n "A form feed will " >> /tmp/filter.debug if [ "$SEND_EOF" = "" ]; then echo "not be sent." >> /tmp/filter.debug else echo "be sent." >> /tmp/filter.debug fi fi cd $FPIDIR fpis=$(ls *.fpi 2> /dev/null | tr '\n' ' ' | sed 's/\.fpi//g') # RH 7.0 rhs-printfilter 1.81 Has this fragment of code. However, # this will only work with LPRng not LPR and so we are commenting # it out here. The point of the change seems to be to remove the # need for rewindstdin. I don't know if this was due to some bug # that they discovered or if it is just because the notion of # using something like rewindstdin is really bizarre. Other effects of this change are marked with the comment RH70. # -ben Dec 19 2000 # # let's get the name of the data file, which we can examine # # export SPOOLFILE=$(printenv CONTROL | grep -E '(^c|^f|^g|^l|^n|^o|^p|^r|^t|^v|^d)' | sed 's/.//' | head -n 1 -) # if [ -z "$SPOOLFILE" ] ; then # printf "No spool file found.\014" # exit 0 # else # SPOOLFILE=${SPOOLDIR}/${SPOOLFILE} # fi # # let's see if its a compressed file first # # # Figure out the magic of the input file # magic=$(file -) # RH70 # magic=$(file ${SPOOLFILE}) magic=${magic#*: } case `echo $magic | tr 'A-Z' 'a-z'` in # Not sure why RH removed *compress* here *packed*|*gzip* ) @libexecdir@/rewindstdin # RH70 removed DECOMPRESS="gzip -dc" magic=$($DECOMPRESS - | file -) magic=${magic#*: } ;; *bzip2* ) DECOMPRESS="bzip2 -dc" magic=$($DECOMPRESS ${SPOOLFILE} | file -) magic=${magic#*: } ;; * ) DECOMPRESS="";; esac @libexecdir@/rewindstdin # RH70 removed magic=${magic#*: } if [ "$DEBUG_FILTER" != "" ]; then echo "Magic is |$magic|" >> /tmp/filter.debug fi case `echo $magic | tr 'A-Z' 'a-z'` in *empty* ) exit;; "pc bitmap data"* ) startpnt="INPUT-to-bmp";; "gif image data"* ) startpnt="INPUT-to-gif";; "jpeg image data"* ) startpnt="INPUT-to-jpeg";; "tiff image data"* ) startpnt="INPUT-to-tiff";; "sun raster image data"* ) startpnt="INPUT-to-rast";; "pgm"*|"pbm"*|"ppm"* ) startpnt="INPUT-to-pnm";; "png"* ) startpnt="INPUT-to-png";; postscript* ) startpnt="INPUT-to-ps";; "tex dvi file"* ) startpnt="INPUT-to-dvi";; "fig image text"* ) startpnt="INPUT-to-fig";; # troff is safe again with groff-1.11a or later we hope "troff or preprocessor"* ) startpnt="INPUT-to-troff";; "rpm"* ) startpnt="INPUT-to-rpm";; *ascii*|*text*|*english*|*script* ) startpnt="INPUT-to-asc";; *data*|*escape* ) startpnt="INPUT-to-prdata";; *pcl* ) startpnt="INPUT-to-prdata";; * ) startpnt="INPUT-to-unknown";; esac # # here is where we could put in hook to call user routine(s) to # handle extra magics they've defined filters for # # call_user_magic_hook() # if [ "$DEBUG_FILTER" != "" ]; then echo "Type of file is $startpnt" >> /tmp/filter.debug fi if [ "$startpnt" = "Dont know" ]; then echo "Error - input file type is unknown - cannot print" exit 1 fi # # catch some easy cases without having to figure out best path the hard way # bestpath="" foundbest="NO" if [ $(filtto $startpnt) = "asc" ]; then if [ "$ASCII_TO_PS" = "NO" ]; then bestpath="$startpnt | asc-to-printer.fpi" foundbest="YES" fi elif [ $(filtto $startpnt) = "prdata" ]; then bestpath="$startpnt | cat -" foundbest="YES" elif [ $(filtto $startpnt) = $DESIRED_TO ]; then bestpath="$startpnt | $DESIRED_TO-to-printer.fpi" foundbest="YES" fi if [ "$foundbest" != "YES" ]; then # # we go through and find best path # G=`nextlvl "$startpnt" "0" $fpis` if [ "$DEBUG_FILTER" != "" ]; then echo "$G" >> /tmp/filter.debug fi # # now sort out the best path of all available # # # if no processing required, depth will equal 'DONE' # if [ "${G# *}" != "DONE" ]; then root="" bestdepth=$((MAX_DEPTH*2)) bestpath="" curdepth="0" depth="0" foundbest="NO" for i in $G; do entry=${i%%:*} depth=${i#*:} depth=${depth%:*} if [ $depth -le $curdepth ]; then while [ $(($depth <= $curdepth && $curdepth >= 0)) -eq 1 ]; do root=${root%* | *} curdepth=$(($curdepth - 1)) done fi if [ $(($curdepth < 0)) -eq 1 ]; then root="" fi curdepth=$depth if [ "$root" = "" ]; then root="$entry" else root="$root | $entry" fi if [ ${i##*:} = "DONE" ]; then if [ "$DEBUG_FILTER" != "" ]; then echo "$root -> depth = $depth" >> /tmp/filter.debug fi if [ $depth -lt $bestdepth ]; then foundbest="YES" bestdepth=$depth bestpath=$root fi fi done fi if [ "$foundbest" = "YES" ]; then bestpath="$bestpath | $DESIRED_TO-to-printer.fpi" fi # # end of doing it the hard way # fi # # we have to add filter to convert desired format to something the # printer can handle. May be as simple as 'cat' # # # ok we got here, and if input data magic is 'data' we'll let it # through, hoping it really will work on the printer! # Note we still reject lots of magics, like ELF, by doing this # which is what we want # # # getting bad, but trapping all "special" cases here # # if [ "$foundbest" = "NO" ]; then printf "No way to print this type of input file: $magic \014" exit 0 else # # fix up the best path so we can run it # if [ "$DECOMPRESS" = "" ]; then bestpath="cat - ${bestpath#* }" else bestpath="$DECOMPRESS ${bestpath#* }" fi fi # # any post-filter to run (like smbclient?) # if [ "$PRINTER_TYPE" = "SMB" ]; then bestpath="$bestpath | ${FPIDIR}/smbprint ${SPOOLDIR}/acct" elif [ "$PRINTER_TYPE" = "NCP" ]; then bestpath="$bestpath | ${FPIDIR}/ncpprint ${SPOOLDIR}/acct" elif [ "$PRINTER_TYPE" = "DIRECT" ]; then bestpath="$bestpath | ${FPIDIR}/directprint ${SPOOLDIR}/acct" elif [ "$PRINTER_TYPE" = "ATALK" ]; then PNAME="`cat ${SPOOLDIR}/.paprc`" bestpath="$bestpath | /usr/bin/pap -p $PNAME" fi if [ "$DEBUG_FILTER" != "" ]; then echo "Best path of depth $bestdepth is $bestpath" >> /tmp/filter.debug fi # # run the command! # eval $bestpath 2>/tmp/evillog # # # see if we need to send a form feed to eject the page from printer # # if [ "$SEND_EOF" != "" ]; then # printf "\014" # fi exit 0 printfilters/missing0100755000176500017650000001421307062410422014443 0ustar debiandebian#! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright (C) 1996, 1997 Free Software Foundation, Inc. # Franc,ois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi case "$1" in -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file yacc create \`y.tab.[ch]', if possible, from existing .[ch]" ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing - GNU libit 0.0" ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; aclocal) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`acinclude.m4' or \`configure.in'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`configure.in'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`acconfig.h' or \`configure.in'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' configure.in` test -z "$files" && files="config.h" touch_files= for f in $files; do case "$f" in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`configure.in'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi if [ ! -f y.tab.h ]; then echo >y.tab.h fi if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` fi touch $file ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and you do not seem to have it handy on your system. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequirements for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 printfilters/mkinstalldirs0100755000176500017650000000132207062410422015647 0ustar debiandebian#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman # Created: 1993-05-16 # Public domain # $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $ errstatus=0 for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do pathcomp="$pathcomp$d" case "$pathcomp" in -* ) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr fi fi pathcomp="$pathcomp/" done done exit $errstatus # mkinstalldirs ends here printfilters/printfilters.spec.in0100644000176500017650000001271607325345321017067 0ustar debiandebian%define name @PACKAGE@ %define version @VERSION@ %define rel 2 %define prefix /usr # see the configure.in for a note on version numbers Name: %{name} Version: %{version} Release: %{rel} Summary: Print filters, for use with the gnulpr and printtool. Copyright: GPL Group: Applications/Publishing Source0: %{name}-%{version}.tar.gz Requires: mpage >= 2.4, lpr >= 0.70, ghostscript >= 5.10, file, libprintsys, ppdfilt Buildroot: /var/tmp/printfilters-root # # these conflcts exists because Dr Mike changes the location of the filters # and because Ben changed the name of the package. # Conflicts: libgr-progs < 2.0.9-7, rhs-printfilters, vine-printfilters %description The rhs-printfilters package contains a set of print filters which are primarily meant to be used with the Red Hat printtool. These print filters provide an easy way for users to handle printing numerous file formats. %prep %setup %build ./configure --prefix=%{_prefix} make %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_prefix} make DESTDIR="$RPM_BUILD_ROOT" install # strip $RPM_BUILD_ROOT/usr/lib/rhs/rhs-printfilters/rewindstdin find "$RPM_BUILD_ROOT" -type f -print \ | sed -e "s@^${RPM_BUILD_ROOT}@@" > rpm.filelist %clean rm -rf $RPM_BUILD_ROOT %files -f rpm.filelist %defattr(-,root,root) %changelog * Mon Jun 4 2001 Ben Woodard - Added a dependency on ppdfilt. * Fri Jun 1 2001 Ben Woodard - Added a conflict with vine-printfilters so that red-carpet would work properly with turbo. * Wed May 23 2001 Ben Woodard - tweaked with the dependencies now that it depends on libprintsys * Tue Dec 19 2000 Ben Woodard - merged in changes from rh 1.81 version * Fri Apr 21 2000 Ben Woodard - forked from the rh 1.63 version * Mon Feb 28 2000 Bill Nottingham - add a couple more lexmarks now in gs5.50 * Thu Feb 17 2000 Bill Nottingham - fix wrong driver for laserjet plus * Mon Feb 14 2000 Bill Nottingham - ooops, put ppaprint in the filelist - add some gs-5.50 mappings * Fri Feb 11 2000 Bill Nottingham - pnm2ppa support - fix problem with rewindstdin * Wed Jan 26 2000 Bill Nottingham - add stylus color 740 to printerdb * Mon Nov 8 1999 Bill Nottingham - revert ps-to-printer tempfile usage. There has to be a better way to do this. * Wed Jul 21 1999 Bill Nottingham - munge smbprint Yet Again(tm) * Thu Jul 8 1999 Bill Nottingham - make printerdb config(noreplace) * Thu Jul 1 1999 Bill Nottingham - add more drivers * Fri Jun 18 1999 Bill Nottingham - fix rpm printing * Mon Jun 14 1999 Bill Nottingham - use smbclient's -c command. Makes much more sense. * Mon May 24 1999 Bill Nottingham - hmm. The translate option went away at some point. Oops. * Mon May 3 1999 Bill Nottingham - yet another typo in SMB stuff. Urg. * Mon Apr 5 1999 Bill Nottingham - strip binaries * Thu Apr 1 1999 Bill Nottingham - fix some printerdb stuff for ghostscript brokenness * Fri Mar 19 1999 Bill Nottingham - remove some oboslete text * Mon Feb 8 1999 Bill Nottingham - uniprint support * Tue Dec 29 1998 Bill Nottingham - add workaround for Adobe(!) postscript driver * Mon Dec 28 1998 Bill Nottingham - remove 1bpp from cdj-based drivers, 'cos it's broken. * Wed Nov 18 1998 Bill Nottingham - add workgroup support to smbprint, fix quoting issues * Wed Sep 30 1998 Bill Nottingham - fix typo in ncpprint * Wed Sep 15 1998 Bill Nottingham - Added ncpprint to %files section (oops!) * Thu Sep 2 1998 Bill Nottingham - Added NCP printing support * Tue Jun 30 1998 Michael Maher - Fixed BUG 703, added findutils dependecy. - Added buildroot. * Fri May 08 1998 Prospector System - translations modified for de, fr, tr * Wed Oct 22 1997 Michael Fulbright - Fixed printerdb to include 300x300 resolution for LaserJet 4 models - Restored troff file handling now troff fpi is 'safe' * Tue Oct 14 1997 Michael Fulbright - Fixed master-filter to NOT handle troff files automatically * Thu Jul 31 1997 Erik Troan - built against glibc * Wed Apr 23 1997 Michael Fulbright - Fixed problem with asc-to-printer.fpi not handling cr/lf trans correct * Fri Apr 18 1997 Michael Fulbright - fixed up Canon 600/4000 printerdb def - added some HP Deskjets which I know work * Thu Apr 10 1997 Michael Fulbright - Added requirement that gs is installed. Pretty useless w/o it if you print anything interesting. * Fri Mar 13 1997 Michael Fulbright - Added conflicts so that packages with old filter loc won't hurt us. - Moved to version 1.2. - Added mpage support to allow nup printing. * Wed Mar 13 1997 Michael Fulbright - Added a DeskJet500Mono driver which links to the gs driver djet500. - Added a A4 paper size test page. - Fixed Makefile to build .ps test pages from the .fig files. * Mon Mar 10 1997 Michael Fulbright - Split filters off from printtool into this package . printfilters/ps-to-printer.fpi.in0100755000176500017650000001265107325345321016712 0ustar debiandebian#!/bin/sh # # convert ps to the format required by the printer on this queue # # if the printer is a PostScript printer, just cat it through # if the printer uses ghostscript, we'll run it now # if the printer is neither, we die (with good message to someone) # if [ -f "${SPOOLDIR}/.debug" ];then set -x exec 2>${SPOOLDIR}/log.ps-to-printer.fpi fi # location of the ppaprint script prefix=@prefix@ exec_prefix=${prefix} libexecdir=${exec_prefix}/libexec bindir=${exec_prefix}/bin FPIDIR=$libexecdir # look up the printcap entry with sd=$SPOOLDIR and grab its ppdfile PPDFILE=`$FPIDIR/grab-ppd.awk -v spool=${SPOOLDIR} /etc/printcap` # absolute path? if not, prepend $SPOOLDIR echo $PPDFILE | grep '^/' > /dev/null 2>&1 if test $? -ne 0; then PPDFILE=${SPOOLDIR}/${PPDFILE} fi # find the name of the queue from the spool dir eval `pcap -S $SPOOLDIR` # # Load postscript configuration options # if [ -f "${SPOOLDIR}/postscript.cfg" ]; then source ${SPOOLDIR}/postscript.cfg else eval `pcap -P$queue:GSDEVICE` >> /dev/null eval `pcap -P$queue:RESOLUTION` >> /dev/null eval `pcap -P$queue:COLOR` >> /dev/null eval `pcap -P$queue:PAPERSIZE` >> /dev/null eval `pcap -P$queue:EXTRA_GS_OPTIONS` >> /dev/null eval `pcap -P$queue:PS_SEND_EOF` >> /dev/null eval `pcap -P$queue:NUP` >> /dev/null eval `pcap -P$queue:RTLFTMAR` >> /dev/null eval `pcap -P$queue:TOPBOTMAR` >> /dev/null fi # # see if we should reverse order # # support will be added for this in the future # psorder needed and is part of netatalk, which we dont currently ship # if [ "$PAPERSIZE" = "letter" ]; then mpage_paper="Letter" elif [ "$PAPERSIZE" = "a4" ]; then mpage_paper="A4" elif [ "$PAPERSIZE" = "legal" ]; then mpage_paper="Legal" else mpage_paper="Letter" fi # # weird case - some PS doesnt get handled by mpage well # so we allow nup=1 to just cat PS to printer w/o mpage interferring # if [ "$NUP" = "1" ]; then border="-o" mpage_cmd="cat -" else border="" mpage_cmd="mpage -b$mpage_paper $border -$NUP -m${RTLFTMAR}lr -m${TOPBOTMAR}tb" fi # processing based upon ppd using LPRng if [ -n "$CONTROL" -a -f "$PPDFILE" ]; then LPOPTS=`sed -n -e 's/^Z/ /' -e 's/,/ /' -e '/^ /p' -e 's/^ //' < /dev/null 2>&1 ; then eval "$mpage_cmd | sed \"s/[(]%%.*%%[)].*flush//g\" | \ gs -q \ -r$RESOLUTION \ -sPAPERSIZE=$PAPERSIZE \ -dNOPAUSE \ -dSAFER \ -sOutputFile=- \ $PPA_CMD" else echo "Error - ps-to-printer.fpi - PPA postprocessor error:" echo $PPA_CMD exit 1 fi else # We're using ghostscript in traditional manner eval "$mpage_cmd | sed \"s/[(]%%.*%%[)].*flush//g\" | \ gs -q -sDEVICE=$GSDEVICE \ -r$RESOLUTION \ -sPAPERSIZE=$PAPERSIZE \ -dNOPAUSE \ -dSAFER \ -sOutputFile=- \ $COLOR \ $EXTRA_GS_OPTIONS \ -" fi # # # see if we need to send a form feed to eject the page from printer # if [ "$PS_SEND_EOF" = "YES" ]; then printf "\004" fi exit 0 printfilters/rewindstdin.c0100644000176500017650000000013507325345321015547 0ustar debiandebian#include #include int main(void) { lseek(0,0,0); return 0; } printfilters/general.cfg.in0100644000176500017650000000056107331333502015552 0ustar debiandebian# # General config options for printing on this queue # Generated by PRINTTOOL, do not modify. # export DESIRED_TO=@@@desiredto@@@ export PAPERSIZE=@@@papersize@@@ export PRINTER_TYPE=@@@printertype@@@ export ASCII_TO_PS=@@@ascps_trans@@@ #This line is needed in Debian, and in any other system # using libpaperg. It is innocuous otherwise. export PAPERCONF=$PAPERSIZE printfilters/postscript.cfg.in0100644000176500017650000000071707325622607016364 0ustar debiandebian# # configuration related to postscript printing # generated automatically by PRINTTOOL # manual changes to this file may be lost # GSDEVICE=@@@gsdevice@@@ RESOLUTION=@@@resolution@@@ COLOR=@@@color@@@ PAPERSIZE=@@@papersize@@@ EXTRA_GS_OPTIONS=@@@extragsoptions@@@ REVERSE_ORDER=@@@reversepages@@@ PS_SEND_EOF=@@@pssendeof@@@ # # following is related to printing multiple pages per output page # NUP=@@@nup@@@ RTLFTMAR=@@@rtlftmar@@@ TOPBOTMAR=@@@topbotmar@@@ printfilters/textonly.cfg.in0100644000176500017650000000030507325345321016024 0ustar debiandebian# # text-only printing options for printing on this queue # Generated by PRINTTOOL, do not modify. # TEXTONLYOPTIONS=@@@textonlyoptions@@@ CRLFTRANS=@@@crlftrans@@@ TEXT_SEND_EOF=@@@textsendeof@@@ printfilters/printerdb0100644000176500017650000032674407325622607015013 0ustar debiandebian# # Printer database for printtool # # # FORMAT: # # Lines starting with a '#' are considered comments # # A printer description is formated as (case-sensitive throughout) # # StartEntry and Description must be unique to each other. # Change in code may allow Description to be same but # currently this is required. # # StartEntry: PrinterEntryName # GSDriver: gsdrivername # Description: {This should be a one-line description in braces} # About: { # This is a longer description, giving details for the \ # user about specific features of this printer entry \ # It can be many lines long, and a continuation character \ # is needed in that case. A brace closes the string. \ # Whitespace and newlines are removed when read in. \ # The description will be stroed as one long string. \ # } # Resolution: {XDPI} {YDPI} {Optional text comment} # Resolution: {XDPI} {YDPI} {Optional text comment} # Resolution: {XPDI} {YDPI} {Just keep adding these} # Resolution: {XPDI} {YDPI} {No checking if added twice} # BitsPerPixel: {BitsPerPixel} {Optional comment} # BitsPerPixel: {BitsPerPixel} {Can have arbitrary number} # or, (for unipriner drivers) # BitsPerPixel: {upp_file} {Comment copied from upp file} # # Possibly allow other gs params to be input like BitsPerPixel is in future # # EndEntry: # # # Some printer types are commented out because by default ghostscript # is not built with support for those printers. If you compile # ghostscript with support, uncomment the entry in this file so # that it will appear as an option in printtool. # # Printtool should filter this list for only those available through # the currently installed ghostscript # # # Changes: # # Wed Mar 12 - Added DeskJet500Mono entry - it is a B&W only driver (djet500) # # # Newer HP deskjets # # gdevcdj.c # # For newer HP deskjet printers, the old names # cdeskjet, cdjcolor, and cdjmono # have been replaced by the following printers. # # to get the same behavior now, use # gs -sDEVICE=cdj500 -dBitsPerPixel=24 ... for cdjcolor, and # gs -sDEVICE=cdj500 -dBitsPerPixel=1 ... for cdjmono # # so use the -dBitsPerPixel= to set color/mono options # also can set BlackCorrect, Shingling, and Depletion for best output # described in drivers.doc with gs-3.33 # Also have PrintQuality and RenderType for xpaintjet XL300/XL too... # # Resolution: 300x300 except declj250 is 180x180, canon bjc-600 is 360x360 # laserjet 4 dithered is 600x600. # # Color Support: 1, 3, 8, 16, 24, and 32( last is dj550c only) # see the devices.doc for descriptions of what these do! # StartEntry: DeskJetUNK GSDriver: hpdj Description: {HP DeskJet series} About: { \ This driver supports all non-PPA HP DeskJet printers. \ See gs-hpdj(1) man page. \ } Resolution: {300} {300} {} Resolution: {600} {300} {} Resolution: {600} {600} {} EndEntry StartEntry: DeskJet500Mono GSDriver: djet500 Description: {HP DeskJet 500} About: { \ This driver supports the HP DeskJet 500 inkjet printer. \ It does does not support color printing. \ Ghostscript supports several optional parameters for \ this driver: see the document 'devices.doc' \ in the ghostscript directory under /usr/doc. \ } Resolution: {300} {300} {} EndEntry StartEntry: DeskJet500 GSDriver: cdj500 Description: {HP DeskJet 400/500C/520/540C} About: { \ This driver supports the HP inkjet printers which have \ color capability with an optional color cartridge. \ If your DeskJet can use EITHER a B&W cartridge or \ a color cartridge, but not both simultaneously, \ this driver may work for you. \ Ghostscript supports several optional parameters for \ this driver: see the document 'devices.doc' \ in the ghostscript directory under /usr/doc. \ } Resolution: {300} {300} {} BitsPerPixel: {3} {Normal color printing with color cartridge} BitsPerPixel: {8} {Floyd-Steinberg B&W printing for better greys} BitsPerPixel: {24} {Floyd-Steinberg Color printing (best, but slow)} EndEntry StartEntry: DeskJet550 GSDriver: cdj550 Description: {HP DeskJet 550C/560C/6xxC series} About: { \ This driver supports the HP inkjet printers which have \ color capability using both black and color cartridges \ simultaneously. Known to work with the 682C and the 694C. \ Other 600 and 800 series printers may work \ if they have this feature. \ If your printer seems to be saturating the paper with ink, \ try added an extra GS option of '-dDepletion=2'. \ Ghostscript supports several optional parameters for \ this driver: see the document 'devices.doc' \ in the ghostscript directory under /usr/doc. \ } Resolution: {300} {300} {} BitsPerPixel: {3} {Normal color printing with color cartridge} BitsPerPixel: {8} {Floyd-Steinberg B&W printing for better greys} BitsPerPixel: {24} {Floyd-Steinberg Color printing (best, but slow)} BitsPerPixel: {32} {Sometimes provides better output than 24} EndEntry StartEntry: DeskJet670 GSDriver: cdj670 Description: {HP DeskJet 670/680/690 series} About: { \ This driver supports the HP 670/680/690 inkjet printers. \ } Resolution: {300} {300} {} EndEntry StartEntry: DeskJet850 GSDriver: cdj850 Description: {HP DeskJet 850/855/870/1100 series} About: { \ This driver supports the HP 850/855/870/1100 inkjet printers.\ } Resolution: {300} {300} {} EndEntry StartEntry: DeskJet880 GSDriver: cdj880 Description: {HP DeskJet 880 series} About: { \ This driver supports the HP DeskJet 880 and compatible inkjet printers.\ } Resolution: {300} {300} {} EndEntry StartEntry: DeskJet890 GSDriver: cdj890 Description: {HP DeskJet 890 series} About: { \ This driver supports the HP DeskJet 890 and compatible inkjet printers.\ } Resolution: {300} {300} {} EndEntry StartEntry: DeskJet1600 GSDriver: cdj1600 Description: {HP DeskJet 1600 series} About: { \ This driver supports the HP 1600 inkjet printers. \ } Resolution: {300} {300} {} EndEntry StartEntry: PaintJet GSDriver: pj Description: {HP PaintJet} About: { \ Driver for the HP PaintJet printer. More information \ on this driver is available in the file 'devices.doc' \ in the ghostscript directory under /usr/doc. \ } Resolution: {180} {180} {} BitsPerPixel: {3} {Normal color printing with color cartridge} BitsPerPixel: {8} {Floyd-Steinberg B&W printing for better greys} BitsPerPixel: {24} {Floyd-Steinberg Color printing (best, but slow)} EndEntry StartEntry: PaintJetXL GSDriver: pjxl Description: {HP PaintJet XL} About: { \ Driver for the HP PaintJet XL printer. More information \ on this driver is available in the file 'devices.doc' \ in the ghostscript directory under /usr/doc. \ } Resolution: {300} {300} {} BitsPerPixel: {3} {Normal color printing with color cartridge} BitsPerPixel: {8} {Floyd-Steinberg B&W printing for better greys} BitsPerPixel: {24} {Floyd-Steinberg Color printing (best, but slow)} EndEntry StartEntry: PaintJetXL300 GSDriver: pjxl300 Description: {HP PaintJet XL300 and DeskJet 1200C} About: { \ Driver for the HP PaintJet XL300 and DeskJet 1200C printers.\ More information \ on this driver is available in the file 'devices.doc' \ in the ghostscript directory under /usr/doc. \ } Resolution: {300} {300} {} BitsPerPixel: {3} {Normal color printing with color cartridge} BitsPerPixel: {8} {Floyd-Steinberg B&W printing for better greys} BitsPerPixel: {24} {Floyd-Steinberg Color printing (best, but slow)} EndEntry StartEntry: DECLJ250 GSDriver: declj250 Description: {DEC LJ250 (Alt)} About: { \ Driver for the DEC LJ250 printer(Alternate).\ More information \ on this driver is available in the file 'devices.doc' \ in the ghostscript directory under /usr/doc. \ } Resolution: {180} {180} {} BitsPerPixel: {3} {Normal color printing with color cartridge} BitsPerPixel: {8} {Floyd-Steinberg B&W printing for better greys} BitsPerPixel: {24} {Floyd-Steinberg Color printing (best, but slow)} EndEntry StartEntry: HPDesignJet650C GSDriver: dnj650c Description: {HP DesignJet 650C} About: { \ Driver for the HP DesignJet 650C printer.\ More information \ on this driver is available in the file 'devices.doc' \ in the ghostscript directory under /usr/doc. \ } Resolution: {300} {300} {} BitsPerPixel: {3} {Normal color printing with color cartridge} BitsPerPixel: {8} {Floyd-Steinberg B&W printing for better greys} BitsPerPixel: {24} {Floyd-Steinberg Color printing (best, but slow)} EndEntry StartEntry: LaserJet4dither GSDriver: lj4dith Description: {HP LaserJet 4 - dithered} About: { \ Driver for the HP LaserJet 4 printer.\ This driver does Floyd-Steinberg dithering for better \ greys. \ } Resolution: {600} {600} {} EndEntry # # Not sure how to get color to work on this printer yet... # StartEntry: BJC600 GSDriver: bjc600 Description: {Canon BJC-600 and BJC-4000} About: { \ Driver for the Canon BJC-600 and BJC-4000 printers.\ Should work for later 600 and 4000 series printers, but this \ is untested. \ } Resolution: {360} {360} {} BitsPerPixel: {8} {Floyd-Steinberg B&W printing for better greys} BitsPerPixel: {24} {Floyd-Steinberg Color printing (best, but slow)} EndEntry # # PCL printers are in # # gdevdjet.c # # Supports older deskjets (500, PLUS, and prior) and LaserJets too. # LaserJet # LaserJet Plus # LaserJet 2p # LaserJet 3 # DeskJet # DeskJet 500 # LaserJet 4 # LaserJet 3D # # Resoltion: 75, 100, 150, 300 or 600 (LJ4 only) dpi # StartEntry: DeskJet GSDriver: deskjet Description: {HP DeskJet/DeskJet Plus} About: { \ Driver for the HP DeskJet and DeskJet Plus. \ For the 500, 600, and 800 series DeskJets,\ consider looking at the alternative drivers available \ for the 500 series before using this one. This driver for \ an older model. \ } Resolution: {300} {300} {} EndEntry StartEntry: LaserJet GSDriver: laserjet Description: {HP LaserJet} About: { \ Driver for the HP LaserJet. \ } Resolution: {300} {300} {} EndEntry StartEntry: LaserJetPlus GSDriver: ljetplus Description: {HP LaserJet Plus} About: { \ Driver for the HP LaserJet Plus. \ } Resolution: {300} {300} {} EndEntry StartEntry: LaserJet2p GSDriver: ljet2p Description: {HP LaserJet IId/IIp/III* with TIFF compression} About: { \ Driver for the HP LaserJet II series printers. \ } Resolution: {300} {300} {} EndEntry StartEntry: LaserJet3 GSDriver: ljet3 Description: {HP LaserJet III* with Delta Row Compression} About: { \ Driver for the HP LaserJet III printer.\ This driver features Delta Row Compression. \ There is another LaserJet III driver available, \ so if this one does not work properly, try the other. \ } Resolution: {300} {300} {} EndEntry StartEntry: LaserJet3d GSDriver: ljet3d Description: {HP LaserJet III* with duplex capability} About: { \ Driver for the HP LaserJet IIId printer.\ This driver features duplex capability. \ There is another LaserJet III driver available, \ so if this one does not work properly, try the other. \ } Resolution: {300} {300} {} EndEntry StartEntry: LaserJet4 GSDriver: ljet4 Description: {HP LaserJet 4/5/6 series, non-PostScript} About: { \ Driver for the HP LaserJet 4 printer.\ It also may support the LaserJet 5 or 6 printer as well. \ Early LaserJet 4 models can only do 300x300 resolution. \ Do not use this driver for PostScript printers - \ use the PostScript driver instead. \ } Resolution: {300} {300} {} Resolution: {600} {600} {} EndEntry # # Epson "ESC/P 2" driver # # gdevescp.c # # Resolutions: 180x180, 180x360, 360x180, 360x360 # # StartEntry: EpsonStylus800 GSDriver: st800 Description: {Epson Stylus 800 & ESC/P 2 printers} About: { \ Driver for the Epson Stylus 800. \ This driver may work with printers supporting \ the ESC/P 2 specification.\ } Resolution: {180} {180} {} Resolution: {180} {360} {} Resolution: {360} {180} {} Resolution: {360} {360} {} EndEntry StartEntry: EpsonAP3250 GSDriver: ap3250 Description: {Epson AP3250 & ESC/P 2 printers} About: { \ Driver for the Epson AP3250.\ This driver may work with printers supporting \ the ESC/P 2 specification.\ } Resolution: {180} {180} {} Resolution: {180} {360} {} Resolution: {360} {180} {} Resolution: {360} {360} {} EndEntry # # IBM 3853 JetPrinter (color) # # gdev3852.c # # Resolution: 84x84 # # Uses 3 bit color? # StartEntry: IBMJetPrinter3853 GSDriver: jetp3852 Description: {IBM 3853 JetPrinter} About: { \ Driver for the IBM 3853 JetPrinter.\ } Resolution: {84} {84} {} EndEntry # # Ricoh 4081 laser printer # # gdev4081.c # # Resolution: 300x300 # # Colors: 1 bit # StartEntry: Ricoh4081 GSDriver: r4081 Description: {Ricoh 4081 laser printer} About: { \ Driver for the Ricoh 4081 laser printer.\ } Resolution: {300} {300} {} EndEntry # # Tektronix 4693d color plotter # # gdev4693.c # # Resolution: 100x100 # # Color: 2, 4, 8 bits per R/B/G component # StartEntry: Tek4693d2 GSDriver: t4693d2 Description: {Tek 4693d color printer, 2 bit mode} About: { \ Driver for the Tektronix 4693d color printer, using \ 2 bits per R/G/B component. \ } Resolution: {100} {100} {} EndEntry StartEntry: Tek4693d4 GSDriver: t4693d4 Description: {Tek 4693d color printer, 4 bit mode} About: { \ Driver for the Tektronix 4693d color printer, using \ 4 bits per R/G/B component. \ } Resolution: {100} {100} {} EndEntry StartEntry: Tek4693d8 GSDriver: t4693d8 Description: {Tek 4693d color printer, 8 bit mode} About: { \ Driver for the Tektronix 4693d color printer, using \ 8 bits per R/G/B component. \ } Resolution: {100} {100} {} EndEntry # # C.Itoh M8510 printer # # gdev8510.c # # Resolution: 160x144 # # Color: 1 bit # StartEntry: CItohM8510 GSDriver: m8510 Description: {C.Itoh M8510} About: { \ Driver for the C.Itoh M8510 printer.\ } Resolution: {100} {100} {} EndEntry # # Apple Imagewriters # # gdevadmp.c # # Resolution: # appledmp 120x72 # iwlo 160x72 # iwhi 160x144 # iwlq 320x216 # # Color: 1 # StartEntry: AppleDMP GSDriver: appledmp Description: {Apple Dot Matrix} About: { \ Driver for the Apple Dot Matrix printers, including \ the ImageWriter. There are several other ImageWriter \ drivers available which you may want to consider. \ } Resolution: {120} {72} {} EndEntry StartEntry: ImageWriterLO GSDriver: iwlo Description: {Apple Imagewriter, low-resolution} About: { \ Driver for the Apple ImageWriter. \ This driver supports the low-resolution setting of \ 120x72 dpi. \ There are several other ImageWriter \ drivers available which you may want to consider. \ } Resolution: {120} {72} {} EndEntry StartEntry: ImageWriterHI GSDriver: iwhi Description: {Apple Imagewriter, high-resolution} About: { \ Driver for the Apple ImageWriter. \ This driver supports the high-resolution setting of \ 120x144 dpi. \ There are several other ImageWriter \ drivers available which you may want to consider. \ } Resolution: {120} {144} {} EndEntry StartEntry: ImageWriterLQ GSDriver: iwlq Description: {Apple Imagewriter, letter quality} About: { \ Driver for the Apple ImageWriter. \ This driver supports the letter quality setting of \ 320x216 dpi. \ There are several other ImageWriter \ drivers available which you may want to consider. \ } Resolution: {320} {216} {} EndEntry # # Canon BJ-10e and BJ200 # # gdevbj10.c # # # Resolution: 360x360, 180x180, 180x360, 360x180 # # Color: 1 bit # StartEntry: CanonBJ10e GSDriver: bj10e Description: {Canon BJ-10e} About: { \ Driver for the Canon BJ-10e. \ } Resolution: {180} {180} {} Resolution: {360} {180} {} Resolution: {180} {360} {} Resolution: {360} {360} {} EndEntry StartEntry: CanonBJ200 GSDriver: bj200 Description: {Canon BJ-100/200/210/240} About: { \ Driver for the Canon BJ-200/210/240 printers. \ Reportedly also works for the BJ-100 as well. \ Does NOT support color on the 210 or 240 printers. \ } Resolution: {180} {180} {} Resolution: {360} {180} {} Resolution: {180} {360} {} Resolution: {360} {360} {} EndEntry # # Mitsubishi CP50 color printer # # gdevcp50.c # # Resolution: 154x187 # # Color: 24 bit # # StartEntry: MitCP50 GSDriver: cp50 Description: {Mitsubishi CP50} About: { \ Driver for the Mitsubishi CP50 color printer. \ } Resolution: {154} {187} {} EndEntry # # Epson LQ-2550 and Fujitsu 3400/2400/1200 color printers # # gdevepsc.c # # Resolution: Several multiples of 60 and 72, depending on # of pins (9,24) # # Color: 3 bit ? # # StartEntry: EpsonLQ9 GSDriver: epsonc Description: {Epson Color Dot Matrix, 9 pin} About: { \ This driver supports Epson and some Epson compatible \ color dot-matrix printers. The \ Epson LQ-2550 and Fujitsu 3400/2400/1200 color printers\ are among those supported. \ \n\n This driver is for 9 pin printers.\ \n\n NOTE: A given printer will support a Y resolution of \ 60 and 180, or 72 and 216, but not both! If your output \ appears distorted, try the alternate Y resolution setting. \ The two printer types are marked by Type A or Type B in \ the list of printer resolution settings. \ } Resolution: {60} {60} {Type A} Resolution: {120} {60} {Type A} Resolution: {240} {60} {Type A} Resolution: {60} {72} {Type B} Resolution: {120} {72} {Type B} Resolution: {240} {72} {Type B} EndEntry StartEntry: EpsonLQ24 GSDriver: epsonc Description: {Epson Color Dot Matrix, 24 pin} About: { \ This driver supports Epson and some Epson compatible \ color dot-matrix printers. The \ Epson LQ-2550 and Fujitsu 3400/2400/1200 color printers \ are among those supported. \ \n\n This driver is for 24 pin printers.\ \n\n NOTE: A given printer will support a Y resolution of \ 60 and 180, or 72 and 216, but not both! If your output \ appears distorted, try the alternate Y resolution setting. \ The two printer types are marked by Type A or Type B in \ the list of printer resolution settings.\ } Resolution: {60} {60} {Type A} Resolution: {60} {180} {Type A} Resolution: {120} {60} {Type A} Resolution: {120} {180} {Type A} Resolution: {180} {60} {Type A} Resolution: {180} {180} {Type A} Resolution: {240} {60} {Type A} Resolution: {240} {180} {Type A} Resolution: {60} {72} {Type B} Resolution: {60} {216} {Type B} Resolution: {120} {72} {Type B} Resolution: {120} {216} {Type B} Resolution: {180} {72} {Type B} Resolution: {180} {216} {Type B} Resolution: {240} {72} {Type B} Resolution: {240} {216} {Type B} EndEntry # Epson (and similar) dot-matrix printer driver for Ghostscript. # # gdevepsn.c # # Resolutions: (depends on driver I think too) # 9 pin: XDPI - 60, 120, 240, YDPI either 60 or 72 # 24 pin: XDPI - 60, 120, 180, 240, 360, YPID either 60,180 or 72,216 # # Color: 1 bit # StartEntry: Epson9 GSDriver: epson Description: {Epson Dot Matrix, 9 pin} About: { \ This driver supports Epson and some Epson compatible \ dot-matrix printers. \ \n\n This driver is for 9 pin printers.\ \n\n NOTE: A given printer will support a Y resolution of \ 60 and 180, or 72 and 216, but not both! If your output \ appears distorted, try the alternate Y resolution setting. \ The two printer types are marked by Type A or Type B in \ the list of printer resolution settings. \ } Resolution: {60} {60} {Type A} Resolution: {120} {60} {Type A} Resolution: {240} {60} {Type A} Resolution: {60} {72} {Type B} Resolution: {120} {72} {Type B} Resolution: {240} {72} {Type B} EndEntry StartEntry: Epson24 GSDriver: epson Description: {Epson Dot Matrix, 24 pin} About: { \ This driver supports Epson and some Epson compatible \ dot-matrix printers. \ \n\n This driver is for 24 pin printers.\ \n\n NOTE: A given printer will support a Y resolution of \ 60 and 180, or 72 and 216, but not both! If your output \ appears distorted, try the alternate Y resolution setting. \ The two printer types are marked by Type A or Type B in \ the list of printer resolution settings.\ } Resolution: {60} {60} {Type A} Resolution: {60} {180} {Type A} Resolution: {120} {60} {Type A} Resolution: {120} {180} {Type A} Resolution: {180} {60} {Type A} Resolution: {180} {180} {Type A} Resolution: {240} {60} {Type A} Resolution: {240} {180} {Type A} Resolution: {360} {60} {Type A} Resolution: {360} {180} {Type A} Resolution: {60} {72} {Type B} Resolution: {60} {216} {Type B} Resolution: {120} {72} {Type B} Resolution: {120} {216} {Type B} Resolution: {180} {72} {Type B} Resolution: {180} {216} {Type B} Resolution: {240} {72} {Type B} Resolution: {240} {216} {Type B} Resolution: {360} {72} {Type A} Resolution: {360} {216} {Type A} EndEntry StartEntry: Epson9MedRes GSDriver: eps9mid Description: {Epson Dot Matrix, 9 pin, med-res} About: { \ This driver supports Epson and some Epson compatible \ dot-matrix printers. This driver implements an \ intermediate resolution by making multiple passes. \ It has better, but slower, output than the standard Epson\ 9 pin driver. \ \n\n This driver is for 9 pin printers.\ \n\n NOTE: A given printer will support a Y resolution of \ 180 or 216, but not both! If your output \ appears distorted, try the alternate Y resolution setting. \ The two printer types are marked by Type A or Type B in \ the list of printer resolution settings. \ } Resolution: {60} {180} {Type A} Resolution: {120} {180} {Type A} Resolution: {240} {180} {Type A} Resolution: {60} {216} {Type B} Resolution: {120} {216} {Type B} Resolution: {240} {216} {Type B} EndEntry StartEntry: Epson9HiRes GSDriver: eps9high Description: {Epson Dot Matrix, 9 pin, hi-res} About: { \ This driver supports Epson and some Epson compatible \ dot-matrix printers. This driver implements an \ intermediate resolution by making multiple passes. \ It has better, but slower, output than the standard \ or the intermediate resolution \ Epson 9 pin driver. \ \n\n This driver is for 9 pin printers.\ \n\n NOTE: A given printer will support a Y resolution of \ 180 or 216, but not both! If your output \ appears distorted, try the alternate Y resolution setting. \ The two printer types are marked by Type A or Type B in \ the list of printer resolution settings. \ } Resolution: {60} {180} {Type A} Resolution: {120} {180} {Type A} Resolution: {240} {180} {Type A} Resolution: {60} {216} {Type B} Resolution: {120} {216} {Type B} Resolution: {240} {216} {Type B} EndEntry # # Imagen ImPress printers # # gdevimgn.c # # # Resolution: 75, 150, 300 # # Color: 1 bit # StartEntry: Imagen GSDriver: imagen Description: {Imagen ImPress} About: { \ Driver for the Imagen ImPress.\ } Resolution: {75} {75} {} Resolution: {150} {150} {} Resolution: {300} {300} {} EndEntry # # Canon LBP-*II and LIPS III printer # # gdevlbp8.c # # Resolution: 300x300 # # Color: 1 bit # StartEntry: CanonLBP8 GSDriver: lbp8 Description: {Canon LBP-8II} About: { \ Driver for the Canon LBP-8II laser printer.\ } Resolution: {300} {300} {} EndEntry StartEntry: CanonLIPS GSDriver: lips3 Description: {Canon LIPS III} About: { \ Driver for the Canon LIPS III laser printer \ in English mode.\ } Resolution: {300} {300} {} EndEntry # # DEC LN03 (sixel printers) # # gdevln03.c # # Resolution: # ln03 300x300 # la50 144x72 # la70 144x144 # la75 144x72 # la75plus 180x180 # # Color: 1 bit # StartEntry: DECLN03 GSDriver: ln03 Description: {DEC LN03} About: { \ Driver for the DEC LN03 laser printer. \ } Resolution: {300} {300} {} EndEntry StartEntry: DECLA50 GSDriver: la50 Description: {DEC LA50 dot matrix} About: { \ Driver for the DEC LA50 dot matrix printer. \ } Resolution: {144} {72} {} EndEntry StartEntry: DECLA70 GSDriver: la70 Description: {DEC LA70 dot matrix} About: { \ Driver for the DEC LA70 dot matrix printer. \ } Resolution: {144} {144} {} EndEntry StartEntry: DECLA75 GSDriver: la75 Description: {DEC LA75 dot matrix} About: { \ Driver for the DEC LA75 dot matrix printer. \ } Resolution: {144} {72} {} EndEntry StartEntry: DECLA75P GSDriver: la75plus Description: {DEC LA75 Plus dot matrix} About: { \ Driver for the DEC LA75 Plus dot matrix printer. \ } Resolution: {180} {180} {} EndEntry # # NEC P6 printers # # gdevnp6.c # # Resolution: 360x360 # # Color: 1 bit # StartEntry: NECP6 GSDriver: necp6 Description: {NEC P6/P6+/P60} About: { \ Driver for the NEC P6/P6+/P60 printers. \ } Resolution: {360} {360} {} EndEntry # # Okidata Microline 182 # # gdevo182.c # # Resolution: 72x72 144x144 # # Color: 1 bit # StartEntry: OKI182 GSDriver: oki182 Description: {Okidata Microline 182} About: { \ Driver for the Okidata Microline 182 printer. \ } Resolution: {72} {72} {} Resolution: {144} {144} {} EndEntry # # Okidata OkiPage 4w+ LED printer # # gdevop4w.c # # Resolution 300x300 # # Color: 1 bit # StartEntry: OKI4W GSDriver: oki4w Description: {Okidata OkiPage 4w+} About: { \ Driver for the Okidata OkiPage 4w+ LED printer. \ } Resolution: {300} {300} {} EndEntry # # HP PaintJet drivers (older alternative?) # # gdevpjet.c # # Resolution: 90x90 or 180x180 # # Color: 3 bits StartEntry: LJ250 GSDriver: lj250 Description: {DEC LJ250} About: { \ Driver for the DEC LJ250 Companion color printer \ using HP PaintJet compatible mode. \ } Resolution: {90} {90} {} Resolution: {180} {180} {} EndEntry #paintjet # "(alternative) HP PaintJet color printer" #pjetxl # "(alternative) HP PaintJet XL" # # StarJet SJ48 # # gdevsj48.c # # Resolution: (180,360)x(180,360) # # Color: 1 bit # StartEntry: StarJet48 GSDriver: sj48 Description: {StarJet 48} About: { \ Driver for the StarJet 48 printer. \ } Resolution: {180} {180} {} Resolution: {360} {180} {} Resolution: {180} {360} {} Resolution: {360} {360} {} EndEntry # # Tektronix Ink-jet plotter # # gdevtknk.c # # Resolution: 120x120 # # Color: 4 bits # StartEntry: Tek4696 GSDriver: tek4696 Description: {Tektronix 4695/4696 inkjet plotter} About: { \ Driver for the Tektronix 4695/4696 inkjet plotter. \ } Resolution: {120} {120} {} EndEntry # # Xerox XES # # gdevxes.c # # Resolution: 300x300 # # Color: 1 bit # StartEntry: XeroxXES GSDriver: xes Description: {Xerox XES printers} About: { \ Driver for the Xerox XES printers (2700, 3700, 4045, etc).\ } Resolution: {300} {300} {} EndEntry # ALPS MD2K # # gdevmd2k.c # # Resolution: 600x600 # # Color: ?? StartEntry: ALPSMD2K GSDriver: md2k Description: {ALPS MD2K printer} About: { \ Driver for the ALPS MD2K printer; written by \ Masakzu Higaki . \ } Resolution: {600} {600} {} EndEntry # ALPS MD5K # # gdevmd5k.c # # Resolution: 600x600 # # Color: ?? StartEntry: ALPSMD5K GSDriver: md5k Description: {ALPS MD5K printer} About: { \ Driver for the ALPS MD5K printer; written by \ Masakzu Higaki . \ } Resoltion: {600} {600} {} EndEntry # Lexmark 2050 # # gdevlx7.c # # Resolution: 600x600 # # Color: yes, but not supported StartEntry: Lexmark2050 GSDriver: lex2050 Description: {Lexmark 2050 inkjet printer (B/W only)} About: { \ This driver supports the Lexmark 2050 ink \ "GDI" printers. It prints Black and White only. \ Do *NOT* check 'Fast Text Printing' field. \ } Resolution: {300} {300} {} Resolution: {600} {600} {tested} Resolution: {1200} {1200} {} BitsPerPixel: {1} {Normal B&W printing} EndEntry # Lexmark 3200 # # gdevlx7.c # # Resolution: 600x600 # # Color: yes, but not supported StartEntry: Lexmark3200 GSDriver: lex3200 Description: {Lexmark 3200 inkjet printer (B/W only)} About: { \ This driver supports the Lexmark 3200 ink \ "GDI" printers. It prints Black and White only. \ Do *NOT* check 'Fast Text Printing' field. \ } Resolution: {300} {300} {} Resolution: {600} {600} {tested} Resolution: {1200} {1200} {} BitsPerPixel: {1} {Normal B&W printing} EndEntry # Lexmark 5700 # # gdevlxm.c # # Resolution: 1200x1200? # # Color: 1 bit StartEntry: Lexmark5700a GSDriver: lxm5700m Description: {Lexmark 5700 BW alternate} About: { \ Driver for the Lexmark 5700 inkjet printer.\ This driver supports only black-and-white, 1200dpi \ printing. Contributed by Stephen Taylor \ .\ } Resolution: {1200} {1200} {} BitsPerPixel: {1} {Normal B&W printing} EndEntry # And Another driver for the same printer :) StartEntry: Lexmark5700 GSDriver: lex5700 Description: {Lexmark 5700 BW} About: { \ This driver supports the Lexmark 5700 ink \ "GDI" printers. It prints Black and White only. \ Do *NOT* check 'Fast Text Printing' field. \ } Resolution: {300} {300} {} Resolution: {600} {600} {tested} Resolution: {1200} {1200} {} BitsPerPixel: {1} {Normal B&W printing} EndEntry # Lexmark 7000, 7200 StartEntry: Lexmark7000 GSDriver: lex7000 Description: {Lexmark 7000, 7200 BW} About: { \ This driver supports the Lexmark 7000, 7200 and 5000 ink \ "GDI" printers. It prints Black and White only. \ Do *NOT* check 'Fast Text Printing' field. \ } Resolution: {300} {300} {} Resolution: {600} {600} {tested} Resolution: {1200} {1200} {} BitsPerPixel: {1} {Normal B&W printing} EndEntry # # postscript # # This is for a real postscript printer - no ghostscript involved # # resolutions are there so user can specify, no way to tell what their # printer can really do # # same for color, no way to know # StartEntry: PostScript GSDriver: POSTSCRIPT Description: {PostScript printer} About: { \ Driver for the PostScript printers.\ Does not use ghostscript. \ Use if your printer has a PostScript interpreter built-in. \ Choose the resolution which corresponds to your printer from \ these list. \ } Resolution: {300} {300} {} Resolution: {600} {600} {} Resolution: {1200} {1200} {} EndEntry # # text # # This is for a real text printer - no ghostscript involved # # use this if you DO NOT want postscript printed at all # StartEntry: TextPrinter GSDriver: TEXT Description: {Text-only printer} About: { \ Driver for the text-only printers.\ Does not use ghostscript. \ Outputs ASCII text straight to the printer. \ } Resolution: {NA} {NA} {} EndEntry # # # uniprint drivers # # Followings are to accomodate uniprint drivers in ghostscript-5.50. # to patched printtool and ps-to-printer.fpi by Osamu Aoki. # For the ease of setting, I chose to break entry into several sections. # Data base entry format has changed for this section. # # BitsPerPixel: {upp_file} {Comment copied from upp file} # # In order to update followings for future updates, # First cd /usr/share/ghostscript/5.50 (5.50 may change...) # Then get list of *.upp driver by # # ls -m *.upp in /usr/share/ghostscript/5.50 # Finally get the meaning of each driver by # # head -1 `ls *.upp` (man gs also gives good information) # Then edit with keyboad macro to make this file. # StartEntry: U_CanonBJC610 GSDriver: uniprint Description: {Canon BJC-610 (UP)} About: { \ Canon BJC-610 uniprint driver settings.\ } Resolution: {NA} {NA} {} BitsPerPixel: {bjc610a0} {360x360DpI, plain paper high speed, color, rendered} BitsPerPixel: {bjc610a1} {360x360DpI, plain paper, color, rendered} BitsPerPixel: {bjc610a2} {360x360DpI, coated paper, color, rendered} BitsPerPixel: {bjc610a3} {360x360DpI, transparency film, color, rendered} BitsPerPixel: {bjc610a4} {360x360DpI, back print film, color, rendered} BitsPerPixel: {bjc610a5} {360x360DpI, fabric sheet, color, rendered} BitsPerPixel: {bjc610a6} {360x360DpI, glossy paper, color, rendered} BitsPerPixel: {bjc610a7} {360x360DpI, high gloss film, color, rendered} BitsPerPixel: {bjc610a8} {360x360DpI, high resolution paper, color, rendered} BitsPerPixel: {bjc610b1} {720x720DpI, plain paper, color, rendered} BitsPerPixel: {bjc610b2} {720x720DpI, coated paper, color, rendered} BitsPerPixel: {bjc610b3} {720x720DpI, transparency film, color, rendered} BitsPerPixel: {bjc610b4} {720x720DpI, back print film, color, rendered} BitsPerPixel: {bjc610b6} {720x720DpI, glossy paper, color, rendered} BitsPerPixel: {bjc610b7} {720x720DpI, high gloss paper, color, rendered} BitsPerPixel: {bjc610b8} {720x720DpI, high resolution paper, color, rendered} EndEntry # StartEntry: U_HPDeskjet550c GSDriver: uniprint Description: {HP Deskjet 550C (UP)} About: { \ HP Deskjet 550C uniprint driver settings.\ } Resolution: {NA} {NA} {} BitsPerPixel: {cdj550} {300x300DpI, Gamma=2} EndEntry # StartEntry: U_NECPrinwriter2X GSDriver: uniprint Description: {NEC Prinwriter 2X (UP)} About: { \ NEC Printwriter 2X uniprint driver settings. \ Check sorce code for explanation of necp2x6.\ } Resolution: {NA} {NA} {} BitsPerPixel: {necp2x} {360x360DpI, Plain Paper} BitsPerPixel: {necp2x6} {360x360DpI, Plain Paper} EndEntry # #StartEntry: U_SUNrasterfile # GSDriver: uniprint # Description: {SUN rasterfile (UP)} # About: { \ # SUN raster file uniprint driver settings.\ # } # Resolution: {NA} {NA} {} # BitsPerPixel: {ras1} {1 Bit, 2 Colors (Ghostscript-Rendering)} # BitsPerPixel: {ras24} {24 Bit, 7 Colors (RGB-Error-Diffusion)} # BitsPerPixel: {ras3} {3 Bit, 7 Colors (RGB-Ghostscript)} # BitsPerPixel: {ras32} {32 Bit, 6+1 Colors (CMYK-Error-Diffusion)} # BitsPerPixel: {ras4} {4 Bit, 6+1 Colors (CMYK-Ghostscript)} # BitsPerPixel: {ras8m} {8 Bit, 2 Colors (Error-Diffusion)} #EndEntry # StartEntry: U_EpsonStylusColor GSDriver: uniprint Description: {Epson Stylus Color (UP)} About: { \ Epson Stylus Color uniprint driver settings.\ } Resolution: {NA} {NA} {} BitsPerPixel: {stcany} {Stylus Color any type, 360x360DpI} BitsPerPixel: {stc} {Stylus Color I / PRO Series, 360x360DpI, Plain Paper} BitsPerPixel: {stc_h} {Stylus Color I / PRO Series, 720x720DpI, Special Paper} BitsPerPixel: {stc_l} {Stylus Color I / PRO Series, 360x360DpI, noWeave} BitsPerPixel: {stc2} {Stylus Color II / IIs, 360x360DpI, Plain Paper} BitsPerPixel: {stc2_h} {Stylus Color II, 720x720DpI, Special Paper} BitsPerPixel: {stc2s_h} {Stylus Color IIs, 720x720DpI, Special Paper} BitsPerPixel: {stc500p} {Stylus Color 500, 360x360DpI, not Weaved, Plain Paper} BitsPerPixel: {stc500ph} {Stylus Color 500, 720x720DpI, not Weaved, Plain Paper} BitsPerPixel: {stc600ih} {Stylus Color 600, 1440x720DpI, Inkjet Paper} BitsPerPixel: {stc600p} {Stylus Color 600, 720x720DpI, Plain Paper} BitsPerPixel: {stc600pl} {Stylus Color 600, 360x360DpI, Plain Paper} BitsPerPixel: {stc740ih} {Stylus Color 740, 1440x720DpI, Inkjet Paper} BitsPerPixel: {stc740p} {Stylus Color 740, 720x720DpI, Plain Paper} BitsPerPixel: {stc740pl} {Stylus Color 740, 360x360DpI, Plain Paper} BitsPerPixel: {stc800ih} {Stylus Color 800, 1440x720DpI, Inkjet Paper} BitsPerPixel: {stc800p} {Stylus Color 800, 720x720DpI, Plain Paper} BitsPerPixel: {stc800pl} {Stylus Color 800, 360x360DpI, Plain Paper} BitsPerPixel: {stc1520h} {Stylus Color 1520, 1440x720DpI, Inkjet Paper} EndEntry # # # this is for the pnm2ppa driver for the HP DeskJet PPA (720) # StartEntry: HP DeskJet 720 GSDriver: ppa Description: {HP DeskJet 710/720 series (PPA)} About: { \ IMPORTANT: Do *NOT* check \ the "Fast text printing (non-PS printers only)" box. \ \ These drivers are for DeskJet 710C, 712C, 720C, 722C printers \ which use HP's proprietary PPA protocol instead of PCL. \ Postscript images are converted by ghostscript into \ "Portable PixMap" (color) or "Portable BitMap" (black) formats \ and then converted to PPA instructions by the pnm2ppa \ post-processor. \ (The older black-only pbm2ppa post-processor is also \ provided as a legacy alternative.) \ You may add PPA processor options \ after a "PPA" separator in the "extra GS options" box,\ in the format: " gs_options PPA ppa_options "; \ type "pnm2ppa -h" or "pbm2ppa -h" to list the options. \ \ The primary site for the PPA driver is the pnm2ppa \ project at http://sourceforge.net/projects/pnm2ppa .\ } Resolution: {600} {600} {} BitsPerPixel: {ppa720b1} {Black and white, econofast mode} BitsPerPixel: {ppa720b2} {Black and white, normal quality} BitsPerPixel: {ppa720c1} {Color, econofast mode} BitsPerPixel: {ppa720c5} {Color, normal quality} BitsPerPixel: {ppa720c3} {Color, high quality} BitsPerPixel: {ppa720c2} {Color, normal quality, black ink disabled} BitsPerPixel: {ppa720c4} {Color, high quality, black ink disabled} BitsPerPixel: {ppa720pbm} {Black and white, legacy pbm2ppa driver} EndEntry # # this is for the pnm2ppa driver for the HP DeskJet PPA (820) # StartEntry: HP DeskJet 820 GSDriver: ppa Description: {HP DeskJet 820 series (PPA)} About: { \ IMPORTANT: Do *NOT* check \ the "Fast text printing (non-PS printers only)" box. \ \ This driver is for HP 820Cse, 820Cxi printers \ which use HP's proprietary PPA protocol instead of PCL. \ Postscript images are converted by ghostscript into \ "Portable PixMap" (color) or "Portable BitMap" (black) formats \ and then converted to PPA instructions by the pnm2ppa \ post-processor. \ (The older black-only pbm2ppa post-processor is also \ provided as a legacy alternative.) \ You may add PPA processor options \ after a "PPA" separator in the "extra GS options" box,\ in the format: " gs_options PPA ppa_options "; \ type "pnm2ppa -h" or "pbm2ppa -h" to list the options. \ \ The primary site for the PPA driver is the pnm2ppa \ project at http://sourceforge.net/projects/pnm2ppa .\ } Resolution: {600} {600} {} BitsPerPixel: {ppa820b1} {Black and white, econofast mode} BitsPerPixel: {ppa820b2} {Black and white, normal quality} BitsPerPixel: {ppa820c1} {Color, econofast mode} BitsPerPixel: {ppa820c5} {Color, normal quality} BitsPerPixel: {ppa820c3} {Color, high quality} BitsPerPixel: {ppa820c2} {Color, normal quality, black ink disabled} BitsPerPixel: {ppa820c4} {Color, high quality, black ink disabled} BitsPerPixel: {ppa820pbm} {Black and white, legacy pbm2ppa driver} EndEntry StartEntry: U_HPDeskjet840 GSDriver: uniprint Description: {HP DeskJet 840/842 series} About: { \ HP Deskjet 840/842 uniprint driver settings.\ } Resolution: {NA} {NA} {} BitsPerPixel: {cdj550} {600x600DpI, Gamma=2} EndEntry # # this is for the pnm2ppa driver for the HP DeskJet PPA (1000) # StartEntry: HP DeskJet 1000 GSDriver: ppa Description: {HP DeskJet 1000 series (PPA)} About: { \ IMPORTANT: Do *NOT* check \ the "Fast text printing (non-PS printers only)" box. \ \ This driver is for HP 1000Cse, 1000Cxi printers \ which use HP's proprietary PPA protocol instead of PCL. \ Postscript images are converted by ghostscript into \ "Portable PixMap" (color) or "Portable BitMap" (black) formats \ and then converted to PPA instructions by the pnm2ppa \ post-processor. \ (The older black-only pbm2ppa post-processor is also \ provided as a legacy alternative.) \ You may add PPA processor options \ after a "PPA" separator in the "extra GS options" box,\ in the format: " gs_options PPA ppa_options "; \ type "pnm2ppa -h" or "pbm2ppa -h" to list the options. \ \ The primary site for the PPA driver is the pnm2ppa \ project at http://sourceforge.net/projects/pnm2ppa .\ } Resolution: {600} {600} {} BitsPerPixel: {ppa1000b1} {Black and white, econofast mode} BitsPerPixel: {ppa1000b2} {Black and white, normal quality} BitsPerPixel: {ppa1000c1} {Color, econofast mode} BitsPerPixel: {ppa1000c5} {Color, normal quality} BitsPerPixel: {ppa1000c3} {Color, high quality} BitsPerPixel: {ppa1000c2} {Color, normal quality, black ink disabled} BitsPerPixel: {ppa1000c4} {Color, high quality, black ink disabled} BitsPerPixel: {ppa1000pbm} {Black and white, legacy pbm2ppa driver} EndEntry StartEntry: SECPCL6 GSDriver: pxlmono Description: {SAMSUNG Printer PCL6 Compatible} About: { \ Driver for the SAMSUNG Laser Printer PCL6 Compatible.\ It may support the SAMSUNG Laser Printer(ML series). \ ML(QL)-7000/7050/7300,6000A/6050/6060/6100A, \ ML(QL)-5000/5100A/5200A \ } Resolution: {300} {300} {} Resolution: {600} {600} {} EndEntry StartEntry: SECPCL5 GSDriver: ljet4 Description: {SAMSUNG Printer PCL5e Compatible} About: { \ Driver for the SAMSUNG Laser Printer PCL5e Compatible.\ It may support the SAMSUNG Laser Printer(ML series). \ ML(QL)-85/68H/68H+,4600,5000A,6000/6040/6060/6100A, \ ML(QL)-7000/7050/7300 \ } Resolution: {300} {300} {} Resolution: {600} {600} {} EndEntry StartEntry: SECPRT GSDriver: gdi Description: {SAMSUNG Printer PrinThru Compatible} About: { \ Driver for the SAMSUNG Laser Printer PrinThru Compatible.\ It may support the SAMSUNG Laser Printer(ML series). \ ML(QL)-4500/5070,6040,7100. \ } Resolution: {300} {300} {} Resolution: {600} {600} {} EndEntry StartEntry: SECPCL4 GSDriver: laserjet Description: {SAMSUNG Printer PCL4 Compatible} About: { \ Driver for the SAMSUNG Laser Printer PCL4 Printers. \ ML(QL)-84/66H/68HG,6040,7100. \ } Resolution: {300} {300} {} EndEntry StartEntry: SECINK1PEN GSDriver: cdj500 Description: {SAMSUNG InkJet PCL3 1 Pen} About: { \ This driver supports the SAMSUNG inkjet printers which have \ color capability with an optional color cartridge. \ MJ-63H/630V/630G+/805G/805B, SIJ-630V. \ If your printer can use EITHER a B&W cartridge or \ a color cartridge, but not both simultaneously, \ this driver may work for you. \ Ghostscript supports several optional parameters for \ this driver: see the document 'devices.doc' \ in the ghostscript directory under /usr/doc. \ } Resolution: {300} {300} {} BitsPerPixel: {3} {Normal color printing with color cartridge} BitsPerPixel: {8} {Floyd-Steinberg B&W printing for better greys} BitsPerPixel: {24} {Floyd-Steinberg Color printing (best, but slow)} EndEntry StartEntry: SECINK2PEN GSDriver: cdj550 Description: {SAMSUNG InkJet PCL3 2 Pen} About: { \ This driver supports the SAMSUNG inkjet printers which have \ color capability using both black and color cartridges \ simultaneously.\ MJC-640V/650P/760i/765C/900A/1300G/1300GC/1500W/1500WC. \ If your printer seems to be saturating the paper with ink, \ try added an extra GS option of '-dDepletion=2'. \ Ghostscript supports several optional parameters for \ this driver: see the document 'devices.doc' \ in the ghostscript directory under /usr/doc. \ } Resolution: {300} {300} {} BitsPerPixel: {3} {Normal color printing with color cartridge} BitsPerPixel: {8} {Floyd-Steinberg B&W printing for better greys} BitsPerPixel: {24} {Floyd-Steinberg Color printing (best, but slow)} BitsPerPixel: {32} {Sometimes provides better output than 24} EndEntry # # Apple 12/640ps (Postscript) StartEntry: Apple12/640ps_PS Description: {Apple 12/640ps (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Apple 12/640ps Laser printer. } Resolution: {600} {600} {} EndEntry # Apple ImageWriter LQ StartEntry: AppleImageWriterLQ Description: {Apple ImageWriter LQ} GSDriver: iwlq About: { Driver for the Apple ImageWriter LQ Dot Matrix printer. } Resolution: {320} {216} {} EndEntry # Apple ImageWriter high-res StartEntry: AppleImageWriterhigh-res Description: {Apple ImageWriter high-res} GSDriver: iwhi About: { Driver for the Apple ImageWriter high-res Dot Matrix printer. } Resolution: {120} {144} {} EndEntry # Apple ImageWriter low-res StartEntry: AppleImageWriterlow-res Description: {Apple ImageWriter low-res} GSDriver: iwlo About: { Driver for the Apple ImageWriter low-res Dot Matrix printer. } Resolution: {120} {72} {} EndEntry # Apple LaserWriter 16/600 (Postscript) StartEntry: AppleLaserWriter16/600_PS Description: {Apple LaserWriter 16/600 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Apple LaserWriter 16/600 Laser printer. } Resolution: {600} {600} {} EndEntry # Apple LaserWriter IINTX (Postscript) StartEntry: AppleLaserWriterIINTX_PS Description: {Apple LaserWriter IINTX (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Apple LaserWriter IINTX Laser printer. } Resolution: {300} {300} {} EndEntry # Apple LaserWriter Select 360 StartEntry: AppleLaserWriterSelect360 Description: {Apple LaserWriter Select 360} GSDriver: ljet2p About: { Driver for the Apple LaserWriter Select 360 Laser printer. } Resolution: {300} {300} {} EndEntry # Apple StyleWriter 2500 (Color) StartEntry: AppleStyleWriter2500_COLOR Description: {Apple StyleWriter 2500 (Color)} GSDriver: N/A About: { Driver for the Apple StyleWriter 2500 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Apple StyleWriter 2500 (Postscript) StartEntry: AppleStyleWriter2500_PS Description: {Apple StyleWriter 2500 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Apple StyleWriter 2500 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Brother HJ-400 StartEntry: BrotherHJ-400 Description: {Brother HJ-400} GSDriver: lq850 About: { Driver for the Brother HJ-400 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Brother HL-1040 StartEntry: BrotherHL-1040 Description: {Brother HL-1040} GSDriver: ljet2p About: { Driver for the Brother HL-1040 Laser printer. } Resolution: {300} {300} {} EndEntry # Brother HL-1050 StartEntry: BrotherHL-1050 Description: {Brother HL-1050} GSDriver: ljet4 About: { Driver for the Brother HL-1050 Laser printer. } Resolution: {600} {600} {} EndEntry # Brother HL-1060 StartEntry: BrotherHL-1060 Description: {Brother HL-1060} GSDriver: ljet4 About: { Driver for the Brother HL-1060 Laser printer. } Resolution: {600} {600} {} EndEntry # Brother HL-1060 (Postscript) StartEntry: BrotherHL-1060_PS Description: {Brother HL-1060 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Brother HL-1060 Laser printer. } Resolution: {600} {600} {} EndEntry # Brother HL-10V StartEntry: BrotherHL-10V Description: {Brother HL-10V} GSDriver: ljet3 About: { Driver for the Brother HL-10V Laser printer. } Resolution: {300} {300} {} EndEntry # Brother HL-1250 StartEntry: BrotherHL-1250 Description: {Brother HL-1250} GSDriver: ljet4 About: { Driver for the Brother HL-1250 Laser printer. } Resolution: {600} {600} {} EndEntry # Brother HL-1260 StartEntry: BrotherHL-1260 Description: {Brother HL-1260} GSDriver: N/A About: { Driver for the Brother HL-1260 Laser printer. } Resolution: {600} {600} {} EndEntry # Brother HL-1260 (Postscript) StartEntry: BrotherHL-1260_PS Description: {Brother HL-1260 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Brother HL-1260 Laser printer. } Resolution: {600} {600} {} EndEntry # Brother HL-2060 (Postscript) StartEntry: BrotherHL-2060_PS Description: {Brother HL-2060 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Brother HL-2060 Laser printer. } Resolution: {1200} {1200} {} EndEntry # Brother HL-630 StartEntry: BrotherHL-630 Description: {Brother HL-630} GSDriver: ljet2p About: { Driver for the Brother HL-630 Laser printer. } Resolution: {150} {150} {} Resolution: {300} {300} {} EndEntry # Brother HL-660 StartEntry: BrotherHL-660 Description: {Brother HL-660} GSDriver: ljet4 About: { Driver for the Brother HL-660 Laser printer. } Resolution: {600} {600} {} EndEntry # Brother HL-660 (Postscript) StartEntry: BrotherHL-660_PS Description: {Brother HL-660 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Brother HL-660 Laser printer. } Resolution: {600} {600} {} EndEntry # Brother HL-720 StartEntry: BrotherHL-720 Description: {Brother HL-720} GSDriver: hl7x0 About: { Driver for the Brother HL-720 Laser printer. } Resolution: {600} {600} {} EndEntry # Brother HL-720 (Postscript) StartEntry: BrotherHL-720_PS Description: {Brother HL-720 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Brother HL-720 Laser printer. } Resolution: {300} {300} {} EndEntry # Brother HL-730 StartEntry: BrotherHL-730 Description: {Brother HL-730} GSDriver: hl7x0 About: { Driver for the Brother HL-730 Laser printer. } Resolution: {150} {150} {} Resolution: {300} {300} {} Resolution: {600} {600} {} EndEntry # Brother HL-760 StartEntry: BrotherHL-760 Description: {Brother HL-760} GSDriver: ljet4 About: { Driver for the Brother HL-760 Laser printer. } Resolution: {150} {150} {} Resolution: {300} {300} {} Resolution: {600} {600} {} EndEntry # Brother HL-8 StartEntry: BrotherHL-8 Description: {Brother HL-8} GSDriver: ljetplus About: { Driver for the Brother HL-8 Laser printer. } Resolution: {150} {150} {} Resolution: {300} {300} {} EndEntry # Brother HL-820 StartEntry: BrotherHL-820 Description: {Brother HL-820} GSDriver: hl7x0 About: { Driver for the Brother HL-820 Laser printer. } Resolution: {600} {600} {} EndEntry # Brother MC-3000 StartEntry: BrotherMC-3000 Description: {Brother MC-3000} GSDriver: epson About: { Driver for the Brother MC-3000 Ink Jet printer. } Resolution: {360} {180} {} EndEntry # Canon BJ-20 StartEntry: CanonBJ-20 Description: {Canon BJ-20} GSDriver: bj10e About: { Driver for the Canon BJ-20 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon BJ-200 StartEntry: CanonBJ-200 Description: {Canon BJ-200} GSDriver: bj200 About: { Driver for the Canon BJ-200 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon BJC-1000 (Postscript) StartEntry: CanonBJC-1000_PS Description: {Canon BJC-1000 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Canon BJC-1000 Ink Jet printer. } Resolution: {720} {360} {} EndEntry # Canon BJC-2000 StartEntry: CanonBJC-2000 Description: {Canon BJC-2000} GSDriver: bjc600 About: { Driver for the Canon BJC-2000 Ink Jet printer. } Resolution: {720} {360} {} EndEntry # Canon BJC-2000 (Color) StartEntry: CanonBJC-2000_COLOR Description: {Canon BJC-2000 (Color)} GSDriver: bjc600 About: { Driver for the Canon BJC-2000 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon BJC-210 StartEntry: CanonBJC-210 Description: {Canon BJC-210} GSDriver: bjc600 About: { Driver for the Canon BJC-210 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon BJC-210 (Color) StartEntry: CanonBJC-210_COLOR Description: {Canon BJC-210 (Color)} GSDriver: bjc600 About: { Driver for the Canon BJC-210 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon BJC-240 StartEntry: CanonBJC-240 Description: {Canon BJC-240} GSDriver: bjc600 About: { Driver for the Canon BJC-240 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon BJC-240 (Color Postscript) StartEntry: CanonBJC-240_COLOR_PS Description: {Canon BJC-240 (Color Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Canon BJC-240 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon BJC-250 StartEntry: CanonBJC-250 Description: {Canon BJC-250} GSDriver: bj200 About: { Driver for the Canon BJC-250 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon BJC-250 (Color) StartEntry: CanonBJC-250_COLOR Description: {Canon BJC-250 (Color)} GSDriver: bj200 About: { Driver for the Canon BJC-250 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon BJC-4000 StartEntry: CanonBJC-4000 Description: {Canon BJC-4000} GSDriver: bjc600 About: { Driver for the Canon BJC-4000 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon BJC-4100 StartEntry: CanonBJC-4100 Description: {Canon BJC-4100} GSDriver: bjc600 About: { Driver for the Canon BJC-4100 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon BJC-4200 StartEntry: CanonBJC-4200 Description: {Canon BJC-4200} GSDriver: bjc600 About: { Driver for the Canon BJC-4200 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon BJC-4300 StartEntry: CanonBJC-4300 Description: {Canon BJC-4300} GSDriver: bjc600 About: { Driver for the Canon BJC-4300 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon BJC-4310SP StartEntry: CanonBJC-4310SP Description: {Canon BJC-4310SP} GSDriver: bjc600 About: { Driver for the Canon BJC-4310SP Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon BJC-4400 StartEntry: CanonBJC-4400 Description: {Canon BJC-4400} GSDriver: bjc600 About: { Driver for the Canon BJC-4400 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon BJC-4550 (Color) StartEntry: CanonBJC-4550_COLOR Description: {Canon BJC-4550 (Color)} GSDriver: bjc600 About: { Driver for the Canon BJC-4550 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon BJC-5100 StartEntry: CanonBJC-5100 Description: {Canon BJC-5100} GSDriver: N/A About: { Driver for the Canon BJC-5100 Ink Jet printer. } Resolution: {1440} {720} {} EndEntry # Canon BJC-600 StartEntry: CanonBJC-600 Description: {Canon BJC-600} GSDriver: bjc600 About: { Driver for the Canon BJC-600 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon BJC-6000 StartEntry: CanonBJC-6000 Description: {Canon BJC-6000} GSDriver: bjc600 About: { Driver for the Canon BJC-6000 Ink Jet printer. } Resolution: {360} {360} {} Resolution: {1440} {720} {} EndEntry # Canon BJC-610 StartEntry: CanonBJC-610 Description: {Canon BJC-610} GSDriver: uniprint About: { Driver for the Canon BJC-610 Ink Jet printer. } Resolution: {360} {360} {} Resolution: {720} {720} {} EndEntry # Canon BJC-620 StartEntry: CanonBJC-620 Description: {Canon BJC-620} GSDriver: bjc600 About: { Driver for the Canon BJC-620 Ink Jet printer. } Resolution: {360} {360} {} Resolution: {720} {720} {} EndEntry # Canon BJC-70 StartEntry: CanonBJC-70 Description: {Canon BJC-70} GSDriver: bjc600 About: { Driver for the Canon BJC-70 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon BJC-7000 StartEntry: CanonBJC-7000 Description: {Canon BJC-7000} GSDriver: bjc800 About: { Driver for the Canon BJC-7000 Ink Jet printer. } Resolution: {1200} {600} {} EndEntry # Canon BJC-7000 (Postscript) StartEntry: CanonBJC-7000_PS Description: {Canon BJC-7000 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Canon BJC-7000 Ink Jet printer. } Resolution: {600} {600} {} EndEntry # Canon BJC-7004 StartEntry: CanonBJC-7004 Description: {Canon BJC-7004} GSDriver: bjc800 About: { Driver for the Canon BJC-7004 Ink Jet printer. } Resolution: {600} {600} {} EndEntry # Canon BJC-7100 StartEntry: CanonBJC-7100 Description: {Canon BJC-7100} GSDriver: bjc800 About: { Driver for the Canon BJC-7100 Ink Jet printer. } Resolution: {1200} {600} {} EndEntry # Canon BJC-800 (Color) StartEntry: CanonBJC-800_COLOR Description: {Canon BJC-800 (Color)} GSDriver: bjc800 About: { Driver for the Canon BJC-800 Ink Jet printer. } Resolution: {720} {720} {} EndEntry # Canon LBP-1260 StartEntry: CanonLBP-1260 Description: {Canon LBP-1260} GSDriver: ljet4 About: { Driver for the Canon LBP-1260 Laser printer. } Resolution: {600} {600} {} EndEntry # Canon LBP-4U StartEntry: CanonLBP-4U Description: {Canon LBP-4U} GSDriver: lbp8 About: { Driver for the Canon LBP-4U Laser printer. } Resolution: {300} {300} {} EndEntry # Canon LBP-4U (Postscript) StartEntry: CanonLBP-4U_PS Description: {Canon LBP-4U (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Canon LBP-4U Laser printer. } Resolution: {300} {300} {} EndEntry # Canon LBP-4sx StartEntry: CanonLBP-4sx Description: {Canon LBP-4sx} GSDriver: ljet3 About: { Driver for the Canon LBP-4sx Laser printer. } Resolution: {300} {300} {} EndEntry # Canon MultiPASS C2500 (Color) StartEntry: CanonMultiPASSC2500_COLOR Description: {Canon MultiPASS C2500 (Color)} GSDriver: bjc600 About: { Driver for the Canon MultiPASS C2500 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon MultiPASS C3500 (Color) StartEntry: CanonMultiPASSC3500_COLOR Description: {Canon MultiPASS C3500 (Color)} GSDriver: bjc600 About: { Driver for the Canon MultiPASS C3500 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Canon MultiPASS C5000 StartEntry: CanonMultiPASSC5000 Description: {Canon MultiPASS C5000} GSDriver: bjc600 About: { Driver for the Canon MultiPASS C5000 Ink Jet printer. } Resolution: {720} {360} {} EndEntry # DEC DECWriter 500i StartEntry: DECDECWriter500i Description: {DEC DECWriter 500i} GSDriver: djet500 About: { Driver for the DEC DECWriter 500i Ink Jet printer. } Resolution: {300} {300} {} EndEntry # DEC DECwriter 110i StartEntry: DECDECwriter110i Description: {DEC DECwriter 110i} GSDriver: djet500 About: { Driver for the DEC DECwriter 110i Ink Jet printer. } Resolution: {300} {300} {} EndEntry # DEC DECwriter 520ic StartEntry: DECDECwriter520ic Description: {DEC DECwriter 520ic} GSDriver: cdj500 About: { Driver for the DEC DECwriter 520ic Ink Jet printer. } Resolution: {300} {300} {} EndEntry # DEC LA50 StartEntry: DECLA50 Description: {DEC LA50} GSDriver: la50 About: { Driver for the DEC LA50 Dot Matrix printer. } Resolution: {144} {72} {} EndEntry # DEC LA75 StartEntry: DECLA75 Description: {DEC LA75} GSDriver: la75 About: { Driver for the DEC LA75 Dot Matrix printer. } Resolution: {144} {72} {} EndEntry # DEC LA75 Plus StartEntry: DECLA75Plus Description: {DEC LA75 Plus} GSDriver: la75plus About: { Driver for the DEC LA75 Plus Dot Matrix printer. } Resolution: {180} {180} {} EndEntry # Epson 9 Pin Printers high-res StartEntry: Epson9PinPrintershigh-res Description: {Epson 9 Pin Printers high-res} GSDriver: eps9high About: { Driver for the Epson 9 Pin Printers high-res Dot Matrix printer. } Resolution: {240} {216} {} EndEntry # Epson 9 Pin Printers med-res StartEntry: Epson9PinPrintersmed-res Description: {Epson 9 Pin Printers med-res} GSDriver: eps9mid About: { Driver for the Epson 9 Pin Printers med-res Dot Matrix printer. } Resolution: {240} {216} {} EndEntry # Epson AP3250 StartEntry: EpsonAP3250 Description: {Epson AP3250} GSDriver: ap3250 About: { Driver for the Epson AP3250 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Epson EPL 5700 StartEntry: EpsonEPL5700 Description: {Epson EPL 5700} GSDriver: ljet4 About: { Driver for the Epson EPL 5700 Laser printer. } Resolution: {300} {300} {} EndEntry # Epson LQ-24 StartEntry: EpsonLQ-24 Description: {Epson LQ-24} GSDriver: epsonc About: { Driver for the Epson LQ-24 Dot Matrix printer. } Resolution: {240} {216} {} EndEntry # Epson LQ-2550 StartEntry: EpsonLQ-2550 Description: {Epson LQ-2550} GSDriver: epsonc About: { Driver for the Epson LQ-2550 Dot Matrix printer. } Resolution: {60} {72} {} Resolution: {120} {60} {} Resolution: {240} {72} {} EndEntry # Epson Stylus Color StartEntry: EpsonStylusColor Description: {Epson Stylus Color} GSDriver: uniprint About: { Driver for the Epson Stylus Color Ink Jet printer. } Resolution: {720} {720} {} EndEntry # Epson Stylus Color 1520 StartEntry: EpsonStylusColor1520 Description: {Epson Stylus Color 1520} GSDriver: uniprint About: { Driver for the Epson Stylus Color 1520 Ink Jet printer. } Resolution: {360} {360} {} Resolution: {1440} {720} {} EndEntry # Epson Stylus Color 300 (Postscript) StartEntry: EpsonStylusColor300_PS Description: {Epson Stylus Color 300 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Epson Stylus Color 300 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Epson Stylus Color 400 StartEntry: EpsonStylusColor400 Description: {Epson Stylus Color 400} GSDriver: stcolor About: { Driver for the Epson Stylus Color 400 Ink Jet printer. } Resolution: {720} {720} {} EndEntry # Epson Stylus Color 400 (Postscript) StartEntry: EpsonStylusColor400_PS Description: {Epson Stylus Color 400 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Epson Stylus Color 400 Ink Jet printer. } Resolution: {720} {720} {} EndEntry # Epson Stylus Color 440 StartEntry: EpsonStylusColor440 Description: {Epson Stylus Color 440} GSDriver: stcolor About: { Driver for the Epson Stylus Color 440 Ink Jet printer. } Resolution: {360} {720} {} EndEntry # Epson Stylus Color 500 StartEntry: EpsonStylusColor500 Description: {Epson Stylus Color 500} GSDriver: uniprint About: { Driver for the Epson Stylus Color 500 Ink Jet printer. } Resolution: {360} {360} {} Resolution: {720} {720} {} EndEntry # Epson Stylus Color 600 StartEntry: EpsonStylusColor600 Description: {Epson Stylus Color 600} GSDriver: uniprint About: { Driver for the Epson Stylus Color 600 Ink Jet printer. } Resolution: {360} {360} {} Resolution: {720} {720} {} EndEntry # Epson Stylus Color 640 StartEntry: EpsonStylusColor640 Description: {Epson Stylus Color 640} GSDriver: stcolor About: { Driver for the Epson Stylus Color 640 Ink Jet printer. } Resolution: {360} {360} {} Resolution: {720} {720} {} EndEntry # Epson Stylus Color 640 (Postscript) StartEntry: EpsonStylusColor640_PS Description: {Epson Stylus Color 640 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Epson Stylus Color 640 Ink Jet printer. } Resolution: {1440} {720} {} EndEntry # Epson Stylus Color 660 StartEntry: EpsonStylusColor660 Description: {Epson Stylus Color 660} GSDriver: uniprint About: { Driver for the Epson Stylus Color 660 Ink Jet printer. } Resolution: {1440} {720} {} EndEntry # Epson Stylus Color 740 StartEntry: EpsonStylusColor740 Description: {Epson Stylus Color 740} GSDriver: uniprint About: { Driver for the Epson Stylus Color 740 Ink Jet printer. } Resolution: {720} {1440} {} EndEntry # Epson Stylus Color 740 (Postscript) StartEntry: EpsonStylusColor740_PS Description: {Epson Stylus Color 740 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Epson Stylus Color 740 Ink Jet printer. } Resolution: {720} {1440} {} EndEntry # Epson Stylus Color 900 StartEntry: EpsonStylusColor900 Description: {Epson Stylus Color 900} GSDriver: uniprint About: { Driver for the Epson Stylus Color 900 Ink Jet printer. } Resolution: {360} {360} {} Resolution: {720} {720} {} EndEntry # Epson Stylus Color I StartEntry: EpsonStylusColorI Description: {Epson Stylus Color I} GSDriver: uniprint About: { Driver for the Epson Stylus Color I Ink Jet printer. } Resolution: {360} {360} {} Resolution: {720} {720} {} EndEntry # Epson Stylus Color PRO StartEntry: EpsonStylusColorPRO Description: {Epson Stylus Color PRO} GSDriver: uniprint About: { Driver for the Epson Stylus Color PRO Ink Jet printer. } Resolution: {360} {360} {} Resolution: {720} {720} {} EndEntry # Fujitsu 1200 StartEntry: Fujitsu1200 Description: {Fujitsu 1200} GSDriver: epsonc About: { Driver for the Fujitsu 1200 Dot Matrix printer. } Resolution: {240} {72} {} EndEntry # Fujitsu 2400 StartEntry: Fujitsu2400 Description: {Fujitsu 2400} GSDriver: epsonc About: { Driver for the Fujitsu 2400 Dot Matrix printer. } Resolution: {240} {72} {} EndEntry # Fujitsu 3400 StartEntry: Fujitsu3400 Description: {Fujitsu 3400} GSDriver: epsonc About: { Driver for the Fujitsu 3400 Dot Matrix printer. } Resolution: {240} {72} {} EndEntry # Fujitsu PrintPartner 10V StartEntry: FujitsuPrintPartner10V Description: {Fujitsu PrintPartner 10V} GSDriver: laserjet About: { Driver for the Fujitsu PrintPartner 10V Laser printer. } Resolution: {600} {600} {} EndEntry # Fujitsu PrintPartner 16DV StartEntry: FujitsuPrintPartner16DV Description: {Fujitsu PrintPartner 16DV} GSDriver: ljet4 About: { Driver for the Fujitsu PrintPartner 16DV Laser printer. } Resolution: {600} {600} {} EndEntry # Fujitsu PrintPartner 20W StartEntry: FujitsuPrintPartner20W Description: {Fujitsu PrintPartner 20W} GSDriver: ljet4 About: { Driver for the Fujitsu PrintPartner 20W Laser printer. } Resolution: {600} {600} {} Resolution: {1200} {1200} {} EndEntry # Fujitsu PrintPartner 8000 (Postscript) StartEntry: FujitsuPrintPartner8000_PS Description: {Fujitsu PrintPartner 8000 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Fujitsu PrintPartner 8000 LED printer. } Resolution: {300} {300} {} EndEntry # HP 2000C StartEntry: HP2000C Description: {HP 2000C} GSDriver: hpdj About: { Driver for the HP 2000C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP 2500C StartEntry: HP2500C Description: {HP 2500C} GSDriver: cdj550 About: { Driver for the HP 2500C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 1100C StartEntry: HPDeskJet1100C Description: {HP DeskJet 1100C} GSDriver: cdj850 About: { Driver for the HP DeskJet 1100C Ink Jet printer. } Resolution: {300} {300} {} EndEntry # HP DeskJet 1120C StartEntry: HPDeskJet1120C Description: {HP DeskJet 1120C} GSDriver: hpdj About: { Driver for the HP DeskJet 1120C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 1600C StartEntry: HPDeskJet1600C Description: {HP DeskJet 1600C} GSDriver: cdj1600 About: { Driver for the HP DeskJet 1600C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 400 StartEntry: HPDeskJet400 Description: {HP DeskJet 400} GSDriver: cdj500 About: { Driver for the HP DeskJet 400 Ink Jet printer. } Resolution: {300} {300} {} EndEntry # HP DeskJet 400 (Color) StartEntry: HPDeskJet400_COLOR Description: {HP DeskJet 400 (Color)} GSDriver: cdj500 About: { Driver for the HP DeskJet 400 Ink Jet printer. } Resolution: {300} {300} {} EndEntry # HP DeskJet 500C StartEntry: HPDeskJet500C Description: {HP DeskJet 500C} GSDriver: cdj500 About: { Driver for the HP DeskJet 500C Ink Jet printer. } Resolution: {300} {300} {} EndEntry # HP DeskJet 500C (Color) StartEntry: HPDeskJet500C_COLOR Description: {HP DeskJet 500C (Color)} GSDriver: cdj500 About: { Driver for the HP DeskJet 500C Ink Jet printer. } Resolution: {300} {300} {} EndEntry # HP DeskJet 520 StartEntry: HPDeskJet520 Description: {HP DeskJet 520} GSDriver: hpdj About: { Driver for the HP DeskJet 520 Ink Jet printer. } Resolution: {300} {300} {} EndEntry # HP DeskJet 540 (Postscript) StartEntry: HPDeskJet540_PS Description: {HP DeskJet 540 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP DeskJet 540 Ink Jet printer. } Resolution: {300} {300} {} EndEntry # HP DeskJet 550C StartEntry: HPDeskJet550C Description: {HP DeskJet 550C} GSDriver: djet500 About: { Driver for the HP DeskJet 550C Ink Jet printer. } Resolution: {300} {300} {} EndEntry # HP DeskJet 550C (Color) StartEntry: HPDeskJet550C_COLOR Description: {HP DeskJet 550C (Color)} GSDriver: djet500 About: { Driver for the HP DeskJet 550C Ink Jet printer. } Resolution: {300} {300} {} EndEntry # HP DeskJet 560C StartEntry: HPDeskJet560C Description: {HP DeskJet 560C} GSDriver: cdj550 About: { Driver for the HP DeskJet 560C Ink Jet printer. } Resolution: {300} {300} {} EndEntry # HP DeskJet 600 StartEntry: HPDeskJet600 Description: {HP DeskJet 600} GSDriver: cdj550 About: { Driver for the HP DeskJet 600 Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 600 (Color) StartEntry: HPDeskJet600_COLOR Description: {HP DeskJet 600 (Color)} GSDriver: cdj550 About: { Driver for the HP DeskJet 600 Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 610C StartEntry: HPDeskJet610C Description: {HP DeskJet 610C} GSDriver: cdj670 About: { Driver for the HP DeskJet 610C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 610CL StartEntry: HPDeskJet610CL Description: {HP DeskJet 610CL} GSDriver: cdj550 About: { Driver for the HP DeskJet 610CL Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 612C StartEntry: HPDeskJet612C Description: {HP DeskJet 612C} GSDriver: cdj550 About: { Driver for the HP DeskJet 612C Ink Jet printer. } Resolution: {300} {300} {} EndEntry # HP DeskJet 612C (Color) StartEntry: HPDeskJet612C_COLOR Description: {HP DeskJet 612C (Color)} GSDriver: cdj550 About: { Driver for the HP DeskJet 612C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 660C (Color) StartEntry: HPDeskJet660C_COLOR Description: {HP DeskJet 660C (Color)} GSDriver: hpdj About: { Driver for the HP DeskJet 660C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 670C StartEntry: HPDeskJet670C Description: {HP DeskJet 670C} GSDriver: cdj670 About: { Driver for the HP DeskJet 670C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 672C StartEntry: HPDeskJet672C Description: {HP DeskJet 672C} GSDriver: cdj670 About: { Driver for the HP DeskJet 672C Ink Jet printer. } Resolution: {300} {300} {} Resolution: {600} {600} {} EndEntry # HP DeskJet 672C (Color) StartEntry: HPDeskJet672C_COLOR Description: {HP DeskJet 672C (Color)} GSDriver: cdj670 About: { Driver for the HP DeskJet 672C Ink Jet printer. } Resolution: {300} {300} {} EndEntry # HP DeskJet 690C (Postscript) StartEntry: HPDeskJet690C_PS Description: {HP DeskJet 690C (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP DeskJet 690C Ink Jet printer. } Resolution: {300} {300} {} EndEntry # HP DeskJet 692C StartEntry: HPDeskJet692C Description: {HP DeskJet 692C} GSDriver: cdj670 About: { Driver for the HP DeskJet 692C Ink Jet printer. } Resolution: {300} {300} {} EndEntry # HP DeskJet 694C StartEntry: HPDeskJet694C Description: {HP DeskJet 694C} GSDriver: uniprint About: { Driver for the HP DeskJet 694C Ink Jet printer. } Resolution: {300} {300} {} Resolution: {600} {600} {} EndEntry # HP DeskJet 697C StartEntry: HPDeskJet697C Description: {HP DeskJet 697C} GSDriver: cdj550 About: { Driver for the HP DeskJet 697C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 710C (Postscript) StartEntry: HPDeskJet710C_PS Description: {HP DeskJet 710C (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP DeskJet 710C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 720C StartEntry: HPDeskJet720C Description: {HP DeskJet 720C} GSDriver: pbm2ppa About: { Driver for the HP DeskJet 720C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 722C StartEntry: HPDeskJet722C Description: {HP DeskJet 722C} GSDriver: pbm2ppa About: { Driver for the HP DeskJet 722C Ink Jet printer. } Resolution: {600} {300} {} EndEntry # HP DeskJet 810C StartEntry: HPDeskJet810C Description: {HP DeskJet 810C} GSDriver: cdj880 About: { Driver for the HP DeskJet 810C Ink Jet printer. } Resolution: {600} {300} {} EndEntry # HP DeskJet 812C StartEntry: HPDeskJet812C Description: {HP DeskJet 812C} GSDriver: cdj880 About: { Driver for the HP DeskJet 812C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 812C (Postscript) StartEntry: HPDeskJet812C_PS Description: {HP DeskJet 812C (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP DeskJet 812C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 820C StartEntry: HPDeskJet820C Description: {HP DeskJet 820C} GSDriver: pbm2ppa About: { Driver for the HP DeskJet 820C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 832C StartEntry: HPDeskJet832C Description: {HP DeskJet 832C} GSDriver: cdj880 About: { Driver for the HP DeskJet 832C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 850C StartEntry: HPDeskJet850C Description: {HP DeskJet 850C} GSDriver: cdj850 About: { Driver for the HP DeskJet 850C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 855C StartEntry: HPDeskJet855C Description: {HP DeskJet 855C} GSDriver: cdj850 About: { Driver for the HP DeskJet 855C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 870C StartEntry: HPDeskJet870C Description: {HP DeskJet 870C} GSDriver: cdj850 About: { Driver for the HP DeskJet 870C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 870C (Color) StartEntry: HPDeskJet870C_COLOR Description: {HP DeskJet 870C (Color)} GSDriver: cdj850 About: { Driver for the HP DeskJet 870C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 880C StartEntry: HPDeskJet880C Description: {HP DeskJet 880C} GSDriver: cdj880 About: { Driver for the HP DeskJet 880C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 880C (Color) StartEntry: HPDeskJet880C_COLOR Description: {HP DeskJet 880C (Color)} GSDriver: cdj880 About: { Driver for the HP DeskJet 880C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 882C StartEntry: HPDeskJet882C Description: {HP DeskJet 882C} GSDriver: cdj880 About: { Driver for the HP DeskJet 882C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 890C StartEntry: HPDeskJet890C Description: {HP DeskJet 890C} GSDriver: cdj890 About: { Driver for the HP DeskJet 890C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 890C (Color) StartEntry: HPDeskJet890C_COLOR Description: {HP DeskJet 890C (Color)} GSDriver: cdj890 About: { Driver for the HP DeskJet 890C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 895Cxi StartEntry: HPDeskJet895Cxi Description: {HP DeskJet 895Cxi} GSDriver: cdj880 About: { Driver for the HP DeskJet 895Cxi Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 970C StartEntry: HPDeskJet970C Description: {HP DeskJet 970C} GSDriver: cdj550 About: { Driver for the HP DeskJet 970C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP DeskJet 970Cse (Color) StartEntry: HPDeskJet970Cse_COLOR Description: {HP DeskJet 970Cse (Color)} GSDriver: cdj550 About: { Driver for the HP DeskJet 970Cse Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 2D StartEntry: HPLaserJet2D Description: {HP LaserJet 2D} GSDriver: ljet2p About: { Driver for the HP LaserJet 2D Laser printer. } Resolution: {300} {300} {} EndEntry # HP LaserJet 2P StartEntry: HPLaserJet2P Description: {HP LaserJet 2P} GSDriver: ljet2p About: { Driver for the HP LaserJet 2P Laser printer. } Resolution: {150} {150} {} Resolution: {300} {300} {} EndEntry # HP LaserJet 2 w/PS StartEntry: HPLaserJet2w/PS Description: {HP LaserJet 2 w/PS} GSDriver: N/A About: { Driver for the HP LaserJet 2 w/PS Laser printer. } Resolution: {300} {300} {} EndEntry # HP LaserJet 2 w/PS (Postscript) StartEntry: HPLaserJet2w/PS_PS Description: {HP LaserJet 2 w/PS (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 2 w/PS Laser printer. } Resolution: {300} {300} {} EndEntry # HP LaserJet 3 StartEntry: HPLaserJet3 Description: {HP LaserJet 3} GSDriver: ljet3 About: { Driver for the HP LaserJet 3 Laser printer. } Resolution: {300} {300} {} EndEntry # HP LaserJet 3D StartEntry: HPLaserJet3D Description: {HP LaserJet 3D} GSDriver: ljet3d About: { Driver for the HP LaserJet 3D Laser printer. } Resolution: {300} {300} {} EndEntry # HP LaserJet 3P w/PS (Postscript) StartEntry: HPLaserJet3Pw/PS_PS Description: {HP LaserJet 3P w/PS (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 3P w/PS Laser printer. } Resolution: {300} {300} {} EndEntry # HP OfficeJet 600 StartEntry: HPOfficeJet600 Description: {HP OfficeJet 600} GSDriver: cdj550 About: { Driver for the HP OfficeJet 600 Ink Jet printer. } Resolution: {300} {300} {} EndEntry # HP OfficeJet 625 (Postscript) StartEntry: HPOfficeJet625_PS Description: {HP OfficeJet 625 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP OfficeJet 625 Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP OfficeJet Pro 1150C StartEntry: HPOfficeJetPro1150C Description: {HP OfficeJet Pro 1150C} GSDriver: hpdj About: { Driver for the HP OfficeJet Pro 1150C Ink Jet printer. } Resolution: {600} {600} {} EndEntry # HP OfficeJet Pro 1170Cse (Postscript) StartEntry: HPOfficeJetPro1170Cse_PS Description: {HP OfficeJet Pro 1170Cse (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP OfficeJet Pro 1170Cse Ink Jet printer. } Resolution: {300} {300} {} EndEntry # HP PhotoSmart P1100 StartEntry: HPPhotoSmartP1100 Description: {HP PhotoSmart P1100} GSDriver: cdj550 About: { Driver for the HP PhotoSmart P1100 Ink Jet printer. } Resolution: {600} {600} {} EndEntry # IBM 4019 StartEntry: IBM4019 Description: {IBM 4019} GSDriver: laserjet About: { Driver for the IBM 4019 Laser printer. } Resolution: {300} {300} {} EndEntry # IBM Page Printer 3112 StartEntry: IBMPagePrinter3112 Description: {IBM Page Printer 3112} GSDriver: N/A About: { Driver for the IBM Page Printer 3112 Laser printer. } Resolution: {1200} {1200} {} EndEntry # IBM Page Printer 3112 (Postscript) StartEntry: IBMPagePrinter3112_PS Description: {IBM Page Printer 3112 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the IBM Page Printer 3112 Laser printer. } Resolution: {1200} {1200} {} EndEntry # Kyocera FS-1700+ StartEntry: KyoceraFS-1700+ Description: {Kyocera FS-1700+} GSDriver: N/A About: { Driver for the Kyocera FS-1700+ Laser printer. } Resolution: {600} {600} {} EndEntry # Kyocera FS-3500 StartEntry: KyoceraFS-3500 Description: {Kyocera FS-3500} GSDriver: ljet3 About: { Driver for the Kyocera FS-3500 Laser printer. } Resolution: {300} {300} {} EndEntry # Kyocera FS-600 StartEntry: KyoceraFS-600 Description: {Kyocera FS-600} GSDriver: ljet4 About: { Driver for the Kyocera FS-600 Laser printer. } Resolution: {300} {300} {} Resolution: {600} {600} {} EndEntry # Lexmark 1000 (Color) StartEntry: Lexmark1000_COLOR Description: {Lexmark 1000 (Color)} GSDriver: lm1100 About: { Driver for the Lexmark 1000 Ink Jet printer. } Resolution: {300} {300} {} EndEntry # Lexmark 1020 Business StartEntry: Lexmark1020Business Description: {Lexmark 1020 Business} GSDriver: hpdj About: { Driver for the Lexmark 1020 Business Ink Jet printer. } Resolution: {600} {300} {} EndEntry # Lexmark 1100 (Color) StartEntry: Lexmark1100_COLOR Description: {Lexmark 1100 (Color)} GSDriver: lm1100 About: { Driver for the Lexmark 1100 Ink Jet printer. } Resolution: {300} {300} {} EndEntry # Lexmark 2030 (Color Postscript) StartEntry: Lexmark2030_COLOR_PS Description: {Lexmark 2030 (Color Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Lexmark 2030 Ink Jet printer. } Resolution: {300} {300} {} EndEntry # Lexmark 2070 (Color) StartEntry: Lexmark2070_COLOR Description: {Lexmark 2070 (Color)} GSDriver: c2070 About: { Driver for the Lexmark 2070 Ink Jet printer. } Resolution: {600} {600} {} EndEntry # Lexmark 3000 StartEntry: Lexmark3000 Description: {Lexmark 3000} GSDriver: cdj550 About: { Driver for the Lexmark 3000 Ink Jet printer. } Resolution: {300} {300} {} EndEntry # Lexmark 5000 StartEntry: Lexmark5000 Description: {Lexmark 5000} GSDriver: lx5000 About: { Driver for the Lexmark 5000 Ink Jet printer. } Resolution: {300} {600} {} EndEntry # Lexmark 5000 (Color) StartEntry: Lexmark5000_COLOR Description: {Lexmark 5000 (Color)} GSDriver: lx5000 About: { Driver for the Lexmark 5000 Ink Jet printer. } Resolution: {300} {600} {} EndEntry # Lexmark 5000 (Color Postscript) StartEntry: Lexmark5000_COLOR_PS Description: {Lexmark 5000 (Color Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Lexmark 5000 Ink Jet printer. } Resolution: {600} {600} {} EndEntry # Lexmark 5000 (Postscript) StartEntry: Lexmark5000_PS Description: {Lexmark 5000 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Lexmark 5000 Ink Jet printer. } Resolution: {600} {600} {} EndEntry # Lexmark 5700 StartEntry: Lexmark5700 Description: {Lexmark 5700} GSDriver: lxm5700m About: { Driver for the Lexmark 5700 Ink Jet printer. } Resolution: {1200} {1200} {} EndEntry # Lexmark 5700 (Color Postscript) StartEntry: Lexmark5700_COLOR_PS Description: {Lexmark 5700 (Color Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Lexmark 5700 Ink Jet printer. } Resolution: {600} {600} {} EndEntry # Lexmark 5700 (Postscript) StartEntry: Lexmark5700_PS Description: {Lexmark 5700 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Lexmark 5700 Ink Jet printer. } Resolution: {600} {600} {} EndEntry # Lexmark 7000 (Color Postscript) StartEntry: Lexmark7000_COLOR_PS Description: {Lexmark 7000 (Color Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Lexmark 7000 Ink Jet printer. } Resolution: {600} {600} {} EndEntry # Lexmark 7000 (Postscript) StartEntry: Lexmark7000_PS Description: {Lexmark 7000 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Lexmark 7000 Ink Jet printer. } Resolution: {600} {600} {} EndEntry # Lexmark 7200 (Color Postscript) StartEntry: Lexmark7200_COLOR_PS Description: {Lexmark 7200 (Color Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Lexmark 7200 Ink Jet printer. } Resolution: {600} {600} {} EndEntry # Lexmark 7200 (Postscript) StartEntry: Lexmark7200_PS Description: {Lexmark 7200 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Lexmark 7200 Ink Jet printer. } Resolution: {600} {600} {} EndEntry # Lexmark Optra Color 40 (Postscript) StartEntry: LexmarkOptraColor40_PS Description: {Lexmark Optra Color 40 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Lexmark Optra Color 40 Ink Jet printer. } Resolution: {600} {600} {} EndEntry # Lexmark Optra Color 45 StartEntry: LexmarkOptraColor45 Description: {Lexmark Optra Color 45} GSDriver: N/A About: { Driver for the Lexmark Optra Color 45 Ink Jet printer. } Resolution: {600} {600} {} EndEntry # Lexmark Optra E310 (Postscript) StartEntry: LexmarkOptraE310_PS Description: {Lexmark Optra E310 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Lexmark Optra E310 Laser printer. } Resolution: {600} {600} {} EndEntry # Lexmark Optra E (Postscript) StartEntry: LexmarkOptraE_PS Description: {Lexmark Optra E (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Lexmark Optra E Laser printer. } Resolution: {600} {600} {} EndEntry # Lexmark Optra Ep (Postscript) StartEntry: LexmarkOptraEp_PS Description: {Lexmark Optra Ep (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Lexmark Optra Ep Laser printer. } Resolution: {600} {600} {} EndEntry # Lexmark Optra R+ (Postscript) StartEntry: LexmarkOptraR+_PS Description: {Lexmark Optra R+ (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Lexmark Optra R+ Laser printer. } Resolution: {1200} {1200} {} EndEntry # Lexmark Optra S 1250 (Postscript) StartEntry: LexmarkOptraS1250_PS Description: {Lexmark Optra S 1250 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Lexmark Optra S 1250 Laser printer. } Resolution: {1200} {1200} {} EndEntry # Lexmark Winwriter 400 StartEntry: LexmarkWinwriter400 Description: {Lexmark Winwriter 400} GSDriver: ljetplus About: { Driver for the Lexmark Winwriter 400 Laser printer. } Resolution: {300} {300} {} EndEntry # Minolta PagePro 6 (Postscript) StartEntry: MinoltaPagePro6_PS Description: {Minolta PagePro 6 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Minolta PagePro 6 Laser printer. } Resolution: {600} {600} {} EndEntry # Minolta PagePro 6e StartEntry: MinoltaPagePro6e Description: {Minolta PagePro 6e} GSDriver: ljet4 About: { Driver for the Minolta PagePro 6e Laser printer. } Resolution: {600} {600} {} EndEntry # Minolta PagePro 8L StartEntry: MinoltaPagePro8L Description: {Minolta PagePro 8L} GSDriver: ljet2p About: { Driver for the Minolta PagePro 8L Laser printer. } Resolution: {600} {600} {} EndEntry # NEC PinWriter P6 StartEntry: NECPinWriterP6 Description: {NEC PinWriter P6} GSDriver: necp6 About: { Driver for the NEC PinWriter P6 Dot Matrix printer. } Resolution: {360} {360} {} EndEntry # NEC PinWriter P60 StartEntry: NECPinWriterP60 Description: {NEC PinWriter P60} GSDriver: necp6 About: { Driver for the NEC PinWriter P60 Dot Matrix printer. } Resolution: {360} {360} {} EndEntry # NEC PinWriter P6 plus StartEntry: NECPinWriterP6plus Description: {NEC PinWriter P6 plus} GSDriver: necp6 About: { Driver for the NEC PinWriter P6 plus Dot Matrix printer. } Resolution: {360} {360} {} EndEntry # NEC PinWriter P7 StartEntry: NECPinWriterP7 Description: {NEC PinWriter P7} GSDriver: necp6 About: { Driver for the NEC PinWriter P7 Dot Matrix printer. } Resolution: {360} {360} {} EndEntry # NEC PinWriter P70 StartEntry: NECPinWriterP70 Description: {NEC PinWriter P70} GSDriver: necp6 About: { Driver for the NEC PinWriter P70 Dot Matrix printer. } Resolution: {360} {360} {} EndEntry # NEC PinWriter P7 plus StartEntry: NECPinWriterP7plus Description: {NEC PinWriter P7 plus} GSDriver: necp6 About: { Driver for the NEC PinWriter P7 plus Dot Matrix printer. } Resolution: {360} {360} {} EndEntry # NEC SilentWriter LC 890 (Postscript) StartEntry: NECSilentWriterLC890_PS Description: {NEC SilentWriter LC 890 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the NEC SilentWriter LC 890 Laser printer. } Resolution: {300} {300} {} EndEntry # NEC SuperScript 1260 StartEntry: NECSuperScript1260 Description: {NEC SuperScript 1260} GSDriver: ljet2p About: { Driver for the NEC SuperScript 1260 Laser printer. } Resolution: {600} {600} {} EndEntry # NEC SuperScript 660i StartEntry: NECSuperScript660i Description: {NEC SuperScript 660i} GSDriver: ljet4 About: { Driver for the NEC SuperScript 660i Laser printer. } Resolution: {600} {600} {} EndEntry # NEC SuperScript 870 (Postscript) StartEntry: NECSuperScript870_PS Description: {NEC SuperScript 870 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the NEC SuperScript 870 Laser printer. } Resolution: {600} {600} {} EndEntry # Oce 3165 (Postscript) StartEntry: Oce3165_PS Description: {Oce 3165 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Oce 3165 Laser printer. } Resolution: {600} {600} {} EndEntry # Okidata OL 410e StartEntry: OkidataOL410e Description: {Okidata OL 410e} GSDriver: ljet4 About: { Driver for the Okidata OL 410e LED printer. } Resolution: {600} {600} {} EndEntry # Okidata OL 810e/PS StartEntry: OkidataOL810e/PS Description: {Okidata OL 810e/PS} GSDriver: N/A About: { Driver for the Okidata OL 810e/PS LED printer. } Resolution: {600} {600} {} EndEntry # Okidata OL810ex (Postscript) StartEntry: OkidataOL810ex_PS Description: {Okidata OL810ex (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Okidata OL810ex LED printer. } Resolution: {600} {600} {} EndEntry # Okidata OL830Plus (Postscript) StartEntry: OkidataOL830Plus_PS Description: {Okidata OL830Plus (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Okidata OL830Plus LED printer. } Resolution: {300} {300} {} EndEntry # Okidata Okipage 12i (Postscript) StartEntry: OkidataOkipage12i_PS Description: {Okidata Okipage 12i (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Okidata Okipage 12i LED printer. } Resolution: {600} {600} {} EndEntry # Okidata Okipage 20DXn (Postscript) StartEntry: OkidataOkipage20DXn_PS Description: {Okidata Okipage 20DXn (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Okidata Okipage 20DXn Laser printer. } Resolution: {600} {600} {} EndEntry # Okidata Okipage 6e StartEntry: OkidataOkipage6e Description: {Okidata Okipage 6e} GSDriver: ljet4 About: { Driver for the Okidata Okipage 6e LED printer. } Resolution: {600} {600} {} EndEntry # Okidata Okipage 6ex StartEntry: OkidataOkipage6ex Description: {Okidata Okipage 6ex} GSDriver: ljet4 About: { Driver for the Okidata Okipage 6ex LED printer. } Resolution: {600} {600} {} EndEntry # Okidata Super 6e StartEntry: OkidataSuper6e Description: {Okidata Super 6e} GSDriver: ljet4 About: { Driver for the Okidata Super 6e LED printer. } Resolution: {300} {300} {} EndEntry # Olivetti JP350S StartEntry: OlivettiJP350S Description: {Olivetti JP350S} GSDriver: laserjet About: { Driver for the Olivetti JP350S Ink Jet printer. } Resolution: {300} {300} {} EndEntry # Olivetti JP450 (Postscript) StartEntry: OlivettiJP450_PS Description: {Olivetti JP450 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Olivetti JP450 Ink Jet printer. } Resolution: {300} {300} {} EndEntry # Olivetti PG 306 StartEntry: OlivettiPG306 Description: {Olivetti PG 306} GSDriver: laserjet About: { Driver for the Olivetti PG 306 Laser printer. } Resolution: {300} {300} {} EndEntry # Panasonic KX-P1123 StartEntry: PanasonicKX-P1123 Description: {Panasonic KX-P1123} GSDriver: epson About: { Driver for the Panasonic KX-P1123 Dot Matrix printer. } Resolution: {360} {360} {} EndEntry # Panasonic KX-P2023 StartEntry: PanasonicKX-P2023 Description: {Panasonic KX-P2023} GSDriver: epson About: { Driver for the Panasonic KX-P2023 Dot Matrix printer. } Resolution: {360} {360} {} EndEntry # Panasonic KX-P2123 StartEntry: PanasonicKX-P2123 Description: {Panasonic KX-P2123} GSDriver: epson About: { Driver for the Panasonic KX-P2123 Dot Matrix printer. } Resolution: {360} {360} {} EndEntry # Panasonic KX-P4410 StartEntry: PanasonicKX-P4410 Description: {Panasonic KX-P4410} GSDriver: ljet2p About: { Driver for the Panasonic KX-P4410 Laser printer. } Resolution: {300} {300} {} EndEntry # Panasonic KX-P4450 StartEntry: PanasonicKX-P4450 Description: {Panasonic KX-P4450} GSDriver: ljet3 About: { Driver for the Panasonic KX-P4450 Laser printer. } Resolution: {300} {300} {} EndEntry # Panasonic KX-P5400 (Postscript) StartEntry: PanasonicKX-P5400_PS Description: {Panasonic KX-P5400 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Panasonic KX-P5400 LED printer. } Resolution: {300} {300} {} EndEntry # Panasonic KX-P6150 StartEntry: PanasonicKX-P6150 Description: {Panasonic KX-P6150} GSDriver: laserjet About: { Driver for the Panasonic KX-P6150 Laser printer. } Resolution: {300} {300} {} EndEntry # Panasonic KX-P6500 StartEntry: PanasonicKX-P6500 Description: {Panasonic KX-P6500} GSDriver: ljet2p About: { Driver for the Panasonic KX-P6500 Laser printer. } Resolution: {300} {300} {} EndEntry # QMS ps-810 (Postscript) StartEntry: QMSps-810_PS Description: {QMS ps-810 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the QMS ps-810 Laser printer. } Resolution: {300} {300} {} EndEntry # Ricoh 4081 StartEntry: Ricoh4081 Description: {Ricoh 4081} GSDriver: r4081 About: { Driver for the Ricoh 4081 Laser printer. } Resolution: {300} {300} {} EndEntry # Sharp AR-161 StartEntry: SharpAR-161 Description: {Sharp AR-161} GSDriver: ljet4 About: { Driver for the Sharp AR-161 Laser printer. } Resolution: {600} {600} {} EndEntry # Star LC24-100 StartEntry: StarLC24-100 Description: {Star LC24-100} GSDriver: necp6 About: { Driver for the Star LC24-100 Dot Matrix printer. } Resolution: {1} {1} {} Resolution: {360} {360} {} EndEntry # Star NL-10 StartEntry: StarNL-10 Description: {Star NL-10} GSDriver: epson About: { Driver for the Star NL-10 Dot Matrix printer. } Resolution: {60} {72} {} Resolution: {240} {216} {} EndEntry # Star StarJet 48 StartEntry: StarStarJet48 Description: {Star StarJet 48} GSDriver: sj48 About: { Driver for the Star StarJet 48 Ink Jet printer. } Resolution: {360} {360} {} EndEntry # Tektronix 3693d color printer, 8-bit mode StartEntry: Tektronix3693dcolorprinter,8-bitmode Description: {Tektronix 3693d color printer, 8-bit mode} GSDriver: t4693d8 About: { Driver for the Tektronix 3693d color printer, 8-bit mode Dot Matrix printer. } Resolution: {100} {100} {} EndEntry # Tektronix 4693d color printer, 2-bit mode StartEntry: Tektronix4693dcolorprinter,2-bitmode Description: {Tektronix 4693d color printer, 2-bit mode} GSDriver: t4693d2 About: { Driver for the Tektronix 4693d color printer, 2-bit mode Dot Matrix printer. } Resolution: {100} {100} {} EndEntry # Tektronix 4695 StartEntry: Tektronix4695 Description: {Tektronix 4695} GSDriver: tek4696 About: { Driver for the Tektronix 4695 Ink Jet printer. } Resolution: {120} {120} {} EndEntry # Tektronix 4696 StartEntry: Tektronix4696 Description: {Tektronix 4696} GSDriver: tek4696 About: { Driver for the Tektronix 4696 Ink Jet printer. } Resolution: {180} {180} {} EndEntry # Tektronix 4697 StartEntry: Tektronix4697 Description: {Tektronix 4697} GSDriver: tek4696 About: { Driver for the Tektronix 4697 Ink Jet printer. } Resolution: {216} {216} {} EndEntry # Tektronix Phaser IISX (Postscript) StartEntry: TektronixPhaserIISX_PS Description: {Tektronix Phaser IISX (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Tektronix Phaser IISX Thermal printer. } Resolution: {300} {300} {} EndEntry # Tektronix Phaser PX (Postscript) StartEntry: TektronixPhaserPX_PS Description: {Tektronix Phaser PX (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Tektronix Phaser PX Thermal printer. } Resolution: {300} {300} {} EndEntry # Xerox 2700 XES StartEntry: Xerox2700XES Description: {Xerox 2700 XES} GSDriver: xes About: { Driver for the Xerox 2700 XES Ink Jet printer. } Resolution: {300} {300} {} EndEntry # Xerox 3700 XES StartEntry: Xerox3700XES Description: {Xerox 3700 XES} GSDriver: xes About: { Driver for the Xerox 3700 XES Ink Jet printer. } Resolution: {300} {300} {} EndEntry # Xerox 4045 XES StartEntry: Xerox4045XES Description: {Xerox 4045 XES} GSDriver: xes About: { Driver for the Xerox 4045 XES Ink Jet printer. } Resolution: {300} {300} {} EndEntry # Xerox DocuPrint 4508 StartEntry: XeroxDocuPrint4508 Description: {Xerox DocuPrint 4508} GSDriver: ljet4 About: { Driver for the Xerox DocuPrint 4508 Laser printer. } Resolution: {600} {600} {} EndEntry # Xerox DocuPrint 4508 (Postscript) StartEntry: XeroxDocuPrint4508_PS Description: {Xerox DocuPrint 4508 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Xerox DocuPrint 4508 Laser printer. } Resolution: {600} {600} {} EndEntry # Xerox DocuPrint P12 StartEntry: XeroxDocuPrintP12 Description: {Xerox DocuPrint P12} GSDriver: ljet2p About: { Driver for the Xerox DocuPrint P12 Laser printer. } Resolution: {300} {300} {} EndEntry # Xerox DocuPrint P8e (Postscript) StartEntry: XeroxDocuPrintP8e_PS Description: {Xerox DocuPrint P8e (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the Xerox DocuPrint P8e Laser printer. } Resolution: {600} {600} {} EndEntry # Xerox Document Homecentre StartEntry: XeroxDocumentHomecentre Description: {Xerox Document Homecentre} GSDriver: cdj550 About: { Driver for the Xerox Document Homecentre Ink Jet printer. } Resolution: {600} {600} {} EndEntry # Xerox WorkCentre 450cp StartEntry: XeroxWorkCentre450cp Description: {Xerox WorkCentre 450cp} GSDriver: cdj550 About: { Driver for the Xerox WorkCentre 450cp Ink Jet printer. } Resolution: {300} {300} {} EndEntry # Xerox XJ6C StartEntry: XeroxXJ6C Description: {Xerox XJ6C} GSDriver: cdj550 About: { Driver for the Xerox XJ6C Ink Jet printer. } Resolution: {1200} {600} {} EndEntry # HP LaserJet 4/4M StartEntry: LaserJet4 GSDriver: ljet4 Description: {HP LaserJet 4 series, non-PostScript} About: { \ Driver for the HP LaserJet 4 printer.\ } Resolution: {300} {300} {} Resolution: {600} {600} {} EndEntry # HP LaserJet 4M (Postscript) StartEntry: HPLaserJet4M_PS Description: {HP LaserJet 4M (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 4M Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 4L StartEntry: HPLaserJet4L Description: {HP LaserJet 4L} GSDriver: ljet4 About: { Driver for the HP LaserJet 4L Laser printer. } Resolution: {300} {300} {} EndEntry # HP LaserJet 4ML StartEntry: HPLaserJet4ML (Postscript) Description: {HP LaserJet 4ML (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 4ML Laser printer. } Resolution: {300} {300} {} EndEntry # HP LaserJet 4P StartEntry: HPLaserJet4P Description: {HP LaserJet 4P} GSDriver: ljet4 About: { Driver for the HP LaserJet 4P Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 4MP StartEntry: HPLaserJet4MP (Postscript) Description: {HP LaserJet 4MP (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 4MP Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 4V StartEntry: HPLaserJet4V Description: {HP LaserJet 4V} GSDriver: ljet4 About: { Driver for the HP LaserJet 4V Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 4MV StartEntry: HPLaserJet4MV (Postscript) Description: {HP LaserJet 4MV (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 4MV Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 4Si StartEntry: HPLaserJet4Si Description: {HP LaserJet 4Si} GSDriver: ljet4 About: { Driver for the HP LaserJet 4Si Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 4Si Mx StartEntry: HPLaserJet4SiMx (Postscript) Description: {HP LaserJet 4Si Mx (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 4Si Mx Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 4 Plus StartEntry: HPLaserJet4Plus Description: {HP LaserJet 4 Plus} GSDriver: ljet4 About: { Driver for the HP LaserJet 4 Plus Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 4M Plus (Postscript) StartEntry: HPLaserJet4MPlus_PS Description: {HP LaserJet 4M Plus (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 4M Plus Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 5 StartEntry: HPLaserJet5 Description: {HP LaserJet 5} GSDriver: ljet4 About: { Driver for the HP LaserJet 5 Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 5M (Postscript) StartEntry: HPLaserJet5M_PS Description: {HP LaserJet 5M (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 5M Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 5P StartEntry: HPLaserJet5P Description: {HP LaserJet 5P} GSDriver: ljet4 About: { Driver for the HP LaserJet 5P Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 5MP (Postscript) StartEntry: HPLaserJet5MP_PS Description: {HP LaserJet 5MP (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 5MP Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 5L StartEntry: HPLaserJet5L Description: {HP LaserJet 5L} GSDriver: ljet4 About: { Driver for the HP LaserJet 5L Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 5Si StartEntry: HPLaserJet5Si Description: {HP LaserJet 5Si} GSDriver: ljet4 About: { Driver for the HP LaserJet 5Si Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 5Si Mx (Postscript) StartEntry: HPLaserJet5SiMx_PS Description: {HP LaserJet 5Si Mx (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 5Si Mx Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 6 StartEntry: HPLaserJet6 Description: {HP LaserJet 6} GSDriver: ljet4 About: { Driver for the HP LaserJet 6 Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 6M (Postscript) StartEntry: HPLaserJet6M_PS Description: {HP LaserJet 6M (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 6M Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 6L StartEntry: HPLaserJet6L Description: {HP LaserJet 6L} GSDriver: ljet4 About: { Driver for the HP LaserJet 6L Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 6P StartEntry: HPLaserJet6P_PS Description: {HP LaserJet 6P} GSDriver: ljet4 About: { Driver for the HP LaserJet 6P Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 6MP (Postscript) StartEntry: HPLaserJet6MP_PS Description: {HP LaserJet 6MP (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 6MP Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 1100 StartEntry: HPLaserJet1100 Description: {HP LaserJet 1100} GSDriver: ljet4 About: { Driver for the HP LaserJet 1100 Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 1100A StartEntry: HPLaserJet1100A Description: {HP LaserJet 1100A} GSDriver: ljet4 About: { Driver for the HP LaserJet 1100A Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 1200 (Postscript) StartEntry: HPLaserJet1200_PS Description: {HP LaserJet 1200 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 1200 Laser printer. } Resolution: {1200} {1200} {} EndEntry # HP LaserJet 2100 StartEntry: HPLaserJet2100 Description: {HP LaserJet 2100} GSDriver: ljet4 About: { Driver for the HP LaserJet 2100 Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 2100M (Postscript) StartEntry: HPLaserJet2100M_PS Description: {HP LaserJet 2100M (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 2100M Laser printer. } Resolution: {1200} {1200} {} EndEntry # HP LaserJet 2200 (Postscript) StartEntry: HPLaserJet2200_PS Description: {HP LaserJet 2200 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 2200 Laser printer. } Resolution: {1200} {1200} {} EndEntry # HP LaserJet 3200M (Postscript) StartEntry: HPLaserJet3200M_PS Description: {HP LaserJet 3200M (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 3200M Laser printer. } Resolution: {1200} {1200} {} EndEntry # HP LaserJet 4000 (Postscript) StartEntry: HPLaserJet4000_PS Description: {HP LaserJet 4000 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 4000 Laser printer. } Resolution: {1200} {1200} {} EndEntry # HP LaserJet 4050 (Postscript) StartEntry: HPLaserJet4050_PS Description: {HP LaserJet 4050 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 4050 Laser printer. } Resolution: {1200} {1200} {} EndEntry # HP LaserJet 4100 (Postscript) StartEntry: HPLaserJet4100_PS Description: {HP LaserJet 4100 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 4100 Laser printer. } Resolution: {1200} {1200} {} EndEntry # HP Color LaserJet 4500 StartEntry: HPColorLaserJet4500 Description: {HP Color LaserJet 4500} GSDriver: N/A About: { Driver for the HP Color LaserJet 4500 Laser printer. } Resolution: {600} {600} {} EndEntry # HP Color LaserJet 4500 (Postscript) StartEntry: HPColorLaserJet4500_PS Description: {HP Color LaserJet 4500 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP Color LaserJet 4500 Laser printer. } Resolution: {600} {600} {} EndEntry # HP Color LaserJet 4550 (Postscript) StartEntry: HPColorLaserJet4550_PS Description: {HP Color LaserJet 4550 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP Color LaserJet 4550 Laser printer. } Resolution: {600} {600} {} EndEntry # HP LaserJet 5000 (Postscript) StartEntry: HPLaserJet5000_PS Description: {HP LaserJet 5000 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 5000 Laser printer. } Resolution: {1200} {1200} {} EndEntry # HP LaserJet 8000 (Postscript) StartEntry: HPLaserJet8000_PS Description: {HP LaserJet 8000 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 8000 Laser printer. } Resolution: {1200} {1200} {} EndEntry # HP LaserJet 8100 (Postscript) StartEntry: HPLaserJet8100_PS Description: {HP LaserJet 8100 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 8100 Laser printer. } Resolution: {1200} {1200} {} EndEntry # HP LaserJet 8150 (Postscript) StartEntry: HPLaserJet8150_PS Description: {HP LaserJet 8150 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 8150 Laser printer. } Resolution: {1200} {1200} {} EndEntry # HP LaserJet 9000 (Postscript) StartEntry: HPLaserJet9000_PS Description: {HP LaserJet 9000 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP LaserJet 9000 Laser printer. } Resolution: {1200} {1200} {} EndEntry # HP Color LaserJet 8500 (Postscript) StartEntry: HPColorLaserJet8500_PS Description: {HP Color LaserJet 8500 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP Color LaserJet 8500 Laser printer. } Resolution: {600} {600} {} EndEntry # HP Color LaserJet 8550 (Postscript) StartEntry: HPColorLaserJet8550_PS Description: {HP Color LaserJet 8550 (Postscript)} GSDriver: POSTSCRIPT About: { Driver for the HP Color LaserJet 8550 Laser printer. } Resolution: {600} {600} {} EndEntry printfilters/testpage.asc0100644000176500017650000000116307325345321015357 0ustar debiandebianIf this is all you see, try enabling 'Fix stair-stepping text' in printtool... Line 2, Column 1 Line 2, Column 80 This is the Red Hat Printtool ASCII Test Page If you see this text, check that these exclamation marks line up: The ! exclamation ! marks ! in this ! line ! should ! line up ! with ! these ! too ! If the lines do not match up then try enabling 'LF->CR/LF' If this page did not eject automatically, try enabling 'Send EOF'. printfilters/ppd_xref.rdb0100644000176500017650000000305707325622607015364 0ustar debiandebian# PPD to Printer Type Cross Reference file_name printer_name 20 35 bghp40w1.ppd Birmy PowerRIP bghp50w1.ppd Birmy PowerRIP hp1200c1.ppd HP DeskJet 1200C hp2500c1.ppd HP DesignJet 2500CP hp2500c2.ppd HP DesignJet 2500CP hp3500c1.ppd HP DesignJet 3500CP hp755cm1.ppd HP DesignJet 755CM hpcopyj1.ppd HP CopyJet hppjxl31.ppd PaintJet XL300 hp_650c1.ppd HP DesignJet 650C hp_650c2.ppd HP DesignJet 650C hp_750c1.ppd HP DesignJet 750C bghp30w1.ppd Birmy PowerRIP HP_LaserJet_4.ppd HP LaserJet 4/4M HP_LaserJet_4ML.ppd HP LaserJet 4ML HP_LaserJet_4MP.ppd HP LaserJet 4MP HP_LaserJet_4MV.ppd HP LaserJet 4MV HP_LaserJet_4_Plus.ppd HP LaserJet 4M Plus HP_LaserJet_4Si.ppd HP LaserJet 4Si Mx HP_LaserJet_5M.ppd HP LaserJet 5M HP_LaserJet_5MP.ppd HP LaserJet 5MP HP_LaserJet_5Si.ppd HP LaserJet 5Si Mx HP_LaserJet_6M.ppd HP LaserJet 6M HP_LaserJet_6MP.ppd HP LaserJet 6MP HP_LaserJet_1200.ppd HP LaserJet 1200 HP_LaserJet_2100_Series.ppd HP LaserJet 2100M HP_LaserJet_2200.ppd HP LaserJet 2200 HP_LaserJet_3200M.ppd HP LaserJet 3200M HP_LaserJet_4000_Series.ppd HP LaserJet 4000 HP_LaserJet_4050_Series.ppd HP LaserJet 4050 HP_LaserJet_4100_Series.ppd HP LaserJet 4100 HP_Color_LaserJet_4500.ppd HP Color LaserJet 4500 HP_Color_LaserJet_4550.ppd HP Color LaserJet 4550 HP_LaserJet_5000_Series.ppd HP LaserJet 5000 HP_LaserJet_8000_Series.ppd HP LaserJet 8000 HP_LaserJet_8100_Series.ppd HP LaserJet 8100 HP_LaserJet_8150_Series.ppd HP LaserJet 8150 HP_LaserJet_9000_Series.ppd HP LaserJet 9000 HP_Color_LaserJet_8500.ppd HP Color LaserJet 8500 HP_Color_LaserJet_8550.ppd HP Color LaserJet 8550 printfilters/aliases.rdb0100644000176500017650000000376007325345321015172 0ustar debiandebian# printer aliases table: # printer_alias is the autodetect-returned string (IEEE-1284 or SNMP) # printer_id is its match in the printerdb file # Note: Fields are tab-separated. printer_alias printer_id 25 25 HP LaserJet 4 Plus HP LaserJet 4 Plus HP LaserJet 4M Plus HP LaserJet 4M Plus (Postscript) HP LaserJet 4/4M HP LaserJet 4 HP LaserJet 4L HP LaserJet 4L HP LaserJet 4ML HP LaserJet 4ML (Postscript) HP LaserJet 4P HP LaserJet 4P HP LaserJet 4MP HP LaserJet 4MP (Postscript) HP LaserJet 4V HP LaserJet 4V HP LaserJet 4MV HP LaserJet 4MV (Postscript) HP LaserJet 4Si/4Si MX HP LaserJet 4Si HP LaserJet 5Si HP LaserJet 5Si HP LaserJet 5 HP LaserJet 5 HP LaserJet 5M HP LaserJet 5M (Postscript) HP LaserJet 5L HP LaserJet 5L HP LaserJet 5P HP LaserJet 5P HP LaserJet 5MP HP LaserJet 5MP (Postscript) HP LaserJet 6L HP LaserJet 6L HP LaserJet 6MP HP LaserJet 6MP (Postscript) HP LaserJet 1100 HP LaserJet 1100 HP HP LaserJet 1200 HP LaserJet 1200 (Postscript) HP HP LaserJet 1220 HP LaserJet 1200 (Postscript) HP LaserJet 2100 Series HP LaserJet 2100 HP HP LaserJet 2200 HP LaserJet 2200 (Postscript) HP HP LaserJet 3200 HP LaserJet 3200 HP HP LaserJet 3200M HP LaserJet 3200M (Postscript) HP LaserJet 4000 Series HP LaserJet 4000 (Postscript) HP LaserJet 4050 Series HP LaserJet 4050 (Postscript) HP LaserJet 5000 Series HP LaserJet 5000 (Postscript) HP LaserJet 5000LE HP LaserJet 5000 (Postscript) HP Color LaserJet 4500 HP Color LaserJet 4500 (Postscript) HP HP Color LaserJet 4550 HP Color LaserJet 4550 (Postscript) HP LaserJet 8000 Series HP LaserJet 8000 (Postscript) HP Mopier 240 HP LaserJet 8000 (Postscript) HP HP LaserJet 4100 Series HP LaserJet 4100 (Postscript) HP LaserJet 8100 Series HP LaserJet 8100 (Postscript) HP Mopier 320 HP LaserJet 8100 (Postscript) HP HP LaserJet 8150 Series HP LaserJet 8150 (Postscript) HP HP LaserJet 9000 Series HP LaserJet 9000 (Postscript) HP Color LaserJet 8500 HP Color LaserJet 8500 (Postscript) HP Color LaserJet 8550 HP Color LaserJet 8550 (Postscript) BJC-4100 Canon BJC-4100 printfilters/asc-to-printer.fpi0100755000176500017650000000165707325345321016435 0ustar debiandebian#!/bin/sh # # convert ASCII to the format required by the printer on this queue # # # read in text-only configuration settings # if[ -f "${SPOOLDIR}/textonly.cfg" ];then . ${SPOOLDIR}/textonly.cfg else # find the name of the queue from the spool dir eval `pcap -S $SPOOLDIR` # Load text-only configuration options eval `pcap -P$queue:TEXTONLYOPTIONS` >> /dev/null eval `pcap -P$queue:CRLFTRANS` >> /dev/null eval `pcap -P$queue:TEXT_SEND_EOF` >> /dev/null fi # # are there any special options required for text-only printing? # if [ "$TEXTONLYOPTIONS" != "" ]; then printf $TEXTONLYOPTIONS fi # # do we need to map lf into cr/lf for dos-loving printers? # if [ "$CRLFTRANS" = YES -o "$CRLFTRANS" = 1 ]; then sed -e 's/$/'`echo -ne '\r'`'/g' else cat - fi # # # see if we need to send a form feed to eject the page from printer # if [ "$TEXT_SEND_EOF" = "YES" ]; then printf "\014" fi exit 0 printfilters/asc-to-ps.fpi0100755000176500017650000000231707325345321015366 0ustar debiandebian#!/bin/bash # # convert input ascii into postscript # # # if [ -f "${SPOOLDIR}/postscript.cfg" ]; then . ${SPOOLDIR}/postscript.cfg else # find the name of the queue from the spool dir eval `pcap -S $SPOOLDIR` # Load postscript configuration options eval `pcap -P$queue:PAPERSIZE` >> /dev/null eval `pcap -P$queue:NUP` >> /dev/null eval `pcap -P$queue:RTLFTMAR` >> /dev/null eval `pcap -P$queue:TOPBOTMAR` >> /dev/null fi # # see if we should reverse order # # support will be added for this in the future # psorder needed and is part of netatalk, which we dont currently ship # if [ "$PAPERSIZE" = "letter" ]; then mpage_paper="Letter" elif [ "$PAPERSIZE" = "a4" ]; then mpage_paper="A4" elif [ "$PAPERSIZE" = "legal" ]; then mpage_paper="Legal" else mpage_paper="Letter" fi # # #if [ "$NUP" = "1" ]; then # border="-o" #else # border="" #fi mpage_cmd="mpage -b$mpage_paper -o -1 -m${RTLFTMAR}lr -m${TOPBOTMAR}tb" # Warning: on debian the version of mpage is linked to libpaper. # the problem with this is that libpaper makes use of the # "PAPERSIZE" variable. SAVE_PAPERSIZE=$PAPERSIZE unset PAPERSIZE eval $mpage_cmd PAPERSIZE=$SAVE_PAPERSIZE unset SAVE_PAPERSIZE printfilters/ncpprint0100755000176500017650000000447507325345321014647 0ustar debiandebian#!/bin/sh # This script is an input filter for printcap printing on a unix machine. It # uses the nprint program to print the file to the specified ncp-based # server and queue. # For example you could have a printcap entry like this # # ncp:lp=/dev/null:sd=/usr/spool/ncp:sh:if=/usr/local/bin/ncpprint # # which would create a unix printer called "ncp" that will print via this # script. You will need to create the spool directory /usr/spool/ncp with # appropriate permissions and ownerships for your system. # # Script further altered by hamiltom@ecnz.co.nz (Michael Hamilton) # so that the server, service, and password can be read from # a /usr/var/spool/lpd/PRINTNAME/.config file. # # In order for this to work the /etc/printcap entry must include an # accounting file (af=...): # # cdcolour:\ # :cm=CD IBM Colorjet on 6th:\ # :sd=/var/spool/lpd/cdcolour:\ # :af=/var/spool/lpd/cdcolour/acct:\ # :if=/usr/local/etc/ncpprint:\ # :mx=0:\ # :lp=/dev/null: # # The /usr/var/spool/lpd/PRINTNAME/.config file should contain: # server=PC_SERVER # queue=PRINTER_QUEUE # user="user" # password="password" # # Please, do not modify the order in the file. # Example: # server=NWSERVER # queue=P_QUEUE1 # user="fred" # password="" # # The last parameter to the filter is the accounting file name. # Extract the directory name from the file name. # Concat this with /.config to get the config file. # eval acct_file=\$$# spool_dir=`dirname $acct_file` config_file=$spool_dir/.config # Should read the following variables set in the config file: # server # queue # user # password ## find the name of the queue from the spool dir eval `pcap -S $SPOOLDIR` # Load netware/smb config options # if[ -f "$config_file" ];then eval `cat $config_file` else eval `pcap -P$queue:server` >> /dev/null eval `pcap -P$queue:queue` >> /dev/null eval `pcap -P$queue:user` >> /dev/null eval `pcap -P$queue:password` >> /dev/null fi if [ "$user" != "" ]; then if [ "$password" != "" ]; then usercmd="-U $user -P $password" else usercmd="-U $user -n" fi else usercmd="" fi #cat > /tmp/printout #x_command="" #case $translate in # yes) x_command="translate" ;; #esac #echo $server $password $translate $x_command > /tmp/ncpprint.log cat | /usr/bin/nprint -S $server -q $queue $usercmd -N - 2>/dev/null printfilters/ppaprint0100644000176500017650000000773707325345321014650 0ustar debiandebian#!/bin/sh # ppaprint v2.12 July 7, 2000 # # make pnm2ppa (or pbm2ppa) command line for postprocessing to produce PPA # output for HP's PPA printers (DeskJet 710, 720, 820, 1000 series). # # Duncan Haldane, the pnm2ppa project, # see also http://sourceforge.net/projects/pnm2ppa # BINDIR=/usr/bin CONFIG_DIR=/etc PPA_CONFIG=$1 PAPERSIZE=$2 RESOLUTION=$3 EXTRA_GS_OPTIONS=$@ for arg in $1 $2 $3 ; do EXTRA_GS_OPTIONS=$(echo "${EXTRA_GS_OPTIONS}" | eval "sed -e 's/^.*$arg//'") done if ! [ "$RESOLUTION" = "600x600" ] ; then echo "Error - ppaprint: unsupported RESOLUTION=$RESOLUTION" exit 1 fi # extract any extra PPA options from $EXTRA_GS_OPTIONS: # format is $EXTRA_GS_OPTIONS= "(gs_options)PPA(ppa_options)" EXTRA_PPA_OPTIONS="" if echo $EXTRA_GS_OPTIONS | grep -e "PPA" >/dev/null 2>&1 ; then EXTRA_PPA_OPTIONS=$EXTRA_GS_OPTIONS EXTRA_GS_OPTIONS=$(echo "${EXTRA_GS_OPTIONS}" | sed -e 's/PPA.*$//' ) EXTRA_PPA_OPTIONS=$(echo "${EXTRA_PPA_OPTIONS}" | sed -e 's/^.*PPA//') fi # identify paper size if [ "$PAPERSIZE" = "letter" ]; then PPA_PAPERSIZE="-s letter" elif [ "$PAPERSIZE" = "a4" ]; then PPA_PAPERSIZE="-s a4" elif [ "$PAPERSIZE" = "legal" ]; then PPA_PAPERSIZE="-s legal" else PPA_PAPERSIZE="-s letter" fi # identify printer type # (at present, a type 710 is treated as a type 720 in printerdb) if echo $PPA_CONFIG | grep -e "ppa710" > /dev/null 2>&1 ; then PPA_PRINTER="-v 710" elif echo $PPA_CONFIG | grep -e "ppa720" > /dev/null 2>&1 ; then PPA_PRINTER="-v 720" elif echo $PPA_CONFIG | grep -e "ppa820" > /dev/null 2>&1 ; then PPA_PRINTER="-v 820" elif echo $PPA_CONFIG | grep -e "ppa1000" > /dev/null 2>&1 ; then PPA_PRINTER="-v 1000" fi PPA_OPTIONS="$PPA_PAPERSIZE $EXTRA_PPA_OPTIONS" if echo $PPA_CONFIG | grep -e "pbm" >/dev/null 2>&1 ; then # use the old pbm2ppa Black-and-White-only driver # first check that old pbm2ppa driver is installed if ! $BINDIR/pbm2ppa -h > /dev/null 2>&1 ; then echo "Error - ppaprint: pbm2ppa driver was not found" exit 1 fi # assemble the pbm2ppa command line: GSDEVICE=pbmraw PPA_CONF="$CONFIG_DIR/pbm2ppa.conf" if [ -f $PPA_CONF ] ; then PPA_CONF="-f $PPA_CONF" else PPA_CONF="" fi PPA_OPTIONS="$PPA_PRINTER $PPA_CONF $PPA_OPTIONS" PPA="$BINDIR/pbm2ppa $PPA_OPTIONS - - " else # use the new pnm2ppa driver with color support # first check that new pnm2ppa driver is installed if ! $BINDIR/pnm2ppa -h > /dev/null 2>&1 ; then echo "Error - ppaprint: pnm2ppa driver was not found" exit 1 fi # papersize is no longer needed by pnm2ppa >= 0.99 # (the papersize is now taken from the pnm input file header). PPA_PAPERSIZE="" # all pnm formats are now supported by pnm2ppa >= 0.99 # -- use ppmraw for color-enabled printing # -- use pbmraw in --bw black and white modes. # identify color option if echo $PPA_CONFIG | grep -e "ppa.*0b1" > /dev/null 2>&1 ; then GSDEVICE=pbmraw PPA_COLOR="--bw --eco" elif echo $PPA_CONFIG | grep -e "ppa.*0b2" > /dev/null 2>&1 ; then GSDEVICE=pbmraw PPA_COLOR="--bw" elif echo $PPA_CONFIG | grep -e "ppa.*0c1" > /dev/null 2>&1 ; then GSDEVICE=ppmraw PPA_COLOR="--eco --fd" elif echo $PPA_CONFIG | grep -e "ppa.*0c2" > /dev/null 2>&1 ; then GSDEVICE=ppmraw PPA_COLOR="-p --eco" elif echo $PPA_CONFIG | grep -e "ppa.*0c3" > /dev/null 2>&1 ; then GSDEVICE=ppmraw PPA_COLOR="" elif echo $PPA_CONFIG | grep -e "ppa.*0c4" > /dev/null 2>&1 ; then GSDEVICE=ppmraw PPA_COLOR="-p --uni" elif echo $PPA_CONFIG | grep -e "ppa.*0c5" > /dev/null 2>&1 ; then GSDEVICE=ppmraw PPA_COLOR="--eco" fi # assemble the pnm2ppa command line: PPA_CONF="$CONFIG_DIR/pnm2ppa.conf" if [ -f $PPA_CONF ] ; then PPA_CONF="-f $PPA_CONF" else PPA_CONF="" fi PPA_OPTIONS="$PPA_PRINTER $PPA_CONF $PPA_COLOR $PPA_OPTIONS" PPA="$BINDIR/pnm2ppa $PPA_OPTIONS -i - -o - " fi echo "-sDEVICE=$GSDEVICE $EXTRA_GS_OPTIONS - | $PPA " exit 0 printfilters/ps-to-printer.fpi0100644000176500017650000001265307402551157016306 0ustar debiandebian#!/bin/sh # # convert ps to the format required by the printer on this queue # # if the printer is a PostScript printer, just cat it through # if the printer uses ghostscript, we'll run it now # if the printer is neither, we die (with good message to someone) # if [ -f "${SPOOLDIR}/.debug" ];then set -x exec 2>${SPOOLDIR}/log.ps-to-printer.fpi fi # location of the ppaprint script prefix=/tmp/test/ exec_prefix=${prefix} libexecdir=${exec_prefix}/libexec bindir=${exec_prefix}/bin FPIDIR=$libexecdir # look up the printcap entry with sd=$SPOOLDIR and grab its ppdfile PPDFILE=`$FPIDIR/grab-ppd.awk -v spool=${SPOOLDIR} /etc/printcap` # absolute path? if not, prepend $SPOOLDIR echo $PPDFILE | grep '^/' > /dev/null 2>&1 if test $? -ne 0; then PPDFILE=${SPOOLDIR}/${PPDFILE} fi # find the name of the queue from the spool dir eval `pcap -S $SPOOLDIR` # # Load postscript configuration options # if [ -f "${SPOOLDIR}/postscript.cfg" ]; then source ${SPOOLDIR}/postscript.cfg else eval `pcap -P$queue:GSDEVICE` >> /dev/null eval `pcap -P$queue:RESOLUTION` >> /dev/null eval `pcap -P$queue:COLOR` >> /dev/null eval `pcap -P$queue:PAPERSIZE` >> /dev/null eval `pcap -P$queue:EXTRA_GS_OPTIONS` >> /dev/null eval `pcap -P$queue:PS_SEND_EOF` >> /dev/null eval `pcap -P$queue:NUP` >> /dev/null eval `pcap -P$queue:RTLFTMAR` >> /dev/null eval `pcap -P$queue:TOPBOTMAR` >> /dev/null fi # # see if we should reverse order # # support will be added for this in the future # psorder needed and is part of netatalk, which we dont currently ship # if [ "$PAPERSIZE" = "letter" ]; then mpage_paper="Letter" elif [ "$PAPERSIZE" = "a4" ]; then mpage_paper="A4" elif [ "$PAPERSIZE" = "legal" ]; then mpage_paper="Legal" else mpage_paper="Letter" fi # # weird case - some PS doesnt get handled by mpage well # so we allow nup=1 to just cat PS to printer w/o mpage interferring # if [ "$NUP" = "1" ]; then border="-o" mpage_cmd="cat -" else border="" mpage_cmd="mpage -b$mpage_paper $border -$NUP -m${RTLFTMAR}lr -m${TOPBOTMAR}tb" fi # processing based upon ppd using LPRng if [ -n "$CONTROL" -a -f "$PPDFILE" ]; then LPOPTS=`sed -n -e 's/^Z/ /' -e 's/,/ /' -e '/^ /p' -e 's/^ //' < /dev/null 2>&1 ; then eval "$mpage_cmd | sed \"s/[(]%%.*%%[)].*flush//g\" | \ gs -q \ -r$RESOLUTION \ -sPAPERSIZE=$PAPERSIZE \ -dNOPAUSE \ -dSAFER \ -sOutputFile=- \ $PPA_CMD" else echo "Error - ps-to-printer.fpi - PPA postprocessor error:" echo $PPA_CMD exit 1 fi else # We're using ghostscript in traditional manner eval "$mpage_cmd | sed \"s/[(]%%.*%%[)].*flush//g\" | \ gs -q -sDEVICE=$GSDEVICE \ -r$RESOLUTION \ -sPAPERSIZE=$PAPERSIZE \ -dNOPAUSE \ -dSAFER \ -sOutputFile=- \ $COLOR \ $EXTRA_GS_OPTIONS \ -" fi # # # see if we need to send a form feed to eject the page from printer # if [ "$PS_SEND_EOF" = "YES" ]; then printf "\004" fi exit 0 printfilters/rpm-to-asc.fpi0100755000176500017650000000115107325345321015535 0ustar debiandebian#!/bin/sh # # convert the rpm header to a nice ASCII format for printing # qf="Name : %-27{NAME} Distribution: %{DISTRIBUTION} Version : %-27{VERSION} Vendor: %{VENDOR} Release : %-27{RELEASE} Build Date: %{BUILDTIME:date} Install date: %-27{INSTALLTIME:date} Build Host: %{BUILDHOST} Group : %-27{GROUP} Source RPM: %{SOURCERPM} Size : %{SIZE} Summary : %{SUMMARY} Description :\n%{DESCRIPTION} Files: [ %{FILENAMES}\n]\ Requires: [ %{REQUIRENAME} %{REQUIREFLAGS:depflags} %{REQUIREVERSION}\n]\ Provides: [ %{PROVIDES}\n]" rpm --qf "$qf" -qp -- - printfilters/directprint0100755000176500017650000000435307325345321015334 0ustar debiandebian#!/usr/bin/perl # Direct-to-printer (old HP Jetdirect style printers) filter # to integrate with rhs-printfilters. # Supplied by Joshua Buysse, University of Minnesota # needs perl 5.004 for IO:Socket require 5.004; # Maximum number of times to retry connection $max_retries = 3600; # at one second each, one hour. # needed for the dirname() function use File::Basename; use IO::Socket; use Cwd; # The first parameter to the script is the name of the # accounting file, in the spool directory for the printer. $acct_file = $ARGV[0]; # we need the spool_dir to pick up the config files $spool_dir = dirname($acct_file); $config_file = "$spool_dir/.config"; if (-e $config_file) { open(CONFIG, $config_file) || die "No config file found!"; while () { chomp; s/#.*//; # no comments s/^\s+//; # no leading white s/\s+$//; # no trailing white # If there's nothing left, we're done. next unless length; # split the fields my ($key,$value) = split /\s*=\s*/, $_, 2; $config{$key} = $value; } } else { # This section was added to support the newer lpd # versions that get data from printcap instead of .config. -mlp # Get queue name: if (length($spool_dir) < 2) { $spool_dir = cwd (); } $inp = `pcap -S $spool_dir`; chop $inp; eval "\$$inp"; # Get port: $inp = `pcap -P$queue:port`; chop $inp; eval "\$$inp"; # Get printer_ip: $inp = `pcap -P$queue:printer_ip`; chop $inp; eval "\$$inp"; $config{'port'} = $port; $config{'printer_ip'} = $printer_ip; } # the config hash should contain port and printer_ip as keys # if the port isn't set, use the default of 9100 $config{'port'} = 9100 unless $config{'port'}; $config{'printer_ip'} || die "Config file does not specify printer IP."; # now, open a socket to the printer. $retry_count = 0; do { $socket = IO::Socket::INET->new(PeerAddr => $config{'printer_ip'}, PeerPort => $config{'port'}, Proto => "tcp", Type => SOCK_STREAM); if (! $socket) { sleep 1; $retry_count++; } } until ($socket || ($retry_count > $max_retries)); $socket || die "Unable to open socket after $retry_count retries."; while () { print $socket $_; } close($socket); printfilters/smbprint0100755000176500017650000000510407325345321014636 0ustar debiandebian#!/bin/sh # This script is an input filter for printcap printing on a unix machine. It # uses the smbclient program to print the file to the specified smb-based # server and service. # For example you could have a printcap entry like this # # smb:lp=/dev/null:sd=/usr/spool/smb:sh:if=/usr/local/samba/smbprint # # which would create a unix printer called "smb" that will print via this # script. You will need to create the spool directory /usr/spool/smb with # appropriate permissions and ownerships for your system. # Set these to the server and service you wish to print to # In this example I have a WfWg PC called "lapland" that has a printer # exported called "printer" with no password. # # Script further altered by hamiltom@ecnz.co.nz (Michael Hamilton) # so that the server, service, and password can be read from # a /usr/var/spool/lpd/PRINTNAME/.config file. # # In order for this to work the /etc/printcap entry must include an # accounting file (af=...): # # cdcolour:\ # :cm=CD IBM Colorjet on 6th:\ # :sd=/var/spool/lpd/cdcolour:\ # :af=/var/spool/lpd/cdcolour/acct:\ # :if=/usr/local/etc/smbprint:\ # :mx=0:\ # :lp=/dev/null: # # The /usr/var/spool/lpd/PRINTNAME/.config file should contain: # share=PC_SERVER # user="user" # password="password" # # Please, do not modify the order in the file. # Example: # share=\\server\deskjet # user="fred" # password="" # # The last parameter to the filter is the accounting file name. # Extract the directory name from the file name. # Concat this with /.config to get the config file. # eval acct_file=\$$# spool_dir=`dirname $acct_file` config_file=$spool_dir/.config # Should read the following variables set in the config file: # share # hostip # user # password # find the name of the queue from the spool dir eval `pcap -S $SPOOLDIR` # # Load netware/smb config options # if [ -f "$config_file" ];then eval `cat $config_file` else eval `pcap -P$queue:share` >> /dev/null eval `pcap -P$queue:hostip` >> /dev/null eval `pcap -P$queue:user` >> /dev/null eval `pcap -P$queue:password` >> /dev/null fi share=`echo $share | sed "s/[\]/\//g"` if [ "$user" != "" ]; then usercmd="-U" else usercmd="" fi if [ "$workgroup" != "" ]; then workgroupcmd="-W" else workgroupcmd="" fi if [ "$translate" = "yes" ]; then command="translate ; print -" else command="print -" fi #echo $share $password $translate $x_command > /tmp/smbprint.log cat | /usr/bin/smbclient "$share" "$password" -E ${hostip:+-I} \ $hostip -N -P $usercmd "$user" $workgroupcmd "$workgroup" \ -c "$command" 2>/dev/null printfilters/grab-ppd.awk0100755000176500017650000000075307325345321015262 0ustar debiandebian#!/usr/bin/awk -f # set up field and record separators to bring up printcap entries split # appropriately BEGIN { FS = ":\\\\[^:graph:]+:"; RS = "[^\\\\]\n"; gar="sd=" spool "[:\\n]"; }; # There's a better way to do this, but it works. # blank? all comment? Ditch it /^[^:graph:]*[#$]/ { next } # find the printer whose spooldir was specified and print the ppdfile to stdout $0 ~ gar { for(i=1; i<=NF; i++) { if($i ~ /^ppdfile=/) { split($i, a, "="); print a[2]; } } } printfilters/master-filter0100644000176500017650000002627407402551156015567 0ustar debiandebian#!/bin/bash # # # New smart print filter # # # determines input file magic # # looks in the default filter plugin (FPI) directory # finds all *.fpi files, then finds a combination that will # yield the desired file type, or will indicate this is # impossible. # if [ -f .debug ]; then set -x exec 2>log.filter fi function filtfrom { echo -ne ${1%-to-*} } function filtto { echo -ne ${1#*-to-} } # # given filters as input vars, find next level available given the # first arg is the starting point # function nextlvl { local try local start local all local depth # # # $1 is starting point, find something that will work # start="$1" shift depth="$1" shift all="$@" # # get out of here if too deep! # if [ $depth -ge $MAX_DEPTH ]; then return 1 fi if [ $DEBUG_TREE ]; then echo "Starting point = $start" >> /tmp/filter.debug fi if [ $(filtto $start) = $DESIRED_TO ]; then echo " DONE" return 0 fi while [ $1 ]; do try=$1 shift if [ $DEBUG_TREE ]; then echo "for $start trying $try" >> /tmp/filter.debug fi if [ $(filtfrom $try) = $(filtto $start) ]; then echo -n "$start.fpi:$depth:CONT " if [ $(filtto $try) = $DESIRED_TO ]; then echo -n "$try.fpi:$((depth+1)):DONE " return 0 else # echo -n $try nextlvl $try $((depth+1)) $all # echo "|G is $G| " if [ $DEBUG_TREE ]; then echo "|rt is $?|" >> /tmp/filter.debug fi if [ "$?" = "0" ] then if [ $DEBUG_TREE ]; then echo "for $start we are done" >> /tmp/filter.debug fi # return 0 else if [ $DEBUG_TREE ]; then echo "for $start we have failed" >> /tmp/filter.debug fi return 1 fi fi fi # echo "" done } # # MAIN # # # # # setup some global variables used by this script # # # # FPIDIR points to where print filter plug-ins are stored # Normally these will be installed with a package via RPM # prefix=/tmp/test/ exec_prefix=${prefix} datadir=${prefix}/share pkgdatadir=${datadir}/printfilters libexecdir=${exec_prefix}/libexec FPIDIR=$libexecdir PATH=${FPIDIR}:${PATH} # # MAX_DEPTH determines how long a string of filters will be # tried as a possible printing solution. How many input # formats will take 6 filters to output Postscript! # Unlikely this will need to be changed. # MAX_DEPTH=6 # # define these to gets lots of feedback # output is appended on /tmp/filter.debug # DEBUG_TREE="" DEBUG_FILTER="" # # Setup variables available to all filter plug-ins # # # # SPOOLDIR is directory which lpd is spooling from # export SPOOLDIR=$(pwd) # # Get queue specific information (which was written by printtool) # # find the name of the queue from the spool dir eval `pcap -S $SPOOLDIR` # # Load general config options # if [ -f "${SPOOLDIR}/general.cfg" ];then source ${SPOOLDIR}/general.cfg else eval `pcap -P$queue:DESIRED_TO` >> /dev/null eval `pcap -P$queue:PAPERSIZE` >> /dev/null eval `pcap -P$queue:PRINTER_TYPE` >> /dev/null eval `pcap -P$queue:ASCII_TO_PS` >> /dev/null fi if [ "$DEBUG_FILTER" != "" ]; then echo "Desired print format is $DESIRED_TO" >> /tmp/filter.debug echo "Paper size is $PAPERSIZE" >> /tmp/filter.debug echo -n "A form feed will " >> /tmp/filter.debug if [ "$SEND_EOF" = "" ]; then echo "not be sent." >> /tmp/filter.debug else echo "be sent." >> /tmp/filter.debug fi fi cd $FPIDIR fpis=$(ls *.fpi 2> /dev/null | tr '\n' ' ' | sed 's/\.fpi//g') # RH 7.0 rhs-printfilter 1.81 Has this fragment of code. However, # this will only work with LPRng not LPR and so we are commenting # it out here. The point of the change seems to be to remove the # need for rewindstdin. I don't know if this was due to some bug # that they discovered or if it is just because the notion of # using something like rewindstdin is really bizarre. Other effects of this change are marked with the comment RH70. # -ben Dec 19 2000 # # let's get the name of the data file, which we can examine # # export SPOOLFILE=$(printenv CONTROL | grep -E '(^c|^f|^g|^l|^n|^o|^p|^r|^t|^v|^d)' | sed 's/.//' | head -n 1 -) # if [ -z "$SPOOLFILE" ] ; then # printf "No spool file found.\014" # exit 0 # else # SPOOLFILE=${SPOOLDIR}/${SPOOLFILE} # fi # # let's see if its a compressed file first # # # Figure out the magic of the input file # magic=$(file -) # RH70 # magic=$(file ${SPOOLFILE}) magic=${magic#*: } case `echo $magic | tr 'A-Z' 'a-z'` in # Not sure why RH removed *compress* here *packed*|*gzip* ) ${exec_prefix}/libexec/rewindstdin # RH70 removed DECOMPRESS="gzip -dc" magic=$($DECOMPRESS - | file -) magic=${magic#*: } ;; *bzip2* ) DECOMPRESS="bzip2 -dc" magic=$($DECOMPRESS ${SPOOLFILE} | file -) magic=${magic#*: } ;; * ) DECOMPRESS="";; esac ${exec_prefix}/libexec/rewindstdin # RH70 removed magic=${magic#*: } if [ "$DEBUG_FILTER" != "" ]; then echo "Magic is |$magic|" >> /tmp/filter.debug fi case `echo $magic | tr 'A-Z' 'a-z'` in *empty* ) exit;; "pc bitmap data"* ) startpnt="INPUT-to-bmp";; "gif image data"* ) startpnt="INPUT-to-gif";; "jpeg image data"* ) startpnt="INPUT-to-jpeg";; "tiff image data"* ) startpnt="INPUT-to-tiff";; "sun raster image data"* ) startpnt="INPUT-to-rast";; "pgm"*|"pbm"*|"ppm"* ) startpnt="INPUT-to-pnm";; "png"* ) startpnt="INPUT-to-png";; postscript* ) startpnt="INPUT-to-ps";; "tex dvi file"* ) startpnt="INPUT-to-dvi";; "fig image text"* ) startpnt="INPUT-to-fig";; # troff is safe again with groff-1.11a or later we hope "troff or preprocessor"* ) startpnt="INPUT-to-troff";; "rpm"* ) startpnt="INPUT-to-rpm";; *ascii*|*text*|*english*|*script* ) startpnt="INPUT-to-asc";; *data*|*escape* ) startpnt="INPUT-to-prdata";; *pcl* ) startpnt="INPUT-to-prdata";; * ) startpnt="INPUT-to-unknown";; esac # # here is where we could put in hook to call user routine(s) to # handle extra magics they've defined filters for # # call_user_magic_hook() # if [ "$DEBUG_FILTER" != "" ]; then echo "Type of file is $startpnt" >> /tmp/filter.debug fi if [ "$startpnt" = "Dont know" ]; then echo "Error - input file type is unknown - cannot print" exit 1 fi # # catch some easy cases without having to figure out best path the hard way # bestpath="" foundbest="NO" if [ $(filtto $startpnt) = "asc" ]; then if [ "$ASCII_TO_PS" = "NO" ]; then bestpath="$startpnt | asc-to-printer.fpi" foundbest="YES" fi elif [ $(filtto $startpnt) = "prdata" ]; then bestpath="$startpnt | cat -" foundbest="YES" elif [ $(filtto $startpnt) = $DESIRED_TO ]; then bestpath="$startpnt | $DESIRED_TO-to-printer.fpi" foundbest="YES" fi if [ "$foundbest" != "YES" ]; then # # we go through and find best path # G=`nextlvl "$startpnt" "0" $fpis` if [ "$DEBUG_FILTER" != "" ]; then echo "$G" >> /tmp/filter.debug fi # # now sort out the best path of all available # # # if no processing required, depth will equal 'DONE' # if [ "${G# *}" != "DONE" ]; then root="" bestdepth=$((MAX_DEPTH*2)) bestpath="" curdepth="0" depth="0" foundbest="NO" for i in $G; do entry=${i%%:*} depth=${i#*:} depth=${depth%:*} if [ $depth -le $curdepth ]; then while [ $(($depth <= $curdepth && $curdepth >= 0)) -eq 1 ]; do root=${root%* | *} curdepth=$(($curdepth - 1)) done fi if [ $(($curdepth < 0)) -eq 1 ]; then root="" fi curdepth=$depth if [ "$root" = "" ]; then root="$entry" else root="$root | $entry" fi if [ ${i##*:} = "DONE" ]; then if [ "$DEBUG_FILTER" != "" ]; then echo "$root -> depth = $depth" >> /tmp/filter.debug fi if [ $depth -lt $bestdepth ]; then foundbest="YES" bestdepth=$depth bestpath=$root fi fi done fi if [ "$foundbest" = "YES" ]; then bestpath="$bestpath | $DESIRED_TO-to-printer.fpi" fi # # end of doing it the hard way # fi # # we have to add filter to convert desired format to something the # printer can handle. May be as simple as 'cat' # # # ok we got here, and if input data magic is 'data' we'll let it # through, hoping it really will work on the printer! # Note we still reject lots of magics, like ELF, by doing this # which is what we want # # # getting bad, but trapping all "special" cases here # # if [ "$foundbest" = "NO" ]; then printf "No way to print this type of input file: $magic \014" exit 0 else # # fix up the best path so we can run it # if [ "$DECOMPRESS" = "" ]; then bestpath="cat - ${bestpath#* }" else bestpath="$DECOMPRESS ${bestpath#* }" fi fi # # any post-filter to run (like smbclient?) # if [ "$PRINTER_TYPE" = "SMB" ]; then bestpath="$bestpath | ${FPIDIR}/smbprint ${SPOOLDIR}/acct" elif [ "$PRINTER_TYPE" = "NCP" ]; then bestpath="$bestpath | ${FPIDIR}/ncpprint ${SPOOLDIR}/acct" elif [ "$PRINTER_TYPE" = "DIRECT" ]; then bestpath="$bestpath | ${FPIDIR}/directprint ${SPOOLDIR}/acct" elif [ "$PRINTER_TYPE" = "ATALK" ]; then PNAME="`cat ${SPOOLDIR}/.paprc`" bestpath="$bestpath | /usr/bin/pap -p $PNAME" fi if [ "$DEBUG_FILTER" != "" ]; then echo "Best path of depth $bestdepth is $bestpath" >> /tmp/filter.debug fi # # run the command! # eval $bestpath 2>/tmp/evillog # # # see if we need to send a form feed to eject the page from printer # # if [ "$SEND_EOF" != "" ]; then # printf "\014" # fi exit 0 printfilters/testpage.fig0100644000176500017650000000570507325345321015364 0ustar debiandebian#FIG 3.1 Portrait Center Inches 1200 2 6 2700 1800 6900 2700 4 1 -1 0 0 18 18 0.0000 4 210 3765 4800 2100 This is the Red Hat Printtool \001 4 1 -1 0 0 18 18 0.0000 4 270 2775 4800 2445 PostScript Test Page\001 -6 6 2400 7200 7200 8100 2 2 0 1 -1 10 0 0 20 0.000 0 0 -1 0 0 5 2400 7200 3000 7200 3000 7500 2400 7500 2400 7200 2 2 0 1 -1 6 0 0 20 0.000 0 0 -1 0 0 5 3600 7200 4200 7200 4200 7500 3600 7500 3600 7200 2 2 0 1 -1 5 0 0 20 0.000 0 0 -1 0 0 5 4200 7200 4800 7200 4800 7500 4200 7500 4200 7200 2 2 0 1 -1 26 0 0 20 0.000 0 0 -1 0 0 5 4800 7200 5400 7200 5400 7500 4800 7500 4800 7200 2 2 0 1 -1 31 0 0 20 0.000 0 0 -1 0 0 5 5400 7200 6000 7200 6000 7500 5400 7500 5400 7200 2 2 0 1 -1 3 0 0 20 0.000 0 0 -1 0 0 5 6000 7200 6600 7200 6600 7500 6000 7500 6000 7200 2 2 0 1 -1 20 0 0 20 0.000 0 0 -1 0 0 5 3000 7200 3600 7200 3600 7500 3000 7500 3000 7200 2 2 0 1 -1 2 0 0 20 0.000 0 0 -1 0 0 5 6600 7200 7200 7200 7200 7500 6600 7500 6600 7200 4 1 -1 0 0 18 10 0.0000 4 120 465 5100 7800 Brown\001 4 1 -1 0 0 18 10 0.0000 4 120 345 5700 7800 Gold\001 4 1 -1 0 0 18 10 0.0000 4 120 450 6900 7800 Green\001 4 1 -1 0 0 18 10 0.0000 4 120 525 3900 7800 Yellow\001 4 1 -1 0 0 18 10 0.0000 4 120 285 3300 7800 Red\001 4 1 -1 0 0 18 10 0.0000 4 120 330 2700 7800 Blue\001 4 1 -1 0 0 18 10 0.0000 4 150 480 4500 7800 Purple\001 4 1 -1 0 0 18 10 0.0000 4 150 390 6300 7800 Cyan\001 -6 2 2 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 5 600 600 9600 600 9600 12600 600 12600 600 600 2 2 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 5 1200 1200 9000 1200 9000 12000 1200 12000 1200 1200 2 5 0 1 -1 -1 0 0 -1 0.000 0 0 -1 0 0 5 0 redhat-logo-new.gif 2925 3135 6675 3135 6675 4500 2925 4500 2925 3135 4 0 -1 0 0 0 12 0.0000 4 135 300 4800 12375 0.5"\001 4 0 -1 0 0 0 12 0.0000 4 135 300 4725 900 0.5"\001 4 0 -1 0 0 0 12 0.0000 4 135 165 4800 11850 1"\001 4 0 -1 0 0 0 12 0.0000 4 135 165 4800 1500 1"\001 4 0 -1 0 0 0 12 0.0000 4 135 300 750 7500 0.5"\001 4 0 -1 0 0 0 12 0.0000 4 135 165 1350 7500 1"\001 4 0 -1 0 0 0 12 0.0000 4 135 165 8700 7500 1"\001 4 0 -1 0 0 0 12 0.0000 4 135 300 9225 7500 0.5"\001 4 1 -1 0 0 18 18 0.0000 4 270 3495 4800 5040 This logo has a red hat, so\001 4 1 -1 0 0 18 18 0.0000 4 270 4110 4800 5385 if your printer is configured for\001 4 1 -1 0 0 18 18 0.0000 4 210 2940 4800 5730 color it should be red!\001 4 1 -1 0 0 18 18 0.0000 4 270 4335 4800 6420 Here are some other colors; they\001 4 1 -1 0 0 18 18 0.0000 4 270 5175 4800 6765 will appear as greys on a B&W printer...\001 4 1 -1 0 0 18 18 0.0000 4 270 3270 4800 9225 are spaced at 0.5" and 1"\001 4 1 -1 0 0 18 18 0.0000 4 270 4095 4800 8880 The boxes bordering this page\001 4 1 -1 0 0 18 18 0.0000 4 270 3690 4800 9600 from the sides of the paper.\001 4 1 -1 0 0 18 18 0.0000 4 270 5610 4800 10500 It is not unusual for the 0.5" bottom margin\001 4 1 -1 0 0 18 18 0.0000 4 270 4470 4800 10845 not to show. Many printers cannot\001 4 1 -1 0 0 18 18 0.0000 4 270 5520 4800 11190 print that close to the bottom of the page.\001 printfilters/testpage-a4.fig0100644000176500017650000000565107325345321015666 0ustar debiandebian#FIG 3.1 Portrait Center Metric 1200 2 6 2250 7200 7200 8100 2 2 0 1 -1 10 0 0 20 0.000 0 0 -1 0 0 5 2250 7200 2869 7200 2869 7500 2250 7500 2250 7200 2 2 0 1 -1 6 0 0 20 0.000 0 0 -1 0 0 5 3488 7200 4106 7200 4106 7500 3488 7500 3488 7200 2 2 0 1 -1 5 0 0 20 0.000 0 0 -1 0 0 5 4106 7200 4725 7200 4725 7500 4106 7500 4106 7200 2 2 0 1 -1 26 0 0 20 0.000 0 0 -1 0 0 5 4725 7200 5344 7200 5344 7500 4725 7500 4725 7200 2 2 0 1 -1 31 0 0 20 0.000 0 0 -1 0 0 5 5344 7200 5963 7200 5963 7500 5344 7500 5344 7200 2 2 0 1 -1 3 0 0 20 0.000 0 0 -1 0 0 5 5963 7200 6581 7200 6581 7500 5963 7500 5963 7200 2 2 0 1 -1 20 0 0 20 0.000 0 0 -1 0 0 5 2869 7200 3488 7200 3488 7500 2869 7500 2869 7200 2 2 0 1 -1 2 0 0 20 0.000 0 0 -1 0 0 5 6581 7200 7200 7200 7200 7500 6581 7500 6581 7200 4 1 -1 0 0 18 10 0.0000 4 120 465 5034 7800 Brown\001 4 1 -1 0 0 18 10 0.0000 4 120 345 5653 7800 Gold\001 4 1 -1 0 0 18 10 0.0000 4 120 450 6891 7800 Green\001 4 1 -1 0 0 18 10 0.0000 4 120 525 3797 7800 Yellow\001 4 1 -1 0 0 18 10 0.0000 4 120 285 3178 7800 Red\001 4 1 -1 0 0 18 10 0.0000 4 120 330 2559 7800 Blue\001 4 1 -1 0 0 18 10 0.0000 4 150 480 4416 7800 Purple\001 4 1 -1 0 0 18 10 0.0000 4 150 390 6272 7800 Cyan\001 -6 2 2 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 5 450 450 9000 450 9000 12915 450 12915 450 450 2 2 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 5 900 900 8550 900 8550 12465 900 12465 900 900 2 5 0 1 -1 -1 0 0 -1 0.000 0 0 -1 0 0 5 0 redhat-logo-new.gif 2700 2880 6750 2880 6750 4500 2700 4500 2700 2880 4 1 -1 0 0 0 12 0.0000 4 135 315 4725 1095 2cm\001 4 1 -1 0 0 0 12 0.0000 4 135 315 4725 12825 1cm\001 4 1 -1 0 0 0 12 0.0000 4 135 315 4725 12345 2cm\001 4 1 -1 0 0 0 12 0.0000 4 135 315 1110 7485 2cm\001 4 1 -1 0 0 0 12 0.0000 4 135 315 675 7485 1cm\001 4 1 -1 0 0 0 12 0.0000 4 135 315 8310 7485 2cm\001 4 1 -1 0 0 0 12 0.0000 4 135 315 8820 7485 1cm\001 4 1 -1 0 0 18 18 0.0000 4 270 3495 4725 5040 This logo has a red hat, so\001 4 1 -1 0 0 18 18 0.0000 4 270 4110 4725 5385 if your printer is configured for\001 4 1 -1 0 0 18 18 0.0000 4 210 2940 4725 5730 color it should be red!\001 4 1 -1 0 0 18 18 0.0000 4 270 4335 4725 6420 Here are some other colors; they\001 4 1 -1 0 0 18 18 0.0000 4 270 5175 4725 6765 will appear as greys on a B&W printer...\001 4 1 -1 0 0 18 18 0.0000 4 270 3555 4725 9225 are spaced at 1cm and 2cm\001 4 1 -1 0 0 18 18 0.0000 4 270 4095 4725 8880 The boxes bordering this page\001 4 1 -1 0 0 18 18 0.0000 4 270 3690 4725 9600 from the sides of the paper.\001 4 1 -1 0 0 18 18 0.0000 4 270 5640 4725 10500 It is not unusual for the 1cm bottom margin\001 4 1 -1 0 0 18 18 0.0000 4 270 4470 4725 10845 not to show. Many printers cannot\001 4 1 -1 0 0 18 18 0.0000 4 270 5520 4725 11190 print that close to the bottom of the page.\001 4 1 -1 0 0 18 18 0.0000 4 210 3690 4725 2100 This is the Red Hat Printtool\001 4 1 -1 0 0 18 18 0.0000 4 270 3405 4725 2445 PostScript Test Page (A4)\001 4 1 -1 0 0 0 12 0.0000 4 135 315 4725 630 1cm\001 printfilters/redhat-logo-new.gif0100644000176500017650000000342007325345321016534 0ustar debiandebianGIF89a[1!1)1){{{xxxssscccRBBB9!,[ dihN徯5tmx|@@+rl:QHѬvD-h\x̮xvݮS6{xVuXQ}T    V@tG n4`b¢  Tl ՘ ԡ cl.bym ۲ lhu2R-vb[xd 4ǠD^`F&I(vĪMScCɛAw$=}mjáX3aLjO#u3!)eM`U0)X#][b#giaKVΥm:N/YĴjRuSE"̮9:6+lܖ#+ü3-~~wVk2M}a3R.L0z8#&.3enQh+ ljPI ]> CޓHT8xTw~80E^,@^^f,A0 ]@^<d}`cDtaH$Ђ[?ܽ1|S \d`!8@QGZ|e OBPDe}19ֱ7Xl$ ć5YFEMJtHU(Y0W",- V;\!`L)"lc=@0 * Q"5Df2EUl'CLlbp Ǎ%5F)VA=Lg2;FZxV@bp^ yE> | 6ɬ1(A)Cbe G&7U{0$Sɦ+ ̥.;;$=t~]ӘYaK84WiJ_Β0]s[5۠Ll4epϋ9NW0%9\L'(@{h@{y`hts*t *+jыzF(43Sxw[+ڏC%*ScN!UU1Un]Wo͍(eYֵn Izn5^^׾ `;printfilters/tests/0042755000176500017650000000000007403301123014206 5ustar debiandebianprintfilters/tests/Makefile.in0100644000176500017650000001056707403301123016257 0ustar debiandebian# Makefile.in generated automatically by automake 1.4 from Makefile.am # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : AWK = @AWK@ CC = @CC@ HAVE_FIG2DEV = @HAVE_FIG2DEV@ LN_S = @LN_S@ MAKEINFO = @MAKEINFO@ PACKAGE = @PACKAGE@ TESTSCRIPTS = @TESTSCRIPTS@ VERSION = @VERSION@ WARNS = @WARNS@ check_SCRIPTS = @TESTSCRIPTS@ EXTRA_SCRIPTS = CLEANFILES = $(check_SCRIPTS) SUFFIXES = .m4 .sh mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = DIST_COMMON = Makefile.am Makefile.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: .SUFFIXES: .m4 .sh $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps tests/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status tags: TAGS TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) subdir = tests distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am $(MAKE) $(AM_MAKEFLAGS) $(check_SCRIPTS) check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-exec: install-exec-am install-data-am: install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall: uninstall-am all-am: Makefile all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-generic clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am .PHONY: tags distdir info-am info dvi-am dvi check check-am \ installcheck-am installcheck install-exec-am install-exec \ install-data-am install-data install-am install uninstall-am uninstall \ all-redirect all-am all installdirs mostlyclean-generic \ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean %.sh: %.m4 stdlib.mc m4 -P $< > $@ chmod 755 $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: printfilters/tests/Makefile.am0100644000176500017650000000022107325345321016243 0ustar debiandebiancheck_SCRIPTS= @TESTSCRIPTS@ EXTRA_SCRIPTS= CLEANFILES= $(check_SCRIPTS) SUFFIXES= .m4 .sh %.sh: %.m4 stdlib.mc m4 -P $< > $@ chmod 755 $@ printfilters/printfilters.spec0100644000176500017650000001271407403301123016445 0ustar debiandebian%define name printfilters %define version 2.13 %define rel 2 %define prefix /usr # see the configure.in for a note on version numbers Name: %{name} Version: %{version} Release: %{rel} Summary: Print filters, for use with the gnulpr and printtool. Copyright: GPL Group: Applications/Publishing Source0: %{name}-%{version}.tar.gz Requires: mpage >= 2.4, lpr >= 0.70, ghostscript >= 5.10, file, libprintsys, ppdfilt Buildroot: /var/tmp/printfilters-root # # these conflcts exists because Dr Mike changes the location of the filters # and because Ben changed the name of the package. # Conflicts: libgr-progs < 2.0.9-7, rhs-printfilters, vine-printfilters %description The rhs-printfilters package contains a set of print filters which are primarily meant to be used with the Red Hat printtool. These print filters provide an easy way for users to handle printing numerous file formats. %prep %setup %build ./configure --prefix=%{_prefix} make %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_prefix} make DESTDIR="$RPM_BUILD_ROOT" install # strip $RPM_BUILD_ROOT/usr/lib/rhs/rhs-printfilters/rewindstdin find "$RPM_BUILD_ROOT" -type f -print \ | sed -e "s@^${RPM_BUILD_ROOT}@@" > rpm.filelist %clean rm -rf $RPM_BUILD_ROOT %files -f rpm.filelist %defattr(-,root,root) %changelog * Mon Jun 4 2001 Ben Woodard - Added a dependency on ppdfilt. * Fri Jun 1 2001 Ben Woodard - Added a conflict with vine-printfilters so that red-carpet would work properly with turbo. * Wed May 23 2001 Ben Woodard - tweaked with the dependencies now that it depends on libprintsys * Tue Dec 19 2000 Ben Woodard - merged in changes from rh 1.81 version * Fri Apr 21 2000 Ben Woodard - forked from the rh 1.63 version * Mon Feb 28 2000 Bill Nottingham - add a couple more lexmarks now in gs5.50 * Thu Feb 17 2000 Bill Nottingham - fix wrong driver for laserjet plus * Mon Feb 14 2000 Bill Nottingham - ooops, put ppaprint in the filelist - add some gs-5.50 mappings * Fri Feb 11 2000 Bill Nottingham - pnm2ppa support - fix problem with rewindstdin * Wed Jan 26 2000 Bill Nottingham - add stylus color 740 to printerdb * Mon Nov 8 1999 Bill Nottingham - revert ps-to-printer tempfile usage. There has to be a better way to do this. * Wed Jul 21 1999 Bill Nottingham - munge smbprint Yet Again(tm) * Thu Jul 8 1999 Bill Nottingham - make printerdb config(noreplace) * Thu Jul 1 1999 Bill Nottingham - add more drivers * Fri Jun 18 1999 Bill Nottingham - fix rpm printing * Mon Jun 14 1999 Bill Nottingham - use smbclient's -c command. Makes much more sense. * Mon May 24 1999 Bill Nottingham - hmm. The translate option went away at some point. Oops. * Mon May 3 1999 Bill Nottingham - yet another typo in SMB stuff. Urg. * Mon Apr 5 1999 Bill Nottingham - strip binaries * Thu Apr 1 1999 Bill Nottingham - fix some printerdb stuff for ghostscript brokenness * Fri Mar 19 1999 Bill Nottingham - remove some oboslete text * Mon Feb 8 1999 Bill Nottingham - uniprint support * Tue Dec 29 1998 Bill Nottingham - add workaround for Adobe(!) postscript driver * Mon Dec 28 1998 Bill Nottingham - remove 1bpp from cdj-based drivers, 'cos it's broken. * Wed Nov 18 1998 Bill Nottingham - add workgroup support to smbprint, fix quoting issues * Wed Sep 30 1998 Bill Nottingham - fix typo in ncpprint * Wed Sep 15 1998 Bill Nottingham - Added ncpprint to %files section (oops!) * Thu Sep 2 1998 Bill Nottingham - Added NCP printing support * Tue Jun 30 1998 Michael Maher - Fixed BUG 703, added findutils dependecy. - Added buildroot. * Fri May 08 1998 Prospector System - translations modified for de, fr, tr * Wed Oct 22 1997 Michael Fulbright - Fixed printerdb to include 300x300 resolution for LaserJet 4 models - Restored troff file handling now troff fpi is 'safe' * Tue Oct 14 1997 Michael Fulbright - Fixed master-filter to NOT handle troff files automatically * Thu Jul 31 1997 Erik Troan - built against glibc * Wed Apr 23 1997 Michael Fulbright - Fixed problem with asc-to-printer.fpi not handling cr/lf trans correct * Fri Apr 18 1997 Michael Fulbright - fixed up Canon 600/4000 printerdb def - added some HP Deskjets which I know work * Thu Apr 10 1997 Michael Fulbright - Added requirement that gs is installed. Pretty useless w/o it if you print anything interesting. * Fri Mar 13 1997 Michael Fulbright - Added conflicts so that packages with old filter loc won't hurt us. - Moved to version 1.2. - Added mpage support to allow nup printing. * Wed Mar 13 1997 Michael Fulbright - Added a DeskJet500Mono driver which links to the gs driver djet500. - Added a A4 paper size test page. - Fixed Makefile to build .ps test pages from the .fig files. * Mon Mar 10 1997 Michael Fulbright - Split filters off from printtool into this package .