From: Nick U. <ni...@vt...> - 2000-02-28 14:59:42
|
Robert L Krawitz wrote: > Date: Sun, 27 Feb 2000 23:08:09 +0800 > From: Nick Urbanik <ni...@vt...> > > As you say, it's really slow, so I downloaded and compiled 3.1, excited by > the prospect of support for our Epson 440, and by begin able to print an > A4 photo in less than 2.5 hours!!! > > However, I've been singularly unsuccessful. > System: Red Hat 6.1 with all updates, now gimp 1.0 removed, gimp 1.1.17 > working, PIII. > > When compiling it together with gimp 1.1.17, the make stopped at print. > Note that print is a link to print-3.1.0 (is that okay?) > > It's intended to build standalone. You should simply unpack it, run > ./configure, and make. Okay, thanks. But still get problems mentioned next. > I ran ./configure in print, then make, and it compiled. I tried printing > with 440 driver: no printer recognised, only File (the LPC_DEF and > LPR_DEF names were undefined, as you see below) > So I tried printing to file. Never stopped. Hmm, this has been such a > long saga, I'm getting a bit misty on the order of my misfortune. A more > recent try resulted in feeding many pages through the printer, with one > page getting a line or two of coloured text. I was using the 440 printer > with high quality setting. > > Next, I edited my makefile, added the stuff for the printer that was > missing: > > That's not the right place to fix this; we need to somehow fix it in > configure.in. True. It seems broken in 3.1.0, but works in 3.1.1 (from today's CVS). But actually, it is still broken in today's CVS: I applied the following patch to allow compiling: --- Makefile~ Mon Feb 28 22:03:48 2000 +++ Makefile Mon Feb 28 22:13:55 2000 @@ -69,10 +69,10 @@ LPC_PROG = /usr/sbin/lpc LPR_DEF = -DLPR_COMMAND=\"/usr/bin/lpr\" LPR_PROG = /usr/bin/lpr -LPSTAT_DEF = -DLPSTAT_COMMAND=\": \" -LPSTAT_PROG = : -LP_DEF = -DLP_COMMAND=\": \" -LP_PROG = : +LPSTAT_DEF = +LPSTAT_PROG = +LP_DEF = +LP_PROG = MAKEINFO = makeinfo PACKAGE = print VERSION = 3.1.1 @@ -93,7 +93,7 @@ INCLUDES = -I$(top_srcdir) $(GIMP_CFLAGS) -I$(includedir) -AM_CPPFLAGS = -DLOCALEDIR=\""$(localedir)"\" -Wall -DLP_COMMAND=\": \" -DLPSTAT_COMMAND=\": \" -DLPR_COMMAND=\"/usr/bin/lpr\" -DLPC_COMMAND=\"/usr/sbin/lpc\" +AM_CPPFLAGS = -DLOCALEDIR=\""$(localedir)"\" -Wall -DLPR_COMMAND=\"/usr/bin/lpr\" -DLPC_COMMAND=\"/usr/sbin/lpc\" print_LDADD = $(GIMP_LIBS) Otherwise, I got: gcc -DPACKAGE=\"print\" -DVERSION=\"3.1.1\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_STRTOL=1 -I. -I. -I. -I/usr/local/include -I/usr/X11R6/include -I/usr/lib/glib/include -I/usr/local/include -DLOCALEDIR=\"""\" -Wall -DLP_COMMAND=\": \" -DLPSTAT_COMMAND=\": \" -DLPR_COMMAND=\"/usr/bin/lpr\" -DLPC_COMMAND=\"/usr/sbin/lpc\" -g -O2 -c unprint.c gcc: ": No such file or directory gcc: ": No such file or directory unprint.c:0: unterminated string or character constant unprint.c:0: possible real start of unterminated constant unprint.c:0: unterminated string or character constant unprint.c:0: possible real start of unterminated constant make: *** [unprint.o] Error 1 > It compiled. I tried the 600 driver with 720 dpi highest quality. The > printer just fed many pages through with out any printing. Still same problem with the 440 driver on Softweave 720 dpi, and 720 dpi High Quality. After feeding many pages through the printer, it finally printed a few lines of coloured text on the paper. > The 600 driver will not work. You will need to use the 440 driver. Yes, but that doesn't work either. > I have 6000 photos of our lovely baby, and I'd love to be able to print > them in less than 2.5 hours. I've compiled 3.09, and am printing with the > 600 driver on 720 dpi Microweave. It works, but vvvvvvveeeerrrrrrryyyyyy > sssssssssllllllllllllllllllllllllllllooooooooooooooooowwwwwwwwwwwwwwwwwllllllllllllllyyyyyyyyyyyyy. > > Sorry to be stuck, but I'd really appreciate any pointers on how to get > 3.1 or stuff from CVS working, will try any suggestions. I will feed back > whatever works. > > Try downloading the CVS stuff. There's a little problem with most > Gimp installations, though. You need to make sure that you have a > gimp.m4 in /usr/local/share/aclocal (or /usr/share/aclocal on some > systems); the Gimp doesn't always install it properly (it is in your > Gimp distribution). You need to edit it according to the directions > in the README file. Yes, I did that, and applied the patch from README. I also needed to do: cd /usr/share/aclocal ln -s /usr/local/share/aclocal/gimp.m4 . before running aclocal. However, I'm still no nearer to getting printing working with 3.1.x I will be grateful for any pointers to things to try. -- Nick Urbanik, Dept. of Electrical & Communications Engineering Hong Kong Institute of Vocational Education (Tsing Yi) email: ni...@vt..., ni...@io... Tel: (852) 2436 8660, (825) 2436 8492 Fax: (852) 2436 8643 pgp ID: 7529555D fingerprint: 53 B6 6D 73 52 EE 1F EE EC F8 21 98 45 1C 23 7B |