Le Jeudi 14 Septembre 2006 10:31, Jerome Alet a écrit : > When printing in raw mode, the backend has to generate the copies, > but since Jasmine is an intermediate backend, it shouldn't do anything > itself.
> So what Jasmine **should** do is simply multiply pkpgcounter's return > value by the number of copies passed as an argument, and let > the original backend decide if several copies have to be generated > or not. Well, I need to verify, but I think that is exactly JASmine-Backend does. In fact, I have a doubt : JASmine _always_ launches the real backend using 6 arguments, giving it the path to the document to print. So I guess that the real backend always think to be in the same mode, and never generates copies itself. Because : * 6 args : JASmine gets the document's path, and passes it to the real backend with 6 args. So, both JASmine and the real backend work in the same mode, and I thinks this is good. * 5 args : JASmine reads STDIN and sends the data into a tempfile, then launches the real backend with _6_ arguments. JASmine and the real backend are thus NOT in the same mode. I guess this is an error, because the backend will think it does not have to generate copies. I just got aware of this, because of this thread. Well, I'm not sure, but I need to work on this. For 0.0.4 ;-) ? -- ,, (°> Nicolas Costes /|\ IUT de La Roche / Yon ( ^ ) Clé publique: http://www.keyserver.net/ ^ ^ Musique libre: http://musique-legale.info/ - http://www.jamendo.com/?s=concept -- Attached file included as plaintext by Listar -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBFCSj1Nc2aXy7LuOgRAki6AJ4i9AeZcF3tl0Z7LZuy2RMz5N0QXwCfcOUJ i3F2rB6I168nXL8VRfBt3xA= =5kCh -----END PGP SIGNATURE----- -- 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/

