Oki C5500n, C5600n, C5650n, C5800n :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
OKI C5600 duplex printing [ubuntu]
Posted by: bermudafunk ()
Date: December 01, 2009 04:44AM

hi

i have an OKI C5600 printer and just switched from windows to ubuntu. downloading, compiling and installing the driver was no problem, but somehow duplex printing doesn't work. i already edited usr/bin/foo2hiperc-wrapper and set DUPLEX=2 (it was =1) ... [1=off, 2=longedge, 3=shortedge]

but still it won't print on both sides, so what am i supposed to do?

thanks for your help
greetings

Options: ReplyQuote
Re: OKI C5600 duplex printing [ubuntu]
Posted by: rickrich ()
Date: December 01, 2009 07:16AM

Set automatic duplex with:

$ system-config-printer
Printer Options -> Duplex Printing -> off/long/short

Don't edit the scripts!!!!

Options: ReplyQuote
Re: OKI C5600 duplex printing [ubuntu]
Posted by: bermudafunk ()
Date: December 01, 2009 07:30AM

well thats what i tried first, but it didnt work...

Options: ReplyQuote
Re: OKI C5600 duplex printing [ubuntu]
Posted by: rickrich ()
Date: December 01, 2009 11:06AM


$ cd foo2zjs
$ cat testpage.ps testpage.ps >2pages.ps

$ foo2hiperc-wrapper -d2 2pages.ps > xxx
$ nc 192.168.x.y 9100 <xxx

$ foo2hiperc-wrapper -d3 2pages.ps > xxx
$ nc 192.168.x.y 9100 <xxx

What does that say and print????



Edited 1 time(s). Last edit at 12/03/2009 05:05PM by rickrich.

Options: ReplyQuote
Re: OKI C5600 duplex printing [ubuntu]
Posted by: bermudafunk ()
Date: December 03, 2009 04:56AM

it's printing on 2 pages as usual...except it's black&white. what you mean by "what does it say"?

Options: ReplyQuote
Re: OKI C5600 duplex printing [ubuntu]
Posted by: rickrich ()
Date: December 03, 2009 07:34AM

Do you have an "automatic" duplexer???

Options: ReplyQuote
Re: OKI C5600 duplex printing [ubuntu]
Posted by: bermudafunk ()
Date: December 03, 2009 08:11AM

as far as i know there a 2 versions of my printer (c5600). one with a duplexer included and one without a duplexer, for which you can buy one. i have the one with a duplexer included, if that's answering your question.

Options: ReplyQuote
Re: OKI C5600 duplex printing [ubuntu]
Posted by: rickrich ()
Date: December 03, 2009 05:07PM

From the Changelog:
2009-12-03      Rick Richardson <rick.richardson@comcast.net>
        * foo2hiperc.c: Set Duplex like this:
            if (Duplex == DMDUPLEX_OFF)
                    rec[6] = be32(0);
            else
                    rec[6] = be32( (PageNum & 1) ? 0x100 : 0x200);
Please download, make, make install and then:
$ foo2hiperc-wrapper -d2 2pages.ps > xxx
$ nc 192.168.x.y 9100 <xxx

Options: ReplyQuote
Re: OKI C5600 duplex printing [ubuntu]
Posted by: bermudafunk ()
Date: December 08, 2009 05:59AM

thank you so much, it's working perfectly now! i'll send you a little donation to express my appreciation for your help :-)

Options: ReplyQuote


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