[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gimp-print-devel
Subject:    Re: [Gimp-print-devel] Debian Installer with foomatic problem
From:       Steve Letter <sletter1 () yahoo ! com>
Date:       2016-04-18 16:46:06
Message-ID: 2135742708.2807145.1460997966645.JavaMail.yahoo () mail ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thanks but forget it, it didn't fix it.   I was mistaken.   I have modified the .deb \
package build so foomatic and ijs portions don't build and I have gotten it built. 

I still want to make check before I push.   I also will have to update since I am \
still running off the cvs source.  Steve Letter

      From: Robert Krawitz <rlk@alum.mit.edu>
 To: Steve Letter <sletter1@yahoo.com> 
Cc: gimp-print-devel@lists.sourceforge.net
 Sent: Monday, April 18, 2016 10:40 AM
 Subject: Re: [Gimp-print-devel] Debian Installer with foomatic problem
   
On Mon, 18 Apr 2016 11:24:11 +0000 (UTC), Steve Letter wrote:
> Yes, this fixed the problem, thank you.

Do you want to push it with your change or do you want me to push it first?

> From: Robert Krawitz <rlk@alum.mit.edu>
> To: Steve Letter <sletter1@yahoo.com> 
> Cc: gimp-print-devel@lists.sourceforge.net
> Sent: Saturday, April 16, 2016 8:15 PM
> Subject: Re: [Gimp-print-devel] Debian Installer with foomatic problem
> 
> On Fri, 15 Apr 2016 14:43:16 +0000 (UTC), Steve Letter wrote:
> > Robert,
> > It is a new file so there is no diff : ) I can send a diff of \
> > src/xml/printers.xml and src/main/Makefile.am if you need them but there are no \
> > surprises in either.   I plan on a check build this weekend, to see what fails \
> > (if anything).
> 
> I'm digging into it now.   PrintoutMode is a special hack used by
> Foomatic.
> 
> > From the code in foomatic-generator:
> 
> ### Mode: NORMAL
> 
> # Lowest resolution which is at least 300x300 dpi (600x600 dpi
> # for Lexmark Z..), low quality level, unidirectional if
> # possible,
> 
> So this code evidently assumes that every printer has a resolution of
> at least 300 DPI, which is clearly not true for at least some of these
> printers, based on the code.
> 
> The shortest-term hack to fix this would be to requier a resolution of
> at least 200 DPI for normal for printers named datamax-oneil.   See if
> this (applied to src/foomatic/foomatic-generator.in) works:
> 
> diff --git a/src/foomatic/foomatic-generator.in \
> b/src/foomatic/foomatic-generator.in index c4e87f0..68dd296 100644
> --- a/src/foomatic/foomatic-generator.in
> +++ b/src/foomatic/foomatic-generator.in
> @@ -1545,7 +1545,10 @@ sub getprintoutmode {
> ($yres < 300)) || # 300x300, (600x600 on Lexmark)
> (($stpprn =~ /^lexmark\-z/) &&
> (($xres < 600) ||
> -                                    ($yres < 600)))) {
> +                                    ($yres < 600))) ||
> +                              (($stpprn =~ /^datamax_oneil/) && # or 200x200 for
> +                              (($xres < 200) ||                        # \
> Datamax-Oneil +                                    ($yres < 200)))) {               \
> # thermal printers $normalbestsymmetry = $symmetry;
> $normalminres = $respersquareinch;
> $normaluni = ($qualstr =~ /uni/);

-- 
Robert Krawitz                                                      \
<rlk@alum.mit.edu>

***   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


  


[Attachment #5 (text/html)]

<html><head></head><body><div style="color:#000; background-color:#fff; \
font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, \
Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr" \
id="yui_3_16_0_ym19_1_1460977272862_22684">Thanks but forget it, it didn't fix \
it.&nbsp; I was mistaken.&nbsp; I have modified the .deb package build so foomatic \
and ijs portions don't build and I have gotten it built. <br></div><div \
id="yui_3_16_0_ym19_1_1460977272862_22737"><br></div><div \
id="yui_3_16_0_ym19_1_1460977272862_22738" dir="ltr">I still want to make check \
before I push.&nbsp; I also will have to update since I am still running off the cvs \
source.<br></div><div \
id="yui_3_16_0_ym19_1_1460977272862_22618"><span></span></div><div \
id="yui_3_16_0_ym19_1_1460977272862_22617">&nbsp;</div><div \
id="yui_3_16_0_ym19_1_1460977272862_22616" class="signature">Steve Letter</div><div \
id="yui_3_16_0_ym19_1_1460977272862_22615" class="qtdSeparateBR"><br><br></div><div \
style="display: block;" id="yui_3_16_0_ym19_1_1460977272862_22574" \
class="yahoo_quoted">  <div id="yui_3_16_0_ym19_1_1460977272862_22573" \
style="font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, \
Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div \
id="yui_3_16_0_ym19_1_1460977272862_22572" style="font-family: HelveticaNeue, \
Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div \
id="yui_3_16_0_ym19_1_1460977272862_22571" dir="ltr"> <font \
id="yui_3_16_0_ym19_1_1460977272862_22614" face="Arial" size="2"> <hr \
id="yui_3_16_0_ym19_1_1460977272862_22651" size="1"> <b \
id="yui_3_16_0_ym19_1_1460977272862_22842"><span \
id="yui_3_16_0_ym19_1_1460977272862_22841" style="font-weight:bold;">From:</span></b> \
Robert Krawitz &lt;rlk@alum.mit.edu&gt;<br> <b><span style="font-weight: \
bold;">To:</span></b> Steve Letter &lt;sletter1@yahoo.com&gt; <br><b><span \
style="font-weight: bold;">Cc:</span></b> gimp-print-devel@lists.sourceforge.net<br> \
<b><span style="font-weight: bold;">Sent:</span></b> Monday, April 18, 2016 10:40 \
AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Gimp-print-devel] \
Debian Installer with foomatic problem<br> </font> </div> <div \
class="y_msg_container"><br>On Mon, 18 Apr 2016 11:24:11 +0000 (UTC), Steve Letter \
wrote:<br clear="none">&gt; Yes, this fixed the problem, thank you.<br \
clear="none"><br clear="none">Do you want to push it with your change or do you want \
me to push it first?<div class="yqt5942141647" id="yqtfd62929"><br clear="none"><br \
clear="none">&gt;&nbsp; &nbsp; &nbsp;  From: Robert Krawitz &lt;<a shape="rect" \
ymailto="mailto:rlk@alum.mit.edu" \
href="mailto:rlk@alum.mit.edu">rlk@alum.mit.edu</a>&gt;<br clear="none">&gt;&nbsp; \
To: Steve Letter &lt;<a shape="rect" ymailto="mailto:sletter1@yahoo.com" \
href="mailto:sletter1@yahoo.com">sletter1@yahoo.com</a>&gt; <br clear="none">&gt; Cc: \
<a shape="rect" ymailto="mailto:gimp-print-devel@lists.sourceforge.net" \
href="mailto:gimp-print-devel@lists.sourceforge.net">gimp-print-devel@lists.sourceforge.net</a><br \
clear="none">&gt;&nbsp; Sent: Saturday, April 16, 2016 8:15 PM<br \
clear="none">&gt;&nbsp; Subject: Re: [Gimp-print-devel] Debian Installer with \
foomatic problem<br clear="none">&gt;&nbsp; &nbsp; <br clear="none">&gt; On Fri, 15 \
Apr 2016 14:43:16 +0000 (UTC), Steve Letter wrote:<br clear="none">&gt;&gt; \
Robert,<br clear="none">&gt;&gt; It is a new file so there is no diff : ) I can send \
a diff of src/xml/printers.xml and src/main/Makefile.am if you need them but there \
are no surprises in either.&nbsp;  I plan on a check build this weekend, to see what \
fails (if anything).<br clear="none">&gt;<br clear="none">&gt; I'm digging into it \
now.&nbsp;  PrintoutMode is a special hack used by<br clear="none">&gt; Foomatic.<br \
clear="none">&gt;<br clear="none">&gt;&gt;From the code in foomatic-generator:<br \
clear="none">&gt;<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; ### Mode: NORMAL<br clear="none">&gt;<br clear="none">&gt;&nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; # Lowest resolution which is at least 300x300 dpi \
(600x600 dpi<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # \
for Lexmark Z..), low quality level, unidirectional if<br clear="none">&gt;&nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # possible,<br clear="none">&gt;<br \
clear="none">&gt; So this code evidently assumes that every printer has a resolution \
of<br clear="none">&gt; at least 300 DPI, which is clearly not true for at least some \
of these<br clear="none">&gt; printers, based on the code.<br clear="none">&gt;<br \
clear="none">&gt; The shortest-term hack to fix this would be to requier a resolution \
of<br clear="none">&gt; at least 200 DPI for normal for printers named \
datamax-oneil.&nbsp;  See if<br clear="none">&gt; this (applied to \
src/foomatic/foomatic-generator.in) works:<br clear="none">&gt;<br clear="none">&gt; \
diff --git a/src/foomatic/foomatic-generator.in \
b/src/foomatic/foomatic-generator.in<br clear="none">&gt; index c4e87f0..68dd296 \
100644<br clear="none">&gt; --- a/src/foomatic/foomatic-generator.in<br \
clear="none">&gt; +++ b/src/foomatic/foomatic-generator.in<br clear="none">&gt; @@ \
-1545,7 +1545,10 @@ sub getprintoutmode {<br clear="none">&gt;&nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ($yres &lt; 300)) || # \
300x300, (600x600 on Lexmark)<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  (($stpprn =~ /^lexmark\-z/) &amp;&amp;<br \
clear="none">&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp;  (($xres &lt; 600) ||<br clear="none">&gt; -&nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ($yres &lt; 600)))) {<br \
clear="none">&gt; +&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; ($yres &lt; 600))) ||<br clear="none">&gt; +&nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  (($stpprn =~ /^datamax_oneil/) \
&amp;&amp; # or 200x200 for<br clear="none">&gt; +&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  (($xres &lt; 200) ||&nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp;  # Datamax-Oneil<br clear="none">&gt; +&nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ($yres &lt; \
200)))) {&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  # thermal \
printers<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; $normalbestsymmetry = $symmetry;<br clear="none">&gt;&nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $normalminres = \
$respersquareinch;<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $normaluni = ($qualstr =~ /uni/);<br \
clear="none"><br clear="none">-- <br clear="none">Robert Krawitz&nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp;  &lt;<a shape="rect" ymailto="mailto:rlk@alum.mit.edu" \
href="mailto:rlk@alum.mit.edu">rlk@alum.mit.edu</a>&gt;<br clear="none"><br \
clear="none">***&nbsp; MIT Engineers&nbsp;  A Proud Tradition&nbsp;  <a shape="rect" \
href="http://mitathletics.com/" target="_blank">http://mitathletics.com </a> ***<br \
clear="none">Member of the League for Programming Freedom&nbsp; --&nbsp; <a \
shape="rect" href="http://progfree.org/" target="_blank">http://ProgFree.org</a><br \
clear="none">Project lead for Gutenprint&nbsp;  --&nbsp; &nbsp; <a shape="rect" \
href="http://gimp-print.sourceforge.net/" \
target="_blank">http://gimp-print.sourceforge.net</a><br clear="none"><br \
clear="none">"Linux doesn't dictate how I work, I dictate how Linux works."<br \
clear="none">--Eric Crampton<br clear="none"></div><br><br></div> </div> </div>  \
</div></div></body></html>



------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z

_______________________________________________
Gimp-print-devel mailing list
Gimp-print-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gimp-print-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic