From 9de41ae691d38a1741ec78d1f49c2b3536ac4f42 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Sun, 29 Oct 2000 22:43:25 +0000 Subject: [PATCH] configure.in plug-ins/print/Makefile.am added framework for a manpage 2000-10-29 Sven Neumann * configure.in * plug-ins/print/Makefile.am * plug-ins/print/escputil.1.in: added framework for a manpage describing our new tool, escputil. Someone needs to fill in some descriptive words here... * gimp.spec.in: * debian/gimp1.1.files: added entries for escputil and escputil.1 --- ChangeLog | 11 +++++ configure.in | 6 +++ debian/gimp1.1.files | 5 ++ gimp.spec.in | 3 ++ plug-ins/print/.cvsignore | 1 + plug-ins/print/Makefile.am | 12 ++++- plug-ins/print/escputil-1.2.1.in | 84 ++++++++++++++++++++++++++++++++ plug-ins/print/escputil-1.3.1.in | 84 ++++++++++++++++++++++++++++++++ plug-ins/print/escputil.1.in | 84 ++++++++++++++++++++++++++++++++ 9 files changed, 288 insertions(+), 2 deletions(-) create mode 100644 plug-ins/print/escputil-1.2.1.in create mode 100644 plug-ins/print/escputil-1.3.1.in create mode 100644 plug-ins/print/escputil.1.in diff --git a/ChangeLog b/ChangeLog index 469ecb2eb7..d9650a83f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2000-10-29 Sven Neumann + + * configure.in + * plug-ins/print/Makefile.am + * plug-ins/print/escputil.1.in: added framework for a manpage + describing our new tool, escputil. Someone needs to fill in + some descriptive words here... + + * gimp.spec.in: + * debian/gimp1.1.files: added entries for escputil and escputil.1 + 2000-10-29 Michael Natterer * plug-ins/print/escputil.c diff --git a/configure.in b/configure.in index ddbf707068..1d8c91dbf6 100644 --- a/configure.in +++ b/configure.in @@ -536,6 +536,9 @@ if test $ac_cv_path_SENDMAIL != ":"; then fi dnl This is for the print plug-in +GIMP_PRINT_VERSION="4.0.0" +GIMP_PRINT_RELEASE_DATE="28\ Oct\ 2000" + lp_path=":" AC_ARG_ENABLE(lp_path, [ --with-lp=DIR set lp command location], if eval "test x$with_lp != x"; then @@ -736,6 +739,8 @@ AC_SUBST(GAP_DECODE_MPEG) AC_SUBST(XPM) AC_SUBST(LIBXPM) AC_SUBST(LIBUCB) +AC_SUBST(GIMP_PRINT_VERSION) +AC_SUBST(GIMP_PRINT_RELEASE_DATE) AC_SUBST(LP_DEF) AC_SUBST(LPSTAT_DEF) AC_SUBST(LPR_DEF) @@ -816,6 +821,7 @@ plug-ins/maze/Makefile plug-ins/mosaic/Makefile plug-ins/pagecurl/Makefile plug-ins/print/Makefile +plug-ins/print/escputil.1 plug-ins/rcm/Makefile plug-ins/sel2path/Makefile plug-ins/sgi/Makefile diff --git a/debian/gimp1.1.files b/debian/gimp1.1.files index 1317296845..71f6716edd 100644 --- a/debian/gimp1.1.files +++ b/debian/gimp1.1.files @@ -6,4 +6,9 @@ usr/share/locale usr/share/gimp/ etc/ usr/bin/gimp +usr/bin/gimp-remote +usr/bin/escputil usr/share/man/man1/gimp.1 +usr/share/man/man1/gimp-remote.1 +usr/share/man/man1/escputil.1 + diff --git a/gimp.spec.in b/gimp.spec.in index a354c215cd..e65950fa50 100644 --- a/gimp.spec.in +++ b/gimp.spec.in @@ -201,13 +201,16 @@ cat gimp-perl gimp-perl-plugin-files > gimp-perl-files %{prefix}/bin/gimp %{prefix}/bin/gimp-remote %{prefix}/bin/embedxpm +%{prefix}/bin/escputil %{prefix}/bin/gimpdoc %{prefix}/bin/xcftopnm %defattr (0444, bin, man) %{prefix}/man/man1/gimp.1* %{prefix}/man/man1/gimp-remote.1* +%{prefix}/man/man1/escputil.1.* %{prefix}/man/man5/gimprc.5* +%{prefix}/man/man1/ %files devel %defattr (0555, bin, bin, 0555) diff --git a/plug-ins/print/.cvsignore b/plug-ins/print/.cvsignore index 39e273b681..5cff1a3eca 100644 --- a/plug-ins/print/.cvsignore +++ b/plug-ins/print/.cvsignore @@ -5,3 +5,4 @@ _libs .libs print escputil +escputil.1 diff --git a/plug-ins/print/Makefile.am b/plug-ins/print/Makefile.am index 4631820e1b..8ae7ddfe01 100644 --- a/plug-ins/print/Makefile.am +++ b/plug-ins/print/Makefile.am @@ -1,5 +1,11 @@ ## Process this file with automake to produce Makefile.in + +## When updating gimp-print, do not forget to update +## GIMP_PRINT_VERSION and GIMP_PRINT_RELEASE_DATE +## in the toplevel configure.in !! + + libexecdir = $(gimpplugindir)/plug-ins EXTRA_DIST = print-printers.c @@ -28,6 +34,8 @@ print_SOURCES = \ escputil_SOURCES = escputil.c +man_MANS = escputil.1 + INCLUDES = \ -I$(top_srcdir) \ $(GTK_CFLAGS) \ @@ -39,8 +47,8 @@ AM_CPPFLAGS = \ @LPSTAT_DEF@ \ @LPR_DEF@ \ @LPC_DEF@ \ - -DVERSION=\"4.0.0\" \ - -DRELEASE_DATE=\"28\ Oct\ 2000\" + -DVERSION=\"$(GIMP_PRINT_VERSION)\" \ + -DRELEASE_DATE=\"$(GIMP_PRINT_RELEASE_DATE)\" LDADD = \ $(top_builddir)/libgimp/libgimpui.la \ diff --git a/plug-ins/print/escputil-1.2.1.in b/plug-ins/print/escputil-1.2.1.in new file mode 100644 index 0000000000..9acdbfda63 --- /dev/null +++ b/plug-ins/print/escputil-1.2.1.in @@ -0,0 +1,84 @@ +.TH ESCPUTIL 1 @GIMP_PRINT_RELEASE_DATE@ "Version @GIMP_PRINT_VERSION@" "GIMP Manual Pages" +.SH NAME +escputil - tune Epson printers +.SH SYNOPSIS +.B escputil [\-P printer \| \-r device] [\-m model] [\-u] +[\-c \| \-n | \-a \| \-i] [\-q] + +.SH DESCRIPTION +.PP +\fIescputil\fP is part of the gimp-print package. +It does things with your Epson printer. +.PP +Please fill in more info here. + +.SH OPTIONS +.l +\fIescputil\fP accepts the following options: +.TP 8 +.B \-P, \-\-printer-name \fI\fP +Specify the name of the printer to operate on. +Default is the default system printer. +.TP 8 +.B \-r, \-\-raw-device \fI\fP +Specify the name of the device to write to directly +rather than going through a printer queue. +.TP 8 +.B \-c, \-\-clean-head +Clean the print head. +.TP 8 +.B \-n, \-\-nozzle-check +Print a nozzle test pattern. +Dirty or clogged nozzles will show as gaps in the +pattern. If you see any gaps, you should run a +head cleaning pass. +.TP 8 +.B \-a, \-\-align-head +Align the print head. CAUTION: Misuse of this +utility may result in poor print quality and/or +damage to the printer. +.TP 8 +.B \-i, \-\-ink-level +Obtain the ink level from the printer. This requires +read/write access to the raw printer device. +.TP 8 +.B \-d, \-\-identify +Query the printer for make and model information. +This requires read/write access to the raw printer +device. +.TP 8 +.B \-u +The printer is connected via USB. +.TP 8 +.B \-h, \-\-help +Display a list of all commandline options. +.TP 8 +.B \-q, \-\-quiet +Suppress the banner. +.TP 8 +.B \-m +Specify the precise printer model for head alignment. + +.SH COPYRIGHT +Copyright \(co 2000 Robert Krawitz (rlk@alum.mit.edu) + +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. + +.SH OTHER INFO + +The canonical place to find GIMP info is at http://www.gimp.org/. +The homepage of the gimp-print project from which this utility was +contributed is located at http://gimp-print.sourceforge.net/. + +.SH AUTHORS +Robert Krawitz. + +.SH BUGS +This manpage sucks. Fix it if you can. + +.SH "SEE ALSO" +.BR gimp (1) + diff --git a/plug-ins/print/escputil-1.3.1.in b/plug-ins/print/escputil-1.3.1.in new file mode 100644 index 0000000000..9acdbfda63 --- /dev/null +++ b/plug-ins/print/escputil-1.3.1.in @@ -0,0 +1,84 @@ +.TH ESCPUTIL 1 @GIMP_PRINT_RELEASE_DATE@ "Version @GIMP_PRINT_VERSION@" "GIMP Manual Pages" +.SH NAME +escputil - tune Epson printers +.SH SYNOPSIS +.B escputil [\-P printer \| \-r device] [\-m model] [\-u] +[\-c \| \-n | \-a \| \-i] [\-q] + +.SH DESCRIPTION +.PP +\fIescputil\fP is part of the gimp-print package. +It does things with your Epson printer. +.PP +Please fill in more info here. + +.SH OPTIONS +.l +\fIescputil\fP accepts the following options: +.TP 8 +.B \-P, \-\-printer-name \fI\fP +Specify the name of the printer to operate on. +Default is the default system printer. +.TP 8 +.B \-r, \-\-raw-device \fI\fP +Specify the name of the device to write to directly +rather than going through a printer queue. +.TP 8 +.B \-c, \-\-clean-head +Clean the print head. +.TP 8 +.B \-n, \-\-nozzle-check +Print a nozzle test pattern. +Dirty or clogged nozzles will show as gaps in the +pattern. If you see any gaps, you should run a +head cleaning pass. +.TP 8 +.B \-a, \-\-align-head +Align the print head. CAUTION: Misuse of this +utility may result in poor print quality and/or +damage to the printer. +.TP 8 +.B \-i, \-\-ink-level +Obtain the ink level from the printer. This requires +read/write access to the raw printer device. +.TP 8 +.B \-d, \-\-identify +Query the printer for make and model information. +This requires read/write access to the raw printer +device. +.TP 8 +.B \-u +The printer is connected via USB. +.TP 8 +.B \-h, \-\-help +Display a list of all commandline options. +.TP 8 +.B \-q, \-\-quiet +Suppress the banner. +.TP 8 +.B \-m +Specify the precise printer model for head alignment. + +.SH COPYRIGHT +Copyright \(co 2000 Robert Krawitz (rlk@alum.mit.edu) + +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. + +.SH OTHER INFO + +The canonical place to find GIMP info is at http://www.gimp.org/. +The homepage of the gimp-print project from which this utility was +contributed is located at http://gimp-print.sourceforge.net/. + +.SH AUTHORS +Robert Krawitz. + +.SH BUGS +This manpage sucks. Fix it if you can. + +.SH "SEE ALSO" +.BR gimp (1) + diff --git a/plug-ins/print/escputil.1.in b/plug-ins/print/escputil.1.in new file mode 100644 index 0000000000..9acdbfda63 --- /dev/null +++ b/plug-ins/print/escputil.1.in @@ -0,0 +1,84 @@ +.TH ESCPUTIL 1 @GIMP_PRINT_RELEASE_DATE@ "Version @GIMP_PRINT_VERSION@" "GIMP Manual Pages" +.SH NAME +escputil - tune Epson printers +.SH SYNOPSIS +.B escputil [\-P printer \| \-r device] [\-m model] [\-u] +[\-c \| \-n | \-a \| \-i] [\-q] + +.SH DESCRIPTION +.PP +\fIescputil\fP is part of the gimp-print package. +It does things with your Epson printer. +.PP +Please fill in more info here. + +.SH OPTIONS +.l +\fIescputil\fP accepts the following options: +.TP 8 +.B \-P, \-\-printer-name \fI\fP +Specify the name of the printer to operate on. +Default is the default system printer. +.TP 8 +.B \-r, \-\-raw-device \fI\fP +Specify the name of the device to write to directly +rather than going through a printer queue. +.TP 8 +.B \-c, \-\-clean-head +Clean the print head. +.TP 8 +.B \-n, \-\-nozzle-check +Print a nozzle test pattern. +Dirty or clogged nozzles will show as gaps in the +pattern. If you see any gaps, you should run a +head cleaning pass. +.TP 8 +.B \-a, \-\-align-head +Align the print head. CAUTION: Misuse of this +utility may result in poor print quality and/or +damage to the printer. +.TP 8 +.B \-i, \-\-ink-level +Obtain the ink level from the printer. This requires +read/write access to the raw printer device. +.TP 8 +.B \-d, \-\-identify +Query the printer for make and model information. +This requires read/write access to the raw printer +device. +.TP 8 +.B \-u +The printer is connected via USB. +.TP 8 +.B \-h, \-\-help +Display a list of all commandline options. +.TP 8 +.B \-q, \-\-quiet +Suppress the banner. +.TP 8 +.B \-m +Specify the precise printer model for head alignment. + +.SH COPYRIGHT +Copyright \(co 2000 Robert Krawitz (rlk@alum.mit.edu) + +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. + +.SH OTHER INFO + +The canonical place to find GIMP info is at http://www.gimp.org/. +The homepage of the gimp-print project from which this utility was +contributed is located at http://gimp-print.sourceforge.net/. + +.SH AUTHORS +Robert Krawitz. + +.SH BUGS +This manpage sucks. Fix it if you can. + +.SH "SEE ALSO" +.BR gimp (1) +