Subject: help with cups, gimp-print, and ghostscript on epson photo 700
To: None <netbsd-help@netbsd.org>
From: Tom Jernigan <jernigantc@ornl.gov>
List: netbsd-help
Date: 06/11/2002 14:58:35
I've got a mac quadra 660av running netbsd almost 1.5.3 (~April 20 
Release 1.5). I have an epson 700 photo that I'm trying to get 
running via cups (I want to use the machine as a print server for the 
printer). I've installed cups-1.1.14nb1, cupsomatic-2.2nb1, 
supsomatic-ppds-20010515nb1, gimp-print-cups-4.2.1, 
gimp-print-lib-4.2.1, gimp-print-escputil-4.2.1, 
foomatic-gswrapper-1.2nb1, ghostscript-6.01nb4, plus the packages 
required by the preceding.

I used the web interface to setup the printer with ctsrts hardware 
control on /dev/tty01 (which is the printer port I hope). I tried to 
print a test page, but it failed. Below is the 
/var/log/cups/error_log. I've tried the escputil, but I get no 
response from either /dev/tty00 or dev/tty01. The printer works fine 
from the moc os.

I read in the gimp-print doc that these packages are supposed to work 
with GNU ghostscript, but NetBSD use Aladdin ghostscript. Is this a 
problem?

Do the ghostscript errors mean this version of ghostscript is 
incompatible with gimp-print?

Has anyone had any luck with these drivers on an epson 6-color printer?

Thanks,
Tom


D [11/Jun/2002:13:33:07 -0700] print_job: request file type is 
application/postscript.
D [11/Jun/2002:13:33:07 -0700] check_quotas: requesting-user-name = 'jernigan'
D [11/Jun/2002:13:33:07 -0700] print_job: requesting-user-name = 'jernigan'
D [11/Jun/2002:13:33:07 -0700] Adding default job-sheets values "none,none"...
I [11/Jun/2002:13:33:07 -0700] Job 10 queued on 'epson1' by 'jernigan'.
D [11/Jun/2002:13:33:07 -0700] Job 10 hold_until = 0
D [11/Jun/2002:13:33:07 -0700] StartJob(10, 00185000)
D [11/Jun/2002:13:33:07 -0700] StartJob() id = 10, file = 0/1
D [11/Jun/2002:13:33:07 -0700] job-sheets=none,none
D [11/Jun/2002:13:33:07 -0700] banner_page = 0
D [11/Jun/2002:13:33:07 -0700] StartJob: argv = 
"epson1","10","jernigan","Test 
Page","1","","/var/spool/cups/d00010-001"
D [11/Jun/2002:13:33:07 -0700] StartJob: envp = 
"PATH=/usr/pkg/libexec/cups/filter:/bin:/usr/bin","SOFTWARE=CUPS/1.1","USER=root","CHARSET=iso-8859-1","LANG=c","TZ=GMT","PPD=/usr/pkg/etc/cups/ppd/epson1.ppd","CUPS_SERVERROOT=/usr/pkg/etc/cups","RIP_MAX_CACHE=8m","TMPDIR=/var/spool/cups/tmp","CONTENT_TYPE=application/postscript","DEVICE_URI=serial:/dev/tty01?baud=57600+bits=8+parity=none+flow=hard","PRINTER=epson1","CUPS_DATADIR=/usr/pkg/share/cups","CUPS_FONTPATH=/usr/pkg/share/cups/fonts","",""
D [11/Jun/2002:13:33:07 -0700] StartJob: statusfds = 8, 9
D [11/Jun/2002:13:33:07 -0700] StartJob: filterfds[1] = 10, -1
D [11/Jun/2002:13:33:07 -0700] StartJob: filter = 
"/usr/pkg/libexec/cups/filter/pstops"
D [11/Jun/2002:13:33:07 -0700] StartJob: filterfds[0] = 11, 12
D [11/Jun/2002:13:33:07 -0700] 
start_process("/usr/pkg/libexec/cups/filter/pstops", fffee778, 
fffe9c28, 10, 12, 9)
I [11/Jun/2002:13:33:07 -0700] Started filter 
/usr/pkg/libexec/cups/filter/pstops (PID 5824) for job 10.
D [11/Jun/2002:13:33:07 -0700] StartJob: filter = 
"/usr/pkg/libexec/cups/filter/cupsomatic"
D [11/Jun/2002:13:33:07 -0700] StartJob: filterfds[1] = 10, 13
D [11/Jun/2002:13:33:07 -0700] 
start_process("/usr/pkg/libexec/cups/filter/cupsomatic", fffee778, 
fffe9c28, 11, 13, 9)
I [11/Jun/2002:13:33:07 -0700] Started filter 
/usr/pkg/libexec/cups/filter/cupsomatic (PID 5825) for job 10.
D [11/Jun/2002:13:33:07 -0700] StartJob: backend = 
"/usr/pkg/libexec/cups/backend/serial"
D [11/Jun/2002:13:33:07 -0700] StartJob: filterfds[0] = -1, 11
D [11/Jun/2002:13:33:07 -0700] 
start_process("/usr/pkg/libexec/cups/backend/serial", fffee778, 
fffe9c28, 10, 11, 9)
I [11/Jun/2002:13:33:07 -0700] Started backend 
/usr/pkg/libexec/cups/backend/serial (PID 5826) for job 10.
D [11/Jun/2002:13:33:08 -0700] CloseClient() 5
D [11/Jun/2002:13:33:08 -0700] CloseClient() 3
D [11/Jun/2002:13:33:08 -0700] perl: warning: Setting locale failed.
D [11/Jun/2002:13:33:08 -0700] perl: warning: Please check that your 
locale settings:
D [11/Jun/2002:13:33:08 -0700] LC_ALL = (unset),
D [11/Jun/2002:13:33:09 -0700] LANG = "c"
D [11/Jun/2002:13:33:09 -0700] are supported and installed on your system.
D [11/Jun/2002:13:33:09 -0700] perl: warning: Falling back to the 
standard locale ("C").
D [11/Jun/2002:13:33:11 -0700] Page = 612x792; 9,40 to 603,766
D [11/Jun/2002:13:33:11 -0700] 0 %%BoundingBox: 0 0 612 792
D [11/Jun/2002:13:33:11 -0700] 0 %%Pages: 1
D [11/Jun/2002:13:33:11 -0700] 0 %%LanguageLevel: 1
D [11/Jun/2002:13:33:11 -0700] 0 %%DocumentData: Clean7Bit
D [11/Jun/2002:13:33:11 -0700] 0 %%DocumentSuppliedResources: procset 
testprint/1.0
D [11/Jun/2002:13:33:11 -0700] 0 %%DocumentNeededResources: font 
Helvetica Helvetica-Bold Times-Roman
D [11/Jun/2002:13:33:11 -0700] 0 %%Creator: Michael Sweet, Easy 
Software Products
D [11/Jun/2002:13:33:11 -0700] 0 %%CreationDate: May 11, 1999
D [11/Jun/2002:13:33:11 -0700] 0 %%Title: Test Page
D [11/Jun/2002:13:33:11 -0700] 0 %%EndComments
D [11/Jun/2002:13:33:11 -0700] 0 %%BeginProlog
D [11/Jun/2002:13:33:11 -0700] 0 %%BeginResource procset testprint 1.1 0
D [11/Jun/2002:13:33:11 -0700] 0 %%EndResource
D [11/Jun/2002:13:33:11 -0700] 0 %%EndProlog
D [11/Jun/2002:13:33:11 -0700] 0 %%Page: 1 1
D [11/Jun/2002:13:33:11 -0700] 0 %%Page: 1 1
D [11/Jun/2002:13:33:11 -0700] pw = 594.8, pl = 726.9
D [11/Jun/2002:13:33:11 -0700] PageLeft = 8.6, PageRight = 603.4
D [11/Jun/2002:13:33:12 -0700] PageTop = 766.5, PageBottom = 39.6
D [11/Jun/2002:13:33:12 -0700] PageWidth = 612.0, PageLength = 792.0
D [11/Jun/2002:13:33:13 -0700] Cupsomatic backend version $Revision: 
2.2 $ running...
D [11/Jun/2002:13:33:13 -0700] called with arguments: 
'10','jernigan','Test Page','1',''
D [11/Jun/2002:13:33:13 -0700] ppd=/usr/pkg/etc/cups/ppd/epson1.ppd
D [11/Jun/2002:13:33:15 -0700] ReadClient() 7 GET /jobs HTTP/1.0
D [11/Jun/2002:13:33:15 -0700] CGI 
/usr/pkg/libexec/cups/cgi-bin/jobs.cgi started - PID = 5827
I [11/Jun/2002:13:33:15 -0700] Started 
"/usr/pkg/libexec/cups/cgi-bin/jobs.cgi" (pid=5827)
D [11/Jun/2002:13:33:15 -0700] SendCommand() 7 file=5
D [11/Jun/2002:13:33:18 -0700] AcceptClient() 3 from 127.0.0.1:631.
D [11/Jun/2002:13:33:18 -0700] ReadClient() 3 POST / HTTP/1.1
D [11/Jun/2002:13:33:19 -0700] CloseClient() 3
D [11/Jun/2002:13:33:19 -0700] CloseClient() 7
D [11/Jun/2002:13:33:19 -0700] Searching job for option settings ...
D [11/Jun/2002:13:33:19 -0700] Found: %%BeginFeature: PageSize Letter
D [11/Jun/2002:13:33:19 -0700] Option: PageSize=Letter --> Option 
will be set by PostScript interpreter
D [11/Jun/2002:13:33:19 -0700] Found: %%BeginFeature: GSResolution 720DPI
D [11/Jun/2002:13:33:19 -0700] Option: GSResolution=720DPI --> Option 
will be set by PostScript interpreter
D [11/Jun/2002:13:33:19 -0700] Found: %%BeginFeature: Grayscale False
D [11/Jun/2002:13:33:19 -0700] Option: Grayscale=False --> Option 
will be set by PostScript interpreter
D [11/Jun/2002:13:33:19 -0700] Found: %%BeginFeature: ImageType LineArt
D [11/Jun/2002:13:33:19 -0700] Option: ImageType=LineArt --> Option 
will be set by PostScript interpreter
D [11/Jun/2002:13:33:19 -0700] Found: %%BeginFeature: InkType SixColorPhoto
D [11/Jun/2002:13:33:19 -0700] Option: InkType=SixColorPhoto --> 
Option will be set by PostScript interpreter
D [11/Jun/2002:13:33:19 -0700] Found: %%BeginFeature: Quality 180DPI
D [11/Jun/2002:13:33:19 -0700] Option: Quality=180DPI --> Option will 
be set by PostScript interpreter
D [11/Jun/2002:13:33:19 -0700] Found: %%BeginFeature: MediaType PlainPaper
D [11/Jun/2002:13:33:19 -0700] Option: MediaType=PlainPaper --> 
Option will be set by PostScript interpreter
D [11/Jun/2002:13:33:19 -0700] Found: %%BeginFeature: Dither AdaptiveHybrid
D [11/Jun/2002:13:33:19 -0700] Option: Dither=AdaptiveHybrid --> 
Option will be set by PostScript interpreter
D [11/Jun/2002:13:33:20 -0700] 0 %%EOF
D [11/Jun/2002:13:33:20 -0700] Saw EOF!
D [11/Jun/2002:13:33:20 -0700] options: -><-
D [11/Jun/2002:13:33:20 -0700] 
/usr/pkg/libexec/cups/filter/cupsomatic: inserted option PS code:
D [11/Jun/2002:13:33:20 -0700] <</Cyan 1.000000>>setpagedevice
D [11/Jun/2002:13:33:20 -0700] <</Density 1.000000>>setpagedevice
D [11/Jun/2002:13:33:20 -0700] <</Magenta 1.000000>>setpagedevice
D [11/Jun/2002:13:33:20 -0700] <</Yellow 1.000000>>setpagedevice
D [11/Jun/2002:13:33:20 -0700] <</Brightness 1.000000>>setpagedevice
D [11/Jun/2002:13:33:20 -0700] <</Saturation 1.000000>>setpagedevice
D [11/Jun/2002:13:33:20 -0700] <</Contrast 1.000000>>setpagedevice
D [11/Jun/2002:13:33:20 -0700] <</Gamma 1.000000>>setpagedevice
D [11/Jun/2002:13:33:20 -0700] PJL: %-12345X@PJL JOB NAME="CUPSOMATIC"
D [11/Jun/2002:13:33:20 -0700] <job data>
D [11/Jun/2002:13:33:20 -0700] %-12345X@PJL RESET
D [11/Jun/2002:13:33:20 -0700] @PJL EOJ
D [11/Jun/2002:13:33:20 -0700] gs PID pid2=5829
D [11/Jun/2002:13:33:20 -0700] gs command: gs -q -dSAFER -dNOPAUSE 
-dBATCH -sDEVICE=stp  -sModel=escp2-700 -sOutputFile=- -
D [11/Jun/2002:13:33:21 -0700] perl: warning: Setting locale failed.
D [11/Jun/2002:13:33:21 -0700] perl: warning: Please check that your 
locale settings:
D [11/Jun/2002:13:33:21 -0700] LC_ALL = (unset),
D [11/Jun/2002:13:33:21 -0700] LANG = "c"
D [11/Jun/2002:13:33:21 -0700] are supported and installed on your system.
D [11/Jun/2002:13:33:21 -0700] perl: warning: Falling back to the 
standard locale ("C").
D [11/Jun/2002:13:33:21 -0700] foomatic-gswrapper: gs '-dSAFER' 
'-dNOPAUSE' '-dBATCH' '-sDEVICE=stp' '-sModel=escp2-700' 
'-sOutputFile=|cat >&3' '-' 3>&1 1>&2
D [11/Jun/2002:13:33:23 -0700] Aladdin Ghostscript 6.01 (2000-03-17)
D [11/Jun/2002:13:33:23 -0700] Copyright (C) 2000 Aladdin 
Enterprises, Menlo Park, CA.  All rights reserved.
D [11/Jun/2002:13:33:23 -0700] This software comes with NO WARRANTY: 
see the file PUBLIC for details.
D [11/Jun/2002:13:33:40 -0700] Loading NimbusRomNo9L-Regu font from 
/usr/pkg/share/ghostscript/fonts/n021003l.pfb... 4876804 3514934 
1556964 261536 0 done.
D [11/Jun/2002:13:33:45 -0700] Loading NimbusSanL-Regu font from 
/usr/pkg/share/ghostscript/fonts/n019003l.pfb... 5194908 3801580 
1577060 269108 0 done.
D [11/Jun/2002:13:33:53 -0700] Loading NimbusSanL-Bold font from 
/usr/pkg/share/ghostscript/fonts/n019004l.pfb... 5472820 3851865 
1677540 353185 0 done.
D [11/Jun/2002:13:34:02 -0700] Loading NimbusSanL-BoldItal font from 
/usr/pkg/share/ghostscript/fonts/n019024l.pfb... 5533108 3913504 
1717732 379004 0 done.
D [11/Jun/2002:13:34:03 -0700] Plain Paper is not a valid media type
D [11/Jun/2002:13:34:03 -0700] 180 DPI is not a valid resolution
D [11/Jun/2002:13:34:03 -0700] Six Color Photo is not a valid ink type
D [11/Jun/2002:13:34:03 -0700] Adaptive Hybrid is not a valid dither algorithm
D [11/Jun/2002:13:34:03 -0700] Error: /rangecheck in --.outputpage--
D [11/Jun/2002:13:34:03 -0700] Operand stack:
D [11/Jun/2002:13:34:03 -0700] 404.25   296.333   297.0   719.667 
297.0   52.9167   49.5   1   true
D [11/Jun/2002:13:34:03 -0700] Execution stack:
D [11/Jun/2002:13:34:03 -0700] %interp_exit   .runexec2 
--nostringval--   --nostringval--   --nostringval--   2 
%stopped_push   --nostringval--   --nostringval--   --nostringval-- 
false   1   %stopped_push   1   3   %oparray_pop   .runexec2 
--nostringval--   --nostringval--   --nostringval--   2 
%stopped_push   --nostringval--   7   3   %oparray_pop 
--nostringval--   --nostringval--   --nostringval--   --nostringval--
D [11/Jun/2002:13:34:03 -0700] Dictionary stack:
D [11/Jun/2002:13:34:03 -0700] --dict:939/983(ro)(G)-- 
--dict:0/20(G)--   --dict:112/200(L)--
D [11/Jun/2002:13:34:03 -0700] Current allocation mode is local
D [11/Jun/2002:13:34:03 -0700] Aladdin Ghostscript 6.01: 
Unrecoverable error, exit code 1
D [11/Jun/2002:13:34:03 -0700] Couldn't exec foomatic-gswrapper -q 
-dSAFER -dNOPAUSE -dBATCH -sDEVICE=stp  -sModel=escp2-700 
-sOutputFile=- - at /usr/pkg/libexec/cups/filter/cupsomatic line 1010.
D [11/Jun/2002:13:34:03 -0700] tail process done writing data to *main::STDOUT
D [11/Jun/2002:13:34:03 -0700] Main process finished
D [11/Jun/2002:13:34:03 -0700] KID4 finished
D [11/Jun/2002:13:34:05 -0700] UpdateJob: job 10, file 0 is complete.
D [11/Jun/2002:13:34:05 -0700] CancelJob: id = 10
D [11/Jun/2002:13:34:05 -0700] StopJob: id = 10, force = 0
D [11/Jun/2002:13:34:05 -0700] StopJob: printer state is 3
D [11/Jun/2002:13:35:00 -0700] AcceptClient() 5 from 198.129.105.89:631.
D [11/Jun/2002:13:35:00 -0700] ReadClient() 5 GET /jobs HTTP/1.0
D [11/Jun/2002:13:35:00 -0700] CGI 
/usr/pkg/libexec/cups/cgi-bin/jobs.cgi started - PID = 5837
I [11/Jun/2002:13:35:00 -0700] Started 
"/usr/pkg/libexec/cups/cgi-bin/jobs.cgi" (pid=5837)
D [11/Jun/2002:13:35:00 -0700] SendCommand() 5 file=7
D [11/Jun/2002:13:35:04 -0700] AcceptClient() 6 from 127.0.0.1:631.
D [11/Jun/2002:13:35:04 -0700] ReadClient() 6 POST / HTTP/1.1
D [11/Jun/2002:13:35:04 -0700] CloseClient() 6
D [11/Jun/2002:13:35:04 -0700] CloseClient() 5
D [11/Jun/2002:13:35:04 -0700] AcceptClient() 5 from 198.129.105.89:631.
D [11/Jun/2002:13:35:04 -0700] ReadClient() 5 GET /cups.css HTTP/1.0
D [11/Jun/2002:13:35:04 -0700] SendError() 5 code=304