Konica Minolta magicolor 2490 MF :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
Cannot get colour to work. [solved]
Posted by: Connor ()
Date: July 12, 2007 06:34AM

I'm trying to setup our 2490MF, and while black/white printing worked instantly out of the box with foo2lava, I have after several days of desperate tries still not managed to get colour to work properly.

I get the same problem that I think is described in some other posts, specifically the 2490 on MacOSX. I have downloaded a new tarball as recently as today, and believe I am following the instructions to the letter, and still it doesn't work.

What happens is I get one page with the blacks printed twice, once in the correct place and once more half a page higher up on the paper. I also get the yellow part of the page in the correct area, but no cyan or magenta. After this page is printed, the printer hangs until I restart it.

My BW-print from CUPS logs the command; "foo2lava-wrapper -z0 -r600x600 -p26 -s255 -m0 -d1 -n1 -Gkm2530_1.icm" which is then translated into "gs -sPAPERSIZE=a4 -g4960x7016 -r600x600 -sDEVICE=pbmraw -dCOLORSCREEN" and "foo2lava -r600x600 -g4960x7016 -p26 -m0 -n1 -d1 -s255 -z0 -u 104x100 -l 104x100". If I run that and decode the resulting file, the output is;
\033%-12345X@PJL JOB NAME="stdin"
\033%-12345X@PJL JOB USERNAME=""
\033%-12345X@PJL JOB TIMESTAMP="07/12/2007"
\033%-12345X@PJL JOB OSINFO="Linux/2.6.18-4-686"
\033%-12345X@PJL ENTER LANGUAGE=LAVAFLOW
\033E                   RESET
\033&l0S                DUPLEX: [off]
\033&l0G
\033&u600D              X RESOLUTION: [600]
\033&l1X                COPIES: [1]
\033&x1X                TRANSMIT ONCE COPIES: [1]
\033&l0O                ORIENTATION: [port]
\033*r1U                NBIE: [1]
\033*g8W                BW/COLOR: [8]
                        fmt=2 np=1
                        BLACK:  X=600, Y=600, unk=0, #=4(2)
\033*b1234M             COMPRESSION: [1234]
\033&l26A               PAGE SIZE: [a4]
\033&l255H              PAPER SOURCE: [auto]
\033&l0M                MEDIA TYPE: [plain]
\033&l0E                TOP MARGIN: [0]
\033*r4752S             X RASTER: [4752,0x1290]
\033*r6816T             Y RASTER: [6816,0x1aa0]
\033&l0U
\033&l0Z
\033*p100X              X OFFSET: [100]
\033*p100Y              Y OFFSET: [100]
\033*r1A                [Page 1]
\033*b20V               [black]
                        DL = 0, D = 0, P = 1, - = 0, XY = 4752 x 6816
                        L0 = 128, MX = 0, MY = 0
                        Order   = 3  ILEAVE SMID
                        Options = 92  LRLTWO TPDON TPBON DPON
                        54 stripes, 0 layers, 1 planes
\033*b65536V            JBIG data (first) [65536,0x10000]
\033*b65536V            JBIG data (first) [65536,0x10000]
\033*b11520W            JBIG data (end) [11520,0x2d00]
\033*x2535387K          BLACK DOTS: [2535387]
\033*x29854245W         BLACK WHITEDOTS: [29854245]
\033*rC                 END PAGE
\033&l0H                PAPER SOURCE: [eject]
\033E                   RESET
\033%-12345X

The colour-print issues the command; "foo2lava-wrapper -z0 -c -C10 -r1200x600 -p26 -s255 -m0 -d1 -n1 -Gkm2530_1.icm" (gs -sPAPERSIZE=a4 -g9920x7016 -r1200x600 -sDEVICE=bitcmyk -dCOLORSCREEN /tmp/icc18376.usecie.ps /tmp/icc18376.crd.ps /tmp/icc18376.selcrd.ps" and "foo2lava -r1200x600 -g9920x7016 -p26 -m0 -n1 -d1 -s255 -z0 -c -u 208x100 -l 208x100 -B -A"). Decoding gives me;
\033%-12345X@PJL JOB NAME="stdin"
\033%-12345X@PJL JOB USERNAME=""
\033%-12345X@PJL JOB TIMESTAMP="07/12/2007"
\033%-12345X@PJL JOB OSINFO="Linux/2.6.18-4-686"
\033%-12345X@PJL ENTER LANGUAGE=LAVAFLOW
\033E                   RESET
\033&l0S                DUPLEX: [off]
\033&l0G
\033&u1200D             X RESOLUTION: [1200]
\033&l1X                COPIES: [1]
\033&x1X                TRANSMIT ONCE COPIES: [1]
\033&l0O                ORIENTATION: [port]
\033*r-1004U            NBIE: [4]
\033*g26W               BW/COLOR: [26]
                        fmt=2 np=4
                        YEL:    X=1200, Y=600, unk=0, #=4(2)
                        MAG:    X=1200, Y=600, unk=0, #=4(2)
                        CYA:    X=1200, Y=600, unk=0, #=4(2)
                        BLK:    X=1200, Y=600, unk=0, #=4(2)
\033*b1234M             COMPRESSION: [1234]
\033&l26A               PAGE SIZE: [a4]
\033&l255H              PAPER SOURCE: [auto]
\033&l0M                MEDIA TYPE: [plain]
\033&l0E                TOP MARGIN: [0]
\033*r9504S             X RASTER: [9504,0x2520]
\033*r6816T             Y RASTER: [6816,0x1aa0]
\033&l0U
\033&l0Z
\033*p200X              X OFFSET: [200]
\033*p200Y              Y OFFSET: [200]
\033*r1A                [Page 1]
\033*b20V               [yellow]
                        DL = 0, D = 0, P = 1, - = 0, XY = 9504 x 6816
                        L0 = 128, MX = 0, MY = 0
                        Order   = 3  ILEAVE SMID
                        Options = 92  LRLTWO TPDON TPBON DPON
                        54 stripes, 0 layers, 1 planes
\033*b65536V            JBIG data (first) [65536,0x10000]
\033*b18112W            JBIG data (end) [18112,0x46c0]
\033*b20V               [magenta]
                        DL = 0, D = 0, P = 1, - = 0, XY = 9504 x 6816
                        L0 = 128, MX = 0, MY = 0
                        Order   = 3  ILEAVE SMID
                        Options = 92  LRLTWO TPDON TPBON DPON
                        54 stripes, 0 layers, 1 planes
\033*b65536V            JBIG data (first) [65536,0x10000]
\033*b34688W            JBIG data (end) [34688,0x8780]
\033*b20V               [cyan]
                        DL = 0, D = 0, P = 1, - = 0, XY = 9504 x 6816
                        L0 = 128, MX = 0, MY = 0
                        Order   = 3  ILEAVE SMID
                        Options = 92  LRLTWO TPDON TPBON DPON
                        54 stripes, 0 layers, 1 planes
\033*b65536V            JBIG data (first) [65536,0x10000]
\033*b40768W            JBIG data (end) [40768,0x9f40]
\033*b20V               [black]
                        DL = 0, D = 0, P = 1, - = 0, XY = 9504 x 6816
                        L0 = 128, MX = 0, MY = 0
                        Order   = 3  ILEAVE SMID
                        Options = 92  LRLTWO TPDON TPBON DPON
                        54 stripes, 0 layers, 1 planes
\033*b65536V            JBIG data (first) [65536,0x10000]
\033*b65536V            JBIG data (first) [65536,0x10000]
\033*b33408W            JBIG data (end) [33408,0x8280]
\033*x910032Y           YELLOW DOTS: [910032]
\033*x63869232U         YELLOW WHITEDOTS: [63869232]
\033*x722792M           MAGENTA DOTS: [722792]
\033*x64056472V         MAGENTA WHITEDOTS: [64056472]
\033*x767298C           CYAN DOTS: [767298]
\033*x64011966Z         CYAN WHITEDOTS: [64011966]
\033*x3940184K          BLACK DOTS: [3940184]
\033*x60839080W         BLACK WHITEDOTS: [60839080]
\033*rC                 END PAGE
\033&l0H                PAPER SOURCE: [eject]
\033E                   RESET
\033%-12345X

The test content is CUPS testpage. I can provide both GS-generated files and the LAVA-file if necessary.

Also, I've tried printing colour at 600x600, but that seems to mess up the Ghostscript settings so much that it can't event execute. I've seen traces of colour-settings being modified when at 600x600, so I'm thinking either it shouldn't even work, or that the wrapper does something wrong. The result is that GS gets fed an ICM-file directly on the commandline, and can't find it, instead of it being converted to a PS-file earlier in the wrapper.

Anyway, two separate problems, and I'm much more interested in solving the first one. Even if it would be nice to be able to print colour at 600x600, printing colour at all is my first priority.

Thanks in advance for any help.

/?rjan



Edited 1 time(s). Last edit at 10/15/2009 05:29PM by rickrich.

Options: ReplyQuote
Re: Cannot get colour to work.
Posted by: rickrich ()
Date: July 13, 2007 09:46AM

http://foo2lava.rkkda.com/tmp/testpage-cups-a4-2490-win.prn

http://foo2lava.rkkda.com/tmp/testpage-cups-a4-2490-test1.prn

Please print both files using "nc" and report the results. They printed perfectly on a magicolor 2530 DL here.

$ nc 192.168.1.13 9100 < testpage-cups-a4-2490-win.prn

$ nc 192.168.1.13 9100 < testpage-cups-a4-2490-test1.prn

Options: ReplyQuote
Re: Cannot get colour to work.
Posted by: Connor ()
Date: July 16, 2007 04:42AM

The file called 'win' worked like a charm, the one called 'test1' did the same as my own previous attempts, ie printed the black twice, only the yellow and then hung the printer hard.

Options: ReplyQuote
Re: Cannot get colour to work.
Posted by: rickrich ()
Date: July 17, 2007 04:31PM

http://foo2lava.rkkda.com/tmp/testpage-cups-a4-2490-test2.prn

http://foo2lava.rkkda.com/tmp/testpage-cups-a4-2490-test3.prn

Please print both files using "nc" and report the results.

$ nc 192.168.1.13 9100 < testpage-cups-a4-2490-test2.prn

$ nc 192.168.1.13 9100 < testpage-cups-a4-2490-test3.prn

Options: ReplyQuote
Re: Cannot get colour to work.
Posted by: Connor ()
Date: July 18, 2007 04:15AM

test2 doesn't work (same problem, double-black/only yellow)
test3 works like a charm

Options: ReplyQuote
Re: Cannot get colour to work.
Posted by: rickrich ()
Date: July 18, 2007 02:57PM

http://foo2lava.rkkda.com/tmp/testpage-cups-a4-2490-test4.prn

Please print the file using "nc" and report the results.

$ nc 192.168.1.13 9100 < testpage-cups-a4-2490-test4.prn

Options: ReplyQuote
Re: Cannot get colour to work.
Posted by: Connor ()
Date: July 19, 2007 02:09AM

That one worked well, and since lavadecode doesn't say the source is a PDF generated from Windows anymore (like the other ones that have worked), I'm really excited now. :)

Options: ReplyQuote
Re: Cannot get colour to work.
Posted by: rickrich ()
Date: July 19, 2007 02:49AM

From Changelog:
2007-07-18      Rick Richardson <rick.richardson@comcast.net>
        * foo2lava: Puts DOTS/WHITEDOTS immediately after JBIG, for 2490.

Please re-download and install.

Options: ReplyQuote
Re: Cannot get colour to work.
Posted by: Connor ()
Date: July 19, 2007 04:48AM

It works! Excellent, thanks for your support. Donation is on the way, it's the least I can do.

Options: ReplyQuote


Sorry, you can't reply to this topic. It has been closed.
This forum powered by Phorum.