Nicolas Costes wrote: >Le mardi 20 février 2007 11:47, Regis Gras a écrit : > > >>Nicolas Costes wrote: >> >> >>>Well, it works here... I actually get 2 sheets printed. >>> >>> >>Here, the bug is with all printers I tested >> Samsung ML-2551N >> Kyocera FS-3900DN >> Xerox 8500 DN >> >> > >Are these ink jets printers ? > > > The majority are laser printer but there are some ink jets.
>>Explain me where, to have a look >> >> > >Well... This bug is structural : I had made design decisions when first >coding JASmine-Backend, which are wrong. Just because I did not >understand the way CUPS' backends handle multiple copies. > >Let's say that sometimes a backend is called with 5 arguments, sometimes >6, and based on this number, the backend must handle copies differently. >My mistake was to ignore that, so wether jasmine is called with 5 or 6 >args, the real backend is alway with 6. > >Strangely, this has never been an issue here, because on my servers >jasmine is _always_ called with 6 arguments (do not ask me why). > >I thinks our current problem is that when called with 5 arguments, jasmine >lauches the real backend with 6, so both handle copies, leading to square >number of sheets being output. > >And you know what is funny ? Jasmine _does_not_ handle copies. It just >store this number in the database, alog with the number of pages of a >single copy, then calls the real backend telling it how many copies to >output. > >So where is it done ? Well... Even ignoring this, I should be able to fix >it by telling jasmine to respect the number of arguments ! That is what >I'm trying now, but I have problems with Perl ;-). > >Any Perl specialist, here ? > > > The problem is hard. I read perl but I'm not a specialist > > >>how they are configured, wich backend ? >>What do you want to know ? >> >> > >Hmmmm... Could you provide your /etc/cups/printers.conf, please ? > > printers.conf is attached. Currently it is without jasmine. -- ================================================================== | Régis Gras | http://www-ledss.ujf-grenoble.fr | | D.C.M. | mailto:[EMAIL PROTECTED] | | 301, rue de la chimie | -------------- | | DU BP 53 | Tel 04 76 51 41 76 | | 38041 Grenoble Cedex 9 | Fax 04 76 51 40 89 | ================================================================== -- Attached file included as plaintext by Listar -- -- File: printers.conf # Printer configuration file for CUPS v1.1.23 # Written by cupsd on Wed 31 Jan 2007 06:06:14 PM CET <Printer bacon> Info bacon DeviceURI socket://152.77.14.254 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <DefaultPrinter bazaine> Info bazaine DeviceURI socket://152.77.14.211 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer biglex> Info biglex DeviceURI socket://152.77.14.128 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer boticelli> Info boticelli DeviceURI socket://152.77.14.160 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer chimxerox> Info chimxerox DeviceURI socket://152.77.14.240 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer edit-doc> Info edit-doc DeviceURI socket://192.168.176.206 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer hp_cp1700> Info hp_cp1700 DeviceURI socket://152.77.14.126 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer impchimio> Info impchimio DeviceURI socket://152.77.14.89 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer imprmn> Info imprmn DeviceURI socket://193.54.242.29 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer impvalid> Info impvalid DeviceURI socket://192.168.176.205 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer leoblais> Info leoblais DeviceURI socket://192.168.176.204 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer LexmarkPiece101> Info LexmarkPiece101 DeviceURI socket://152.77.14.157 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer lwld3> Info lwld3 DeviceURI socket://152.77.14.210 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer lxmld2> Info lxmld2 DeviceURI socket://152.77.14.211 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer murillo> Info murillo DeviceURI socket://152.77.14.156 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer npc> Info npc DeviceURI socket://152.77.14.240 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer pcl> Info pcl DeviceURI socket://152.77.14.240 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer prtregine> Info prtregine DeviceURI socket://152.77.14.117 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer ps2> Info ps2 DeviceURI socket://152.77.14.128 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer rouault> Info rouault DeviceURI socket://152.77.14.157 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> <Printer vasarely> Info vasarely DeviceURI socket://152.77.14.154 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> -- Put JASmine in your Cups ! To unsubscribe : mailto:[EMAIL PROTECTED] List archives : http://dir.gmane.org/gmane.comp.printing.jasmine.user http://www.mail-archive.com/jasmine%40ml.free.fr/ Web site : http://jasmine.berlios.de/

