[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Gimp Print Problem



On Thu, Jan 30, 2003 at 09:43:47PM -0500, Jerome Acks Jr wrote:
> On Thu, Jan 30, 2003 at 10:12:20AM -0500, Thomas H. George,,, wrote:
> > The attachment is a segment of the /var/log/cups/error_log beginnig two 
> > lines before the first "false" result and continuing to the Ghostscript 
> > exit.  This was generated by trying to print a single line of text.
> > 
> > If anyone can help resolve this problem I would appreciate the help.
> > 
> > Background: The Epson Stylus Color 860 printer was working perfectly 
> > with a purchased version of CUPS installed on a Debian Woody system with 
> > a 2.4.18 kernel.  It is attached to a USB port.  At that time I was 
> > using Gnome.
> > 
> > Two changes took place.  First, I switched to Testing and a 2.4.20 
> > kernel trying to get an Actiontec Wireless USB Adapter to work - I have 
> > never succeded.  Second, I switched to KDE  2.2.25 to be consistant with 
> > the other users in the family.  To get the printer to work with KDE 
> > installed the Debian cupsys, cupsomatic, gimp, gimp1.2-print and 
> > escputil packages.
> 
> It is not clear from your message whether you have gotten your USB set
> up properly. What output do you get to "cat /proc/bus/usb/devices" and
> "cat /proc/bus/usb/drivers"? 


T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=04b8 ProdID=0005 Rev= 1.00
S:  Manufacturer=EPSON
S:  Product=USB Printer
S:  SerialNumber=w21080004150213140
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms


         usbdevfs
         hub
         prism2_usb
  0- 15: usblp

> 
> According the http://www.linux-usb.org/USB-guide/book1.html, the usb
> printer device should be /dev/usb/lp0. Below you indicate you are
> using /dev/usblp0 as as printer device. Typo? What is the output of "ls -l
> /dev/usblp0"? 
>


crw-rw-rw-    1 root     root     180,   0 Jan 24  2002 /dev/usblp0

> What does "lp /usr/share/cups/data/testprint.ps" print? Any error
> messages?

The printer prints the color octogon and L's previously described.
There are no error messages - that is grep error error_log and grep
false error_log return nothing.  error_log exists and contains 1704
lines - I erased all the previous entries before running this test.

> 
> > 
> > Current Status: lp testtext prints nothing, generates the  attached 
> > error_log segment.
> >                            escputil -s -u -r /dev/usblp0 returns the 
> > printer status information.
> >                            A print test from either localhost:631 ir 
> > kde prints a color octogon in the
> >                                    upper left corner and two large 
> > L-shaped bars (backward L's).
> >                            Gimp prints a nice picture.
> > 
> > Note:  I usually try to respond from mutt to attach the message to the 
> > relavant string.  With vi I have worked out how to open two files and 
> > cut and paste between them but I haven't figured out how to paste or 
> > attach a file to a response being generated by mutt.  If there is a way 
> > to do this, I would appreciate hearing about it.
> > 
> 
> > D [30/Jan/2003:09:25:48 -0500] margins[] = [ 0.125000 0.125000 0.125000 0.000000 ]
> > D [30/Jan/2003:09:25:48 -0500] END INIT 300 1963328 618657 1622424 335134 true 1071 4 <0>
> > D [30/Jan/2003:09:25:48 -0500] END GLOBAL 300 1963328 622141 1622424 335540 false 1070 4 <0>
> > D [30/Jan/2003:09:25:48 -0500] END GC 330 1963328 600231 1622424 326318 false 1059 3 <0>
> > D [30/Jan/2003:09:25:48 -0500] Error: /syntaxerror in --%ztokenexec_continue--
> > D [30/Jan/2003:09:25:48 -0500] Operand stack:
> > D [30/Jan/2003:09:25:48 -0500] --nostringval--
> > D [30/Jan/2003:09:25:48 -0500] Execution stack:
> > D [30/Jan/2003:09:25:48 -0500] %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--
> > D [30/Jan/2003:09:25:48 -0500] Dictionary stack:
> > D [30/Jan/2003:09:25:48 -0500] --dict:1059/1123(ro)(G)--   --dict:0/20(G)--   --dict:68/200(L)--
> > D [30/Jan/2003:09:25:48 -0500] Current allocation mode is local
> > D [30/Jan/2003:09:25:48 -0500] Last OS error: 2
> > D [30/Jan/2003:09:25:48 -0500] ESP Ghostscript 7.05.4: Unrecoverable error, exit code 1
> 
> This looks like an error from gs-esp. If you reinstall the gs-esp
> package, does the problem persist?
> 
> 
> -- 
> Jerome



Reply to: