Konica Minolta magicolor 2530 DL :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
2530-DL not printing Ubuntu 7.04
Posted by: linuxred ()
Date: December 26, 2007 06:09PM

At some point I had ubuntu 7.04 printing, but can not print any more.

I can see the printer in gnome_print_manager and in cups and can telnet to it
192.160.0.109 9100

but no-response when printing

command:
foo2lava-wrapper testpage.ps >xxx
pcache: unable to open '/home/rrr/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rrr/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rrr/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rrr/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rrr/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rrr/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rrr/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rrr/.ghostscript/cache/gs_cache'
GPL Ghostscript 8.60: Unrecoverable error, exit code 1
Not a pbm file!


lpoptions: results
job-sheets=classified,none printer-info=magicolor-2530-DL printer-is-accepting-jobs=1 printer-is-shared=1 printer-make-and-model='KonicaMinolta magicolor 2530 DL Foomatic/foo2lava (recommended)' printer-state=3 printer-state-change-time=1198708244 printer-state-reasons=none printer-type=36892 Resolution=2400x600dpi PageSize=Letter MediaType=plain InputSlot=Auto PageRegion=Letter ColorMode=ICM NupOrient=port Duplex=None ICM=km2530_2


I believe that I followed the correct instructions to setup it.
Not sure how to debug this.

Options: ReplyQuote
Re: 2530-DL not printing Ubuntu 7.04
Posted by: rickrich ()
Date: December 26, 2007 06:53PM

Hmm..
$ gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw  '-sOutputFile=xxx' - < /tmp/foo2lava-wrapper.ps
Segmentation fault (core dumped)

$ gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sPAPERSIZE=letter -g10200x6600 -r600x600 -sDEVICE=pbmraw  '-sOutputFile=xxx' - < /tmp/foo2lava-wrapper.ps

Try it at Resolution 600x600. Or use Color Mode -> ICM...



Edited 1 time(s). Last edit at 12/26/2007 08:29PM by rickrich.

Options: ReplyQuote
Re: 2530-DL not printing Ubuntu 7.04
Posted by: rickrich ()
Date: December 27, 2007 02:08AM

2007-12-27      Rick Richardson <rick.richardson@comcast.net>
        * Modify: foo2*-wrapper to only put in WTS stuff when in COLOR (-c)
            Otherwise, gs 8.60/8.61 core dumps with -r1200x600

Please re-download, make, make install, etc.

Options: ReplyQuote
Re: 2530-DL not printing Ubuntu 7.04
Posted by: linuxred ()
Date: December 28, 2007 03:41AM

Do not understand your previous email.

About * Modify: foo2*-wrapper to only put in WTS stuff when in COLOR (-c)
I think that I have color set and have chosen different icm profiles.

I can run this command up to -r2400x1200 and no segfault.
gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sPAPERSIZE=letter -g10200x6600 -r600x600 -sDEVICE=pbmraw '-sOutputFile=xxx' - < /tmp/foo2lava-wrapper.ps

Is there a "how-to" for low level debugging?

I can see test print pages going in the ques in gnome_manager and localhost:631, and get fired off, but the printer remains in standby.

Options: ReplyQuote
Re: 2530-DL not printing Ubuntu 7.04
Posted by: rickrich ()
Date: December 28, 2007 03:58AM

Please *re-download*, make, make install, etc.
e.g. follow all instructions.



Edited 1 time(s). Last edit at 12/28/2007 03:59AM by rickrich.

Options: ReplyQuote
Re: 2530-DL not printing Ubuntu 7.04
Posted by: rickrich ()
Date: December 28, 2007 04:03AM

 Install build-essential FIRST:
        $ sudo apt-get install build-essential
        $ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
        $ tar zxf foo2zjs.tar.gz
        $ cd foo2zjs
        $ sudo make uninstall
        $ make
        $ ./getweb 2530
            OR other printer
        $ sudo make install install-hotplug cups

        $ sudo gnome-cups-manager
        [configure ColorMode = Color if a color printer]
        $ sudo make cups

Options: ReplyQuote
Re: 2530-DL not printing Ubuntu 7.04
Posted by: linuxred ()
Date: January 01, 2008 09:55AM

I followed your steps. The printer does not wake up from sleep mode.
It appears that the test pages get fired off to the printer.

Options: ReplyQuote
Re: 2530-DL not printing Ubuntu 7.04
Posted by: rickrich ()
Date: January 01, 2008 10:10AM

Did you put it in 600x600 resolution???

Do this:
$ grep foo2lava /var/log/messages
and report the output HERE.



Edited 1 time(s). Last edit at 01/01/2008 10:14AM by rickrich.

Options: ReplyQuote
Re: 2530-DL not printing Ubuntu 7.04
Posted by: linuxred ()
Date: January 01, 2008 11:19AM

Lots of tries...:)


Jan 1 08:55:12 spider foo2lava-wrapper: gs.foo -sPAPERSIZE=letter -g20400x6600 -r2400x600 -sDEVICE=bitcmyk -dCOLORSCREEN -dMaxBitmap=500000000 /tmp/icc17299.usecie.ps /tmp/icc17299.crd.ps /tmp/icc17299.selcrd.ps
Jan 1 08:55:12 spider foo2lava-wrapper: foo2lava -r2400x600 -g20400x6600 -p2 -m0 -n1 -d1 -s1 -z0 -c -u 408x100 -l 408x100 -B -A
Jan 1 09:17:15 spider foo2lava-wrapper: foo2lava-wrapper -z0 -c -C10 -r2400x600 -p2 -s1 -m0 -d1 -n1 -Gkm2530_0.icm
Jan 1 09:17:16 spider foo2lava-wrapper: gs.foo -sPAPERSIZE=letter -g20400x6600 -r2400x600 -sDEVICE=bitcmyk -dCOLORSCREEN -dMaxBitmap=500000000 /tmp/icc19352.usecie.ps /tmp/icc19352.crd.ps /tmp/icc19352.selcrd.ps
Jan 1 09:17:16 spider foo2lava-wrapper: foo2lava -r2400x600 -g20400x6600 -p2 -m0 -n1 -d1 -s1 -z0 -c -u 408x100 -l 408x100 -B -A
Jan 1 09:17:38 spider foo2lava-wrapper: foo2lava-wrapper -z0 -c -C10 -r2400x600 -p2 -s1 -m0 -d1 -n1 -Gkm2530_0.icm
Jan 1 09:17:39 spider foo2lava-wrapper: gs.foo -sPAPERSIZE=letter -g20400x6600 -r2400x600 -sDEVICE=bitcmyk -dCOLORSCREEN -dMaxBitmap=500000000 /tmp/icc19462.usecie.ps /tmp/icc19462.crd.ps /tmp/icc19462.selcrd.ps
Jan 1 09:17:39 spider foo2lava-wrapper: foo2lava -r2400x600 -g20400x6600 -p2 -m0 -n1 -d1 -s1 -z0 -c -u 408x100 -l 408x100 -B -A

Options: ReplyQuote
Re: 2530-DL not printing Ubuntu 7.04
Posted by: rickrich ()
Date: January 01, 2008 11:50AM


foo2lava-wrapper -z0 -c -C10 -r2400x600 -p2 -s1 -m0 -d1 -n1 -Gkm2530_0.icm
I said resolution "600x600'. NOT "2400x600". Please change it!

NOTE: I don't do CUPS debug logs.



Edited 2 time(s). Last edit at 01/01/2008 11:55AM by rickrich.

Options: ReplyQuote
Re: 2530-DL not printing Ubuntu 7.04
Posted by: linuxred ()
Date: January 01, 2008 12:05PM

Here it is..


Jan 1 10:04:42 spider foo2lava-wrapper: gs.foo -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=bitcmyk -dCOLORSCREEN -dMaxBitmap=500000000 /tmp/icc27461.usecie.ps /tmp/icc27461.crd.ps /tmp/icc27461.selcrd.ps

Jan 1 10:04:42 spider foo2lava-wrapper: foo2lava -r600x600 -g5100x6600 -p2 -m0 -n1 -d1 -s1 -z0 -c -u 102x100 -l 102x100 -B -A

Options: ReplyQuote
Re: 2530-DL not printing Ubuntu 7.04
Posted by: rickrich ()
Date: January 01, 2008 12:24PM

Where is the foo2lava-wrapper line???

You should have "-Gkm2530-jconner-d50.icm" (the default). NOT "-Gkm2530_0.icm".



Edited 1 time(s). Last edit at 01/01/2008 12:27PM by rickrich.

Options: ReplyQuote
Re: 2530-DL not printing Ubuntu 7.04
Posted by: rickrich ()
Date: January 01, 2008 12:35PM

$ cd foo2zjs
$ foo2lava-wrapper -c -r600x600 testpage.ps >xxx
$ ll xxx
-rw-rw-r-- 1 rick rick 444759 2008-01-01 11:30 xxx
$ nc 192.168.X.Y 9100 <xxx  # man nc
Prints fine here...

Options: ReplyQuote
Re: 2530-DL not printing Ubuntu 7.04
Posted by: linuxred ()
Date: January 01, 2008 01:03PM

not sure what is going on.
In gnome-manager I have ICM Color profile km2530-jconner-d50.icm (default)
Color Mode Color- use ICM color profile.

sudo cat /etc/cups/lpoptions
Default magicolor-2530-DL Resolution=600x600dpi PageSize=Letter MediaType=plain InputSlot=Auto PageRegion=Letter ColorMode=ICM NupOrient=port Duplex=None ICM=km2530-jc media=Letter

I have restarted cupsys

but the grep of foo2lava does not read the new/current setting

Jan 1 10:58:46 spider foo2lava-wrapper: foo2lava-wrapper -z0 -c -C10 -r600x600 -p2 -s1 -m0 -d1 -n1 -Gkm2530_0.icm
Jan 1 10:58:46 spider foo2lava-wrapper: gs.foo -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=bitcmyk -dCOLORSCREEN -dMaxBitmap=500000000 /tmp/icc31522.usecie.ps /tmp/icc31522.crd.ps /tmp/icc31522.selcrd.ps

Options: ReplyQuote
Re: 2530-DL not printing Ubuntu 7.04
Posted by: rickrich ()
Date: January 01, 2008 01:05PM

If that doesn't work, then fire up:
$ firefox http://localhost:631

And click on:
Printers -> Set Printer Options -> ......



Edited 1 time(s). Last edit at 01/01/2008 01:06PM by rickrich.

Options: ReplyQuote
Re: 2530-DL not printing Ubuntu 7.04
Posted by: linuxred ()
Date: January 01, 2008 01:19PM

Ok. I have the correct settings with CUPS: 631 port

foo2lava-wrapper -z0 -c -C10 -r600x600 -p2 -s1 -m0 -d1 -n1 -Gkm2530-jconner-d50.icm
Jan 1 11:15:26 spider foo2lava-wrapper: gs.foo -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=bitcmyk -dCOLORSCREEN -dMaxBitmap=500000000 /tmp/icc1592.usecie.ps /tmp/icc1592.crd.ps /tmp/icc1592.selcrd.ps


Now, I guess that I am back to ghostscript .

foo2lava-wrapper -c -r600x600 testpage.ps >xxx
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
GPL Ghostscript 8.60: Unrecoverable error, exit code 1

rojas@spider:~/foo2zjs$ ls -l xxx
-rw-r--r-- 1 rojas rojas 234 2008-01-01 11:18 xxx

Should I reinstall ghostscript ?

Options: ReplyQuote
Re: 2530-DL not printing Ubuntu 7.04
Posted by: rickrich ()
Date: January 01, 2008 01:37PM

If you reinstall gs.foo, use 8.61.

Options: ReplyQuote
Re: 2530-DL not printing Ubuntu 7.04
Posted by: linuxred ()
Date: January 01, 2008 03:21PM

I installed ghostview 8.61. Still the same error. I must have conflicts with ghostview.


Here is the output from

./foo2lava-wrapper -c -r600x600 testpage.ps >xxx
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
GPL Ghostscript 8.61: Unrecoverable error, exit code 1


output within foo2lava-wrapper:

q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=bitcmyk -dCOLORSCREEN -dMaxBitmap=500000000 -sOutputFile=|cat 1>&3 /tmp/icc12988.usecie.ps /tmp/icc12988.crd.ps /tmp/icc12988.selcrd.ps -_
+ foo2lava -r600x600 -g5100x6600 -p2 -m0 -n1 -d1 -s255 -z0 -c -u 102x100 -l 102x100 -J -U -B -A -D0
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
pcache: unable to open '/home/rojas/.ghostscript/cache/gs_cache'
GPL Ghostscript 8.61: Unrecoverable error, exit code 1

Options: ReplyQuote
Re: 2530-DL not printing Ubuntu 7.04
Posted by: rickrich ()
Date: January 01, 2008 04:02PM

No idea. Sorry.

Options: ReplyQuote
Re: 2530-DL not printing Ubuntu 7.04
Posted by: linuxred ()
Date: January 01, 2008 04:13PM

Thanks for the help. I have an idea now of where to start debugging.
If I figure out what is wrong then I'll post it.

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.