From: Mildred Ki'L. <mil...@mi...> - 2020-03-18 10:07:05
|
Hello, I own an OKi MC362dn printer which has a driver from OKi with a few bugs. Specifically, when I want to print 2 copies of a document I end up with 4 copies printed, if I ask for 3 copies, I end up with 9, ... and the same for nup printing (2 pages per sheet gives me 4, ...) I just realized that the official driver from OKi was free software. it's downloadable here: https://www.oki.com/fr/printing/support/drivers-and-utilities/?id=46265201FZ01&tab=drivers-and-utilities&productCategory=colour-multifunction&sku=44952104&lang=ac3 And the driver contains the following preamble: *% ========================================================== *% GPL $Revision: 1.0 $ $RCSfile: OKMC362_a.ppd,v $ *% *% Note) *% This PostScript Printer Description(PPD) file is free software; you *% can redistribute it and/or modify it under the terms of the GNU *% General Public License version 2 or later as published by the Free *% Software Foundation. *% *% In addition to the permissions in the GNU General Public License, *% Oki Data Corporation gives you unlimited permission to link the *% PostScript code fragments herein into your PostScript documents to *% form an excutable for enabling printer-specific features, and *% distribute those combinations without any restrictions from the use *% of this PPD file. (The General Public License restrictions do apply *% in other respects; for example, they cover modification of the *% file, and distribution when not merged into a PostScript document.) *% *% This PPD is distributed in the hope that it will be useful, but *% WITHOUT ANY WARRANTY; without even the implied warranty of *% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *% General Public License for more details. *% *% You should have received a copy of the GNU General Public License *% along with this PPD; see the file COPYING. *% *% *% ========================================================== I suppose it makes it free software. Would it be possible to include the driver in gutemprint, and fix it at the same time ? I looked at the PPD file, but I have no knowledge about driver coding except it's postscript and I have some basic knowledge about that. I couldn't find anywhere anything about nup printing or the number of copies. is this really handled at the driver level, or is it handled at the CUPS level. Can the driver fix those bugs ? Thank you for your help, Mildred |
From: Robert K. <rl...@al...> - 2020-03-18 12:51:54
|
On Wed, 18 Mar 2020 11:06:46 +0100, Mildred Ki'Lya wrote: > Hello, > > I own an OKi MC362dn printer which has a driver from OKi with a few bugs. Specifically, when I want to print 2 copies of a document I end up with 4 copies printed, if I ask for 3 copies, I end up with 9, ... and the same for nup printing (2 pages per sheet gives me 4, ...) > > I just realized that the official driver from OKi was free software. it's downloadable here: > > https://www.oki.com/fr/printing/support/drivers-and-utilities/?id=46265201FZ01&tab=drivers-and-utilities&productCategory=colour-multifunction&sku=44952104&lang=ac3 > > And the driver contains the following preamble: > > *% ========================================================== > *% GPL $Revision: 1.0 $ $RCSfile: OKMC362_a.ppd,v $ > *% > *% Note) > *% This PostScript Printer Description(PPD) file is free software; you > *% can redistribute it and/or modify it under the terms of the GNU > *% General Public License version 2 or later as published by the Free > *% Software Foundation. > > I suppose it makes it free software. The PPD file is, at any rate. > Would it be possible to include the driver in gutemprint, and fix it at the same time ? > > I looked at the PPD file, but I have no knowledge about driver coding except it's postscript and I have some basic knowledge about that. I couldn't find anywhere anything about nup printing or the number of copies. is this really handled at the driver level, or is it handled at the CUPS level. Can the driver fix those bugs ? > > Thank you for your help, What I suspect is happening is that there's a problem with the PPD file whereby it's telling CUPS that CUPS itself has to handle multiple copies (so CUPS sends multiple copies to the printer) while also passing through the command to generate multiple copies (that would explain why when you ask for 2 copies you get 4, and when you ask for 3 you get 9). Could you reply attaching the actual PPD file you're using (not simply the one that was downloaded) so we could take a look at it? -- Robert Krawitz <rl...@al...> *** MIT Engineers A Proud Tradition http://mitathletics.com *** Member of the League for Programming Freedom -- http://ProgFree.org Project lead for Gutenprint -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton |
From: Mildred Ki'L. <mil...@mi...> - 2020-03-18 20:31:24
Attachments:
OKM362_a110.ppd
|
Hi, thanks for your answer Le 18/03/2020 à 13:51, Robert Krawitz a écrit : >> Would it be possible to include the driver in gutemprint, and fix it at the same time ? One other advantage of including it in gutemprint is that it would make it easy to install the printer without downloading the driver manually. Are there guidelines for inclusion? >> >> I looked at the PPD file, but I have no knowledge about driver coding except it's postscript and I have some basic knowledge about that. I couldn't find anywhere anything about nup printing or the number of copies. is this really handled at the driver level, or is it handled at the CUPS level. Can the driver fix those bugs ? >> >> Thank you for your help, > What I suspect is happening is that there's a problem with the PPD > file whereby it's telling CUPS that CUPS itself has to handle multiple > copies (so CUPS sends multiple copies to the printer) while also > passing through the command to generate multiple copies (that would > explain why when you ask for 2 copies you get 4, and when you ask for > 3 you get 9). > > Could you reply attaching the actual PPD file you're using (not simply > the one that was downloaded) so we could take a look at it? See attatched the PPD. I doubled checked to be sure that's the PPD I was using and I created a document with LibreOffice and there, the nup setting and the number of pages setting worked correctly (perhaps it's handled at the Libreoffice level). I checked with evince, and there: - selecting 2 pages per sheet gives you 4 - 4 pages per sheet gives you 16 - 6 pages per sheet gives you something like 36 and about the number of copies: - 2 copies gives you 4 - 3 copies gives you 9 And looking at the PPD, each setting is commented in its own section, but there is nothing I see about the nup setting or the number of copies. Indeed, it seems like the setting is applied twice, perhaps there is a missing option in the PPD but I admit I don't know PPD language enough to be able to see that. Thanks. |