Kyocera KM-1635/KM-2035 :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
KM-1635 Duplex problem [solved]
Posted by: vallstn ()
Date: October 08, 2009 07:29AM

Dear All,

I have configured KM-1635 (Kyocera) on Ubuntu 9.04 with cups server. When printing with windows client i can able to print duplex. But in Linux clients the Duplex option is hided. Need Help.

Vallstn



Edited 1 time(s). Last edit at 04/28/2010 06:44AM by rickrich.

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: rickrich ()
Date: October 08, 2009 09:23AM

Need a "duplex.prn" (two pages front and back) from Windows (Print to file).

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: vallstn ()
Date: October 09, 2009 07:37AM

sir, I have send the duplex.prn to your mail ID

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: rickrich ()
Date: October 09, 2009 11:36AM

From the Changelog:
2009-10-09      Rick Richardson <rick.richardson@comcast.net>
        * foo2oak, foo2oak-wrapper, foomatic, and PPD's:
            Add Duplex option for Kyocera Mita KM-1635, KM-2035.
Please re-download, make, make install, etc. Then, delete and recreate the printer.

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: vallstn ()
Date: October 10, 2009 12:53AM

Thanks,

Now duplex option is enabled on linux clients, but the print out is comes on single side papers. It prints duplex correctly from windows clients, need your advice.

vallstn.

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: rickrich ()
Date: October 10, 2009 07:34AM

Redownload, etc.

2009-10-10 Rick Richardson <rick.richardson@comcast.net>
* foo2oak: Add a DUPLEX record type.

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: vallstn ()
Date: October 10, 2009 09:56AM

Once again Thanking you,

Tomorrow is holiday for my office (State Govt.). I can Check it on Monday and give feed back to you,

Vallstn.

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: vallstn ()
Date: October 12, 2009 03:01AM

Thanks,

Now I can able to print from Ubuntu clients, But the thing is I am getting the second page in correct format, First page is Inverted and only half page is printed (i.e. middle to right end - left side to middle is missing). Need further assistance.

Vallstn.

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: rickrich ()
Date: October 12, 2009 10:01AM

Did you "Flip on long edge" or "Flip on short edge".

Need a "duplex-long.prn" (two pages front and back) from Windows (Print to file),
and a "duplex-short.prn".

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: vallstn ()
Date: October 12, 2009 10:38AM

I have used flip on long edge. I shall sent the .prn files tomorrow morning

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: rickrich ()
Date: October 12, 2009 04:51PM

Try this:
$ wget http://www.rkkda.com/tmp/km1635/1w.prn
$ lpr -oraw 1w.prn
and:
$ wget http://www.rkkda.com/tmp/km1635/2l.prn
$ lpr -oraw 2l.prn

What happened???

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: vallstn ()
Date: October 13, 2009 06:09AM

Thanks,

With 1w.prn I got Correct print out on both side with short edge ( Success Story print out sent by us I hope).

With 2w.prn I got correct print out on both side with long edge (Ubuntu Sample print out)

Can I download Corrected Driver.

Vallstn

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: vallstn ()
Date: October 13, 2009 06:23AM

Sorry, I missed one thing. With 1w.prn one side is inverted 180 degree (upside down) compare to another side. (short edge duplex)


Long side duplex is ok. (ubuntu sample)

vallstn.

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: rickrich ()
Date: October 13, 2009 06:37AM

{code]
2009-10-13 Rick Richardson <rick.richardson@comcast.net>
* foo2oak, foo2oak-wrapper: Add short edge

2009-10-12 Rick Richardson <rick.richardson@comcast.net>
* foo2oak, foo2oak-wrapper:
Change papercode UNK for KM-1635
Add OAK_DRIVER record.
Adjust JBG parms
[/code]

Please download, make, etc.

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: vallstn ()
Date: October 13, 2009 07:47AM

Sir,

The thing is different. I have install new diver and printer on ubuntu server. Now the windows clients can print through this server. Print from linux server and clients shows Jop completed and no printout comes out. I am doing anything wrong.

Just I downloded the new foo2zjs

unpack it

issued the following commands

sudo make

sudo make install

removed old printer

added the printer


vallstn

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: rickrich ()
Date: October 13, 2009 09:13AM

$ cd foo2zjs
$ foo2oak-wrapper -z1 -p9 testpage.ps > xxx.prn
$ ls -l xxx.prn
-rw-rw-r-- 1 rick rick 74784 2009-10-13 08:08 xxx.prn

$ oakdecode -dxxx xxx.prn
{snip}

$ eog xxx-*
{looks good}

Power down and up the printer...

$ sudo cp xxx.prn /dev/usb/lp0 # For USB

-OR-

$ nc 192.168.X.Y 9100 < xxx.prn # For network

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: vallstn ()
Date: October 13, 2009 11:22AM

Thank you, I shall try tomorrow morning, and come with feedback.

vallstn

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: vallstn ()
Date: October 14, 2009 01:23AM

The following results received.

user@IT1:~$ cd foo2zjs
user@IT1:~/foo2zjs$ foo2oak-wrapper -z1 -p9 testpage.ps > xxx.prn
*** buffer overflow detected ***: foo2oak terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb804bda8]
/lib/tls/i686/cmov/libc.so.6[0xb8049eb0]
/lib/tls/i686/cmov/libc.so.6[0xb80495a8]
/lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0xc8)[0xb7fbbbb8]
/lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x10e1)[0xb7f8e911]
/lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa4)[0xb8049654]
/lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0xb804959d]
foo2oak[0x804a2ec]
foo2oak[0x804d6ef]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7f64775]
foo2oak[0x8048b21]
======= Memory map: ========
08048000-08056000 r-xp 00000000 08:02 3785035 /usr/bin/foo2oak
08056000-08057000 r--p 0000d000 08:02 3785035 /usr/bin/foo2oak
08057000-0805a000 rw-p 0000e000 08:02 3785035 /usr/bin/foo2oak
0805a000-0805b000 rw-p 0805a000 00:00 0
09e5b000-09e7c000 rw-p 09e5b000 00:00 0 [heap]
b7f3e000-b7f4b000 r-xp 00000000 08:02 2392129 /lib/libgcc_s.so.1
b7f4b000-b7f4c000 r--p 0000c000 08:02 2392129 /lib/libgcc_s.so.1
b7f4c000-b7f4d000 rw-p 0000d000 08:02 2392129 /lib/libgcc_s.so.1
b7f4d000-b7f4e000 rw-p b7f4d000 00:00 0
b7f4e000-b80aa000 r-xp 00000000 08:02 2409348 /lib/tls/i686/cmov/libc-2.9.so
b80aa000-b80ab000 ---p 0015c000 08:02 2409348 /lib/tls/i686/cmov/libc-2.9.so
b80ab000-b80ad000 r--p 0015c000 08:02 2409348 /lib/tls/i686/cmov/libc-2.9.so
b80ad000-b80ae000 rw-p 0015e000 08:02 2409348 /lib/tls/i686/cmov/libc-2.9.so
b80ae000-b80b1000 rw-p b80ae000 00:00 0
b80ca000-b80cc000 rw-p b80ca000 00:00 0
b80cc000-b80cd000 r-xp b80cc000 00:00 0 [vdso]
b80cd000-b80e9000 r-xp 00000000 08:02 2392078 /lib/ld-2.9.so
b80e9000-b80ea000 r--p 0001b000 08:02 2392078 /lib/ld-2.9.so
b80ea000-b80eb000 rw-p 0001c000 08:02 2392078 /lib/ld-2.9.so
bfcd5000-bfcea000 rw-p bffeb000 00:00 0 [stack]
Aborted
user@IT1:~/foo2zjs$ ls -l xxx.prn
-rw-r--r-- 1 user user 0 2009-10-14 10:12 xxx.prn
user@IT1:~/foo2zjs$ -rw-rw-r-- 1 rick rick 74784 2009-10-13 08:08 xxx.prn
bash: -rw-rw-r--: command not found
user@IT1:~/foo2zjs$ oakdecode -dxxx xxx.prn
user@IT1:~/foo2zjs$ eog xxx-*


The result from Eye of Gnome
No images found in 'file:///home/user/foo2zjs/xxx-*'.


user@IT1:~/foo2zjs$ sudo cp xxx.prn /dev/usb/lp0
cp: cannot create regular file `/dev/usb/lp0': No such file or directory
user@IT1:~/foo2zjs$

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: vallstn ()
Date: October 14, 2009 01:25AM

Now I have re installed the old foo2zjs driver, After that printing enabled from linux clients without duplex.

Need advice.

Vallstn.

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: rickrich ()
Date: October 14, 2009 06:12AM

Download again. Just do make, make install.

Options: ReplyQuote
Re: KM-1635 Duplex problem
Posted by: vallstn ()
Date: October 14, 2009 07:04AM

Thanking You, Cheers.

Finally Everything is ok.

Once again thanking you.

vallstn

Options: ReplyQuote


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