Konica Minolta magicolor 2530 DL :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
Pages: 12Next
Current Page: 1 of 2
Wrong print size.
Posted by: Spr0k3t ()
Date: January 26, 2007 12:49PM

I can send a print to the printer and watch as the printer wakes up from energy saving and attempts to print, Every time I print something though, I get the error "SIZE/TYPE ERROR" even though I'm setting the paper size correctly.

AMD64 install w/Networked 2530. Paper Size is set to "Letter".

Options: ReplyQuote
Re: Wrong print size.
Posted by: rickrich ()
Date: January 26, 2007 04:20PM

Do this from the foo2zjs directory:

$ foo2lava-wrapper testpage.ps >xxx

$ lavadecode <xxx
\033%-12345X@PJL JOB NAME="stdin"
\033%-12345X@PJL JOB USERNAME=""
\033%-12345X@PJL JOB TIMESTAMP="01/26/2007"
\033%-12345X@PJL JOB OSINFO="Linux/2.6.18-1.2257.fc5"
\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*r1U                NBIE: [1]
\033*g8W                BW/COLOR: [8]
\033*b1234M             COMPRESSION: [1234]
\033&l2A                PAGE SIZE: [letter]
\033&l255H              PAPER SOURCE: [auto]
\033&l0M                MEDIA TYPE: [plain]
\033&l0E                TOP MARGIN: [0]
\033*r9792S             X RASTER: [9792]
\033*r6400T             Y RASTER: [6400]
\033&l0U
\033&l0Z
\033*p200X              X OFFSET: [200]
\033*p200Y              Y OFFSET: [200]
\033*r1A                [Page 1]
\033*b20V               [black]
                DL = 0, D = 0, P = 1, - = 0, XY = 9792 x 6400
                L0 = 128, MX = 16, MY = 0
                Order   = 3  ILEAVE SMID
                Options = 92  LRLTWO TPDON TPBON DPON
                50 stripes, 0 layers, 1 planes

\033*b65536V    JBIG data (first)
\033*b26415W    JBIG data (end)
\033*x3887138K          BLACK DOTS: [3887138]
\033*x58781662W         BLACK WHITEDOTS: [58781662]
\033*r0C                END PAGE
\033E                   RESET
\033%-12345X

$ nc 192.168.1.12 9100 < xxx  # Replace 192... with IP address

Did that work???

The nc package contains Netcat (the program is actually nc), a simple
utility for reading and writing data across network connections, using
the TCP or UDP protocols.

Options: ReplyQuote
Re: Wrong print size.
Posted by: Spr0k3t ()
Date: January 27, 2007 02:34PM

I tried this and the error message I get on the printer is "VIDEO UNDERRUN". Here's the output of my lavadecode clobber:

-----START CODE
\033%-12345X@PJL JOB NAME="stdin"
\033%-12345X@PJL JOB USERNAME=""
\033%-12345X@PJL JOB TIMESTAMP="01/27/2007"
\033%-12345X@PJL JOB OSINFO="Linux/2.6.17-10-generic"
\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*r1U                NBIE: [1]
\033*g8W                BW/COLOR: [8]
\033*b1234M             COMPRESSION: [1234]
\033&l2A                PAGE SIZE: [letter]
\033&l255H              PAPER SOURCE: [auto]
\033&l0M                MEDIA TYPE: [plain]
\033&l0E                TOP MARGIN: [0]
\033*r9792S             X RASTER: [9792]
\033*r6400T             Y RASTER: [6400]
\033&l0U
\033&l0Z
\033*p200X              X OFFSET: [200]
\033*p200Y              Y OFFSET: [200]
\033*r1A                [Page 1]
\033*b20V               [black]
                DL = 0, D = 0, P = 1, - = 0, XY = 9792 x 6400
                L0 = 128, MX = 16, MY = 0
                Order   = 3  ILEAVE SMID
                Options = 92  LRLTWO TPDON TPBON DPON
                50 stripes, 0 layers, 1 planes

\033*b65536V    JBIG data (first)
\033*b26452W    JBIG data (end)
\033*x3885666K          BLACK DOTS: [3885666]
\033*x58783134W         BLACK WHITEDOTS: [58783134]
\033*r0C                END PAGE
\033E                   RESET
\033%-12345X
-----END CODE

Edit: Formatted code



Edited 1 time(s). Last edit at 01/27/2007 02:53PM by Spr0k3t.

Options: ReplyQuote
Re: Wrong print size.
Posted by: Spr0k3t ()
Date: January 27, 2007 02:52PM

This did print something, but the printout was a black rasterized image taking up the whole page. So it looks like the job did go through, but there was some kind of error in the process.

Options: ReplyQuote
Re: Wrong print size.
Posted by: rickrich ()
Date: January 27, 2007 05:09PM

From Changelog:
2007-01-27      Rick Richardson <rick.richardson@comcast.net>
        * foo2lava.c:  Pad JBIG data to a multiple of 16 bytes.

Try it now (wget..., make, etc.) and then:
$ foo2lava-wrapper testpage.ps >xxx
$ lavadecode <xxx
$ nc 192.168.1.12 9100 < xxx  # Replace 192... with IP address

Options: ReplyQuote
Re: Wrong print size.
Posted by: Spr0k3t ()
Date: January 27, 2007 09:23PM

Give me a bit on this, working on dinner and I'll have it done by the nights over. Thanks again for the awesome support.

Options: ReplyQuote
Re: Wrong print size.
Posted by: Spr0k3t ()
Date: January 28, 2007 01:20AM

Okay, checking the print status gives the same error message "VIDEO UNDERRUN" and the print job still goes through. The output is identical. I can't do a scan (no scanner) but I can take a fairly detailed picture if you would like. Something I possibly didn't describe well enough earlier, on the left side of the page there is an 8mm stripe of raster graphic and a 2mm blank stripe (top to bottom of the page) and then the rest of the page of raster graphic. I hope I've explained it well enough. Anyway, the testpage.ps output looks nothing like the file. Let me know if you need me to do some more testing.

$ lavadecode <xxx
\033%-12345X@PJL JOB NAME="stdin"
\033%-12345X@PJL JOB USERNAME=""
\033%-12345X@PJL JOB TIMESTAMP="01/28/2007"
\033%-12345X@PJL JOB OSINFO="Linux/2.6.17-10-generic"
\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*r1U                NBIE: [1]
\033*g8W                BW/COLOR: [8]
\033*b1234M             COMPRESSION: [1234]
\033&l2A                PAGE SIZE: [letter]
\033&l255H              PAPER SOURCE: [auto]
\033&l0M                MEDIA TYPE: [plain]
\033&l0E                TOP MARGIN: [0]
\033*r9792S             X RASTER: [9792]
\033*r6400T             Y RASTER: [6400]
\033&l0U
\033&l0Z
\033*p200X              X OFFSET: [200]
\033*p200Y              Y OFFSET: [200]
\033*r1A                [Page 1]
\033*b20V               [black]
                DL = 0, D = 0, P = 1, - = 0, XY = 9792 x 6400
                L0 = 128, MX = 16, MY = 0
                Order   = 3  ILEAVE SMID
                Options = 92  LRLTWO TPDON TPBON DPON
                50 stripes, 0 layers, 1 planes

\033*b65536V    JBIG data (first)
\033*b26464W    JBIG data (end)
\033*x3885666K          BLACK DOTS: [3885666]
\033*x58783134W         BLACK WHITEDOTS: [58783134]
\033*r0C                END PAGE
\033E                   RESET
\033%-12345X

Options: ReplyQuote
Re: Wrong print size.
Posted by: rickrich ()
Date: January 28, 2007 08:09AM

Try this (nc ... < file):

testpage-cups-mono-km2530.prn

Options: ReplyQuote
Re: Wrong print size.
Posted by: Spr0k3t ()
Date: January 28, 2007 11:00AM

Woohoo! We have readable print. Printed as black and white but there were absolutely no errors in between.

Options: ReplyQuote
Re: Wrong print size.
Posted by: rickrich ()
Date: January 28, 2007 06:13PM

From Changelog:
2007-01-28	Rick Richardson <rick.richardson@comcast.net>
	* foo2lava.c:  put in 8 or 26 byte config image data command.

Try it now!



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

Options: ReplyQuote
Re: Wrong print size.
Posted by: Spr0k3t ()
Date: January 28, 2007 06:32PM

We have a black and white printout of what the document is supposed to look like (.ps). Sweet! Now, when I try to print from an application, I still get the SIZE/TYPE ERROR.

$ lavadecode <xxx
\033%-12345X@PJL JOB NAME="stdin"
\033%-12345X@PJL JOB USERNAME=""
\033%-12345X@PJL JOB TIMESTAMP="01/28/2007"
\033%-12345X@PJL JOB OSINFO="Linux/2.6.17-10-generic"
\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*r1U                NBIE: [1]
\033*g8W                BW/COLOR: [8]
                        fmt=2 np=1
                        BLACK:  X=1200, Y=600, unk=0, #=1
\033*b1234M             COMPRESSION: [1234]
\033&l2A                PAGE SIZE: [letter]
\033&l255H              PAPER SOURCE: [auto]
\033&l0M                MEDIA TYPE: [plain]
\033&l0E                TOP MARGIN: [0]
\033*r9792S             X RASTER: [9792,0x2640]
\033*r6400T             Y RASTER: [6400,0x1900]
\033&l0U
\033&l0Z
\033*p200X              X OFFSET: [200]
\033*p200Y              Y OFFSET: [200]
\033*r1A                [Page 1]
\033*b20V               [black]
                        DL = 0, D = 0, P = 1, - = 0, XY = 9792 x 6400
                        L0 = 128, MX = 16, MY = 0
                        Order   = 3  ILEAVE SMID
                        Options = 92  LRLTWO TPDON TPBON DPON
                        50 stripes, 0 layers, 1 planes

\033*b65536V            JBIG data (first) [65536,0x10000]
\033*b26464W            JBIG data (end) [26464,0x6760]
\033*x3885666K          BLACK DOTS: [3885666]
\033*x58783134W         BLACK WHITEDOTS: [58783134]
\033*r0C                END PAGE
\033E                   RESET
\033%-12345X

Options: ReplyQuote
Re: Wrong print size.
Posted by: rickrich ()
Date: January 28, 2007 06:52PM

Do:
$ lpr testpage.ps
then do:
# grep foo2lava /var/log/messages
and report the output.

Options: ReplyQuote
Re: Wrong print size.
Posted by: Spr0k3t ()
Date: January 28, 2007 07:16PM

Here's the output

Jan 27 13:28:56 RF-3800DT foo2lava-wrapper: foo2lava-wrapper testpage.ps
Jan 27 13:28:57 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw  
Jan 27 13:28:57 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g10200x6600 -p2 -m0 -n1 -d1 -s255 -z0  -u 204x100 -l 204x100       
Jan 27 14:03:53 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p2 -s255 -m1 -d1 -n1
Jan 27 14:03:54 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw  
Jan 27 14:03:54 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g10200x6600 -p2 -m1 -n1 -d1 -s255 -z0  -u 204x100 -l 204x100       
Jan 27 14:07:12 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p2 -s255 -m1 -d1 -n1
Jan 27 14:07:13 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw  
Jan 27 14:07:13 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g10200x6600 -p2 -m1 -n1 -d1 -s255 -z0  -u 204x100 -l 204x100       
Jan 27 14:07:34 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p2 -s255 -m1 -d1 -n1
Jan 27 14:07:35 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw  
Jan 27 14:07:35 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g10200x6600 -p2 -m1 -n1 -d1 -s255 -z0  -u 204x100 -l 204x100       
Jan 27 14:08:41 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p2 -s255 -m1 -d1 -n1
Jan 27 14:08:43 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw  
Jan 27 14:08:43 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g10200x6600 -p2 -m1 -n1 -d1 -s255 -z0  -u 204x100 -l 204x100       
Jan 27 14:08:54 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p2 -s255 -m1 -d1 -n1
Jan 27 14:08:55 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw  
Jan 27 14:08:55 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g10200x6600 -p2 -m1 -n1 -d1 -s255 -z0  -u 204x100 -l 204x100       
Jan 27 14:09:39 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p2 -s255 -m1 -d1 -n1
Jan 27 14:09:40 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw  
Jan 27 14:09:40 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g10200x6600 -p2 -m1 -n1 -d1 -s255 -z0  -u 204x100 -l 204x100       
Jan 27 21:15:33 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p2 -s255 -m1 -d1 -n1
Jan 27 21:15:35 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw  
Jan 27 21:15:35 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g10200x6600 -p2 -m1 -n1 -d1 -s255 -z0  -u 204x100 -l 204x100       
Jan 28 00:05:11 RF-3800DT foo2lava-wrapper: foo2lava-wrapper testpage.ps
Jan 28 00:05:13 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw  
Jan 28 00:05:13 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g10200x6600 -p2 -m0 -n1 -d1 -s255 -z0  -u 204x100 -l 204x100       
Jan 28 17:23:10 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p2 -s255 -m1 -d1 -n1
Jan 28 17:23:12 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw  
Jan 28 17:23:12 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g10200x6600 -p2 -m1 -n1 -d1 -s255 -z0  -u 204x100 -l 204x100       
Jan 28 17:25:03 RF-3800DT foo2lava-wrapper: foo2lava-wrapper testpage.ps
Jan 28 17:25:03 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw  
Jan 28 17:25:03 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g10200x6600 -p2 -m0 -n1 -d1 -s255 -z0  -u 204x100 -l 204x100       
Jan 28 17:28:04 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r600x600 -p2 -s255 -m1 -d1 -n1
Jan 28 17:28:07 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=pbmraw  
Jan 28 17:28:07 RF-3800DT foo2lava-wrapper: foo2lava -r600x600 -g5100x6600 -p2 -m1 -n1 -d1 -s255 -z0  -u 102x100 -l 102x100       
Jan 28 17:30:25 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r600x600 -p2 -s255 -m1 -d1 -n1
Jan 28 17:30:27 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=pbmraw  
Jan 28 17:30:27 RF-3800DT foo2lava-wrapper: foo2lava -r600x600 -g5100x6600 -p2 -m1 -n1 -d1 -s255 -z0  -u 102x100 -l 102x100       
Jan 28 18:13:56 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r600x600 -p2 -s255 -m1 -d1 -n1
Jan 28 18:13:56 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=pbmraw  
Jan 28 18:13:56 RF-3800DT foo2lava-wrapper: foo2lava -r600x600 -g5100x6600 -p2 -m1 -n1 -d1 -s255 -z0  -u 102x100 -l 102x100

Options: ReplyQuote
Re: Wrong print size.
Posted by: rickrich ()
Date: January 28, 2007 08:23PM

From Changelog:
2007-01-28      Rick Richardson <rick.richardson@comcast.net>
        * foo2lava.c:  put in 8 or 26 byte config image data command.
        * foo2lava-MediaType.xml: use -m0 for plain paper.

Download AND delete and recreate the queues. Then lpr testpage.ps and do:

$ grep foo2lava /var/log/messages
Jan 28 19:09:14 amd foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p2 -s255 -m0 -d1 -n1
Jan 28 19:09:15 amd foo2lava-wrapper: gs8 -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw
Jan 28 19:09:15 amd foo2lava-wrapper: foo2lava -r1200x600 -g10200x6600 -p2 -m0 -n1 -d1 -s255 -z0  -u 204x100 -l 204x100

Should have -r1200x600 and -m0.

Options: ReplyQuote
Re: Wrong print size.
Posted by: Spr0k3t ()
Date: January 29, 2007 09:29PM

Sorry about that Rick, I haven't had a chance to do any testing today, but I'll bring this back up later tonight.

Options: ReplyQuote
Re: Wrong print size.
Posted by: Spr0k3t ()
Date: January 30, 2007 01:09AM

Sigh, I've got to work on this tomorrow. Two jobs + side work is killing me.

Options: ReplyQuote
Re: Wrong print size.
Posted by: Spr0k3t ()
Date: February 02, 2007 08:59PM

Okay, I'm back at this, time to make something happen.

Options: ReplyQuote
Re: Wrong print size.
Posted by: Spr0k3t ()
Date: February 02, 2007 10:42PM

I didn't make any changes. I made sure the printer que was deleted prior to wget/xvf/cd/make/install. The print out is still b&w even though the ps file is color. When I print a test page from CUPS, I get the error "SIZE MISMATCH" but the file is still printed. I went into the printer settings and changed the size back to the default 1200x600 (don't know how it kept the 600x600 settings from four days back.

Feb  2 21:30:32 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r600x600 -p2 -s255 -m0 -d1 -n1
Feb  2 21:30:32 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=pbmraw  
Feb  2 21:30:32 RF-3800DT foo2lava-wrapper: foo2lava -r600x600 -g5100x6600 -p2 -m0 -n1 -d1 -s255 -z0  -u 102x100 -l 102x100       
Feb  2 21:36:27 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p26 -s255 -m0 -d1 -n1
Feb  2 21:36:29 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=a4 -g9920x7016 -r1200x600 -sDEVICE=pbmraw  
Feb  2 21:36:29 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g9920x7016 -p26 -m0 -n1 -d1 -s255 -z0  -u 208x100 -l 208x100       
Feb  2 21:38:12 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p26 -s255 -m0 -d1 -n1
Feb  2 21:38:13 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=a4 -g9920x7016 -r1200x600 -sDEVICE=pbmraw  
Feb  2 21:38:13 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g9920x7016 -p26 -m0 -n1 -d1 -s255 -z0  -u 208x100 -l 208x100

Thanks once again for your patience... we are making progress on this.

Options: ReplyQuote
Re: Wrong print size.
Posted by: Spr0k3t ()
Date: February 02, 2007 10:45PM

What the... I just noticed something. How in the world did the printer go to A4 settings from the Letter settings? Perhaps that's where the issue is revolving around.

Options: ReplyQuote
Re: Wrong print size.
Posted by: Spr0k3t ()
Date: February 02, 2007 10:49PM

I did another lpr testpage.ps and received the test page which looks like an A4 print... but the log states this:

Feb  2 21:45:43 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r600x600 -p2 -s255 -m0 -d1 -n1
Feb  2 21:45:44 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=pbmraw  
Feb  2 21:45:44 RF-3800DT foo2lava-wrapper: foo2lava -r600x600 -g5100x6600 -p2 -m0 -n1 -d1 -s255 -z0  -u 102x100 -l 102x100

Options: ReplyQuote
Re: Wrong print size.
Posted by: Spr0k3t ()
Date: February 02, 2007 11:48PM

WOOOHOOO!!! I got it to print right!!!

Feb  2 21:30:32 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r600x600 -p2 -s255 -m0 -d1 -n1
Feb  2 21:30:32 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=pbmraw  
Feb  2 21:30:32 RF-3800DT foo2lava-wrapper: foo2lava -r600x600 -g5100x6600 -p2 -m0 -n1 -d1 -s255 -z0  -u 102x100 -l 102x100       
Feb  2 21:36:27 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p26 -s255 -m0 -d1 -n1
Feb  2 21:36:29 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=a4 -g9920x7016 -r1200x600 -sDEVICE=pbmraw  
Feb  2 21:36:29 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g9920x7016 -p26 -m0 -n1 -d1 -s255 -z0  -u 208x100 -l 208x100       
Feb  2 21:38:12 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p26 -s255 -m0 -d1 -n1
Feb  2 21:38:13 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=a4 -g9920x7016 -r1200x600 -sDEVICE=pbmraw  
Feb  2 21:38:13 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g9920x7016 -p26 -m0 -n1 -d1 -s255 -z0  -u 208x100 -l 208x100       
Feb  2 21:40:15 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p26 -s255 -m0 -d1 -n1
Feb  2 21:40:16 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=a4 -g9920x7016 -r1200x600 -sDEVICE=pbmraw  
Feb  2 21:40:16 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g9920x7016 -p26 -m0 -n1 -d1 -s255 -z0  -u 208x100 -l 208x100       
Feb  2 21:45:43 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r600x600 -p2 -s255 -m0 -d1 -n1
Feb  2 21:45:44 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=pbmraw  
Feb  2 21:45:44 RF-3800DT foo2lava-wrapper: foo2lava -r600x600 -g5100x6600 -p2 -m0 -n1 -d1 -s255 -z0  -u 102x100 -l 102x100       
Feb  2 21:50:46 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -c -r600x600 -p2 -s255 -m0 -d1 -n1
Feb  2 21:50:47 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=pksmraw  
Feb  2 21:50:47 RF-3800DT foo2lava-wrapper: foo2lava -r600x600 -g5100x6600 -p2 -m0 -n1 -d1 -s255 -z0 -c -u 102x100 -l 102x100       
Feb  2 21:52:21 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p26 -s255 -m0 -d1 -n1
Feb  2 21:52:22 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=a4 -g9920x7016 -r1200x600 -sDEVICE=pbmraw  
Feb  2 21:52:22 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g9920x7016 -p26 -m0 -n1 -d1 -s255 -z0  -u 208x100 -l 208x100       
Feb  2 22:05:20 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -c -r1200x600 -p2 -s255 -m0 -d1 -n1
Feb  2 22:05:23 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk  
Feb  2 22:05:23 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g10200x6600 -p2 -m0 -n1 -d1 -s255 -z0 -c -u 204x100 -l 204x100   -B -A   
Feb  2 22:06:44 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -c -r1200x600 -p2 -s255 -m0 -d1 -n1
Feb  2 22:22:15 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -c -r1200x600 -p2 -s255 -m0 -d1 -n1
Feb  2 22:22:18 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk  
Feb  2 22:22:18 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g10200x6600 -p2 -m0 -n1 -d1 -s255 -z0 -c -u 204x100 -l 204x100   -B -A   
Feb  2 22:23:55 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -c -r1200x600 -p2 -s255 -m0 -d1 -n1
Feb  2 22:26:25 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p26 -s255 -m0 -d1 -n1
Feb  2 22:26:27 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=a4 -g9920x7016 -r1200x600 -sDEVICE=pbmraw  
Feb  2 22:26:27 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g9920x7016 -p26 -m0 -n1 -d1 -s255 -z0  -u 208x100 -l 208x100       
Feb  2 22:26:54 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p26 -s255 -m0 -d1 -n1
Feb  2 22:26:56 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=a4 -g9920x7016 -r1200x600 -sDEVICE=pbmraw  
Feb  2 22:26:56 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g9920x7016 -p26 -m0 -n1 -d1 -s255 -z0  -u 208x100 -l 208x100       
Feb  2 22:27:24 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p26 -s255 -m0 -d1 -n1
Feb  2 22:27:26 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=a4 -g9920x7016 -r1200x600 -sDEVICE=pbmraw  
Feb  2 22:27:26 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g9920x7016 -p26 -m0 -n1 -d1 -s255 -z0  -u 208x100 -l 208x100       
Feb  2 22:28:37 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p26 -s255 -m0 -d1 -n1
Feb  2 22:28:39 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=a4 -g9920x7016 -r1200x600 -sDEVICE=pbmraw  
Feb  2 22:28:39 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g9920x7016 -p26 -m0 -n1 -d1 -s255 -z0  -u 208x100 -l 208x100       
Feb  2 22:29:54 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p26 -s255 -m0 -d1 -n1
Feb  2 22:29:56 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=a4 -g9920x7016 -r1200x600 -sDEVICE=pbmraw  
Feb  2 22:29:56 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g9920x7016 -p26 -m0 -n1 -d1 -s255 -z0  -u 208x100 -l 208x100       
Feb  2 22:31:56 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -c -r600x600 -p2 -s255 -m0 -d1 -n1
Feb  2 22:31:58 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=pksmraw  
Feb  2 22:31:58 RF-3800DT foo2lava-wrapper: foo2lava -r600x600 -g5100x6600 -p2 -m0 -n1 -d1 -s255 -z0 -c -u 102x100 -l 102x100       
Feb  2 22:33:02 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -c -r600x600 -p2 -s255 -m0 -d1 -n1
Feb  2 22:33:04 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=pksmraw  
Feb  2 22:33:04 RF-3800DT foo2lava-wrapper: foo2lava -r600x600 -g5100x6600 -p2 -m0 -n1 -d1 -s255 -z0 -c -u 102x100 -l 102x100       
Feb  2 22:33:17 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -c -r600x600 -p2 -s255 -m0 -d1 -n1
Feb  2 22:33:19 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g5100x6600 -r600x600 -sDEVICE=pksmraw  
Feb  2 22:33:19 RF-3800DT foo2lava-wrapper: foo2lava -r600x600 -g5100x6600 -p2 -m0 -n1 -d1 -s255 -z0 -c -u 102x100 -l 102x100       
Feb  2 22:35:50 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p26 -s255 -m0 -d1 -n1
Feb  2 22:35:53 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=a4 -g9920x7016 -r1200x600 -sDEVICE=pbmraw  
Feb  2 22:35:53 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g9920x7016 -p26 -m0 -n1 -d1 -s255 -z0  -u 208x100 -l 208x100       
Feb  2 22:37:32 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p26 -s255 -m0 -d1 -n1
Feb  2 22:37:35 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=a4 -g9920x7016 -r1200x600 -sDEVICE=pbmraw  
Feb  2 22:37:35 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g9920x7016 -p26 -m0 -n1 -d1 -s255 -z0  -u 208x100 -l 208x100       
Feb  2 22:38:11 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -c -r1200x600 -p2 -s255 -m0 -d1 -n1
Feb  2 22:38:16 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk  
Feb  2 22:38:16 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g10200x6600 -p2 -m0 -n1 -d1 -s255 -z0 -c -u 204x100 -l 204x100   -B -A   
Feb  2 22:39:34 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -r1200x600 -p2 -s255 -m0 -d1 -n1
Feb  2 22:39:37 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw  
Feb  2 22:39:37 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g10200x6600 -p2 -m0 -n1 -d1 -s255 -z0  -u 204x100 -l 204x100

Now here's the catch... color will not work. If I set the size to letter and the type to color it hangs in CUPS and does not make it to the printer (checked via the built in print manager). I did try changing the sizes from 1200x600 to 2400x600 and 600x600 and it still worked fine. This makes me happy so far. I'd love to get the color working if at all possible.

Thanks again for your patience.



Edited 1 time(s). Last edit at 02/02/2007 11:49PM by Spr0k3t.

Options: ReplyQuote
Re: Wrong print size.
Posted by: Spr0k3t ()
Date: February 03, 2007 12:02AM

Another minor note. When printing at 600x600 the page is off-center. It's shifted down and to the right by 1/4".

Options: ReplyQuote
Re: Wrong print size.
Posted by: rickrich ()
Date: February 03, 2007 12:55AM

Try this:
$ foo2lava-wrapper -c testpage.ps >xxx
$ nc 192.168.1.12 9100 < xxx  # Replace 192... with IP address

Options: ReplyQuote
Re: Wrong print size.
Posted by: Spr0k3t ()
Date: February 03, 2007 02:12AM

When I do this, there is no response from the terminal. It's like the terminal is locked solid. I checked the printer's information and it changed from ENERGY SAVER to READY. It recognizes that there is something being sent and the log shows this as well.

Feb  3 01:03:15 RF-3800DT foo2lava-wrapper: foo2lava-wrapper -c testpage.ps
Feb  3 01:03:18 RF-3800DT foo2lava-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk  
Feb  3 01:03:18 RF-3800DT foo2lava-wrapper: foo2lava -r1200x600 -g10200x6600 -p2 -m0 -n1 -d1 -s255 -z0 -c -u 204x100 -l 204x100   -B -A

Options: ReplyQuote
Re: Wrong print size.
Posted by: rickrich ()
Date: February 03, 2007 02:35AM

Spr0k3t Wrote:
-------------------------------------------------------
> Another minor note. When printing at 600x600 the
> page is off-center. It's shifted down and to the
> right by 1/4".
2007-02-03      Rick Richardson <rick.richardson@comcast.net>
        * foo2lava.c:  Set XOFFSET/YOFFSET to ResX / 6.

Options: ReplyQuote
Re: Wrong print size.
Posted by: rickrich ()
Date: February 03, 2007 03:06AM


Options: ReplyQuote
Re: Wrong print size.
Posted by: Spr0k3t ()
Date: February 03, 2007 03:33AM

Tried the first KM/.prn file and received the same response, it's like the terminal locks solid (ctrl-c works though). I do get a very solid color print from this file. The print is offset by 1/16th inch down the page, otherwise centered horizontally (1200x600 resolution). I tried the other file (mc2530) and it went through like gangbusters, but nothing comes out of the printer.

No additional entries were found in the log/messages.

Options: ReplyQuote
Re: Wrong print size.
Posted by: rickrich ()
Date: February 03, 2007 08:34AM

Try this (nc ... < file):

testpage-cups-color-mc2530.prn

Options: ReplyQuote
Re: Wrong print size.
Posted by: Spr0k3t ()
Date: February 03, 2007 01:41PM

The printer comes on like I've sent a print job to it, but nothing prints out. No changes in the log and nothing showing up in the CUPS que.

Options: ReplyQuote
Re: Wrong print size.
Posted by: rickrich ()
Date: February 03, 2007 02:37PM

Try this (nc ... < file):

testpage-color-win.prn

And this:

testpage-cups-color-mc2530.prn

Options: ReplyQuote
Pages: 12Next
Current Page: 1 of 2


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