<html w="urn:schemas-microsoft-com:office:word" v="urn:schemas-microsoft-com:vml" st1="urn:schemas-microsoft-com:office:smarttags" xmlns="#DEFAULT" o="urn:schemas-microsoft-com:office:office" ns0="http://schemas.microsoft.com/office/2004/12/omml">
  <head>
    <style type="text/css">
      <!--
        body { margin-bottom: 1px; margin-left: 4px; font-variant: normal; line-height: normal; margin-top: 4px; margin-right: 4px }
        span.emailstyle19 { color: navy; font-family: Arial }
        li.msonormal { font-size: 12.0pt; margin-bottom: .0001pt; margin-left: 0in; font-family: Times New Roman; margin-right: 0in; margin-top: 0in }
        span.emailstyle18 { color: #1F497D; font-family: Calibri }
        span.emailstyle17 { color: black; font-family: Arial }
        a:visited { text-decoration: underline; color: purple }
        p { margin-bottom: 0; margin-top: 0 }
        span.msohyperlink { text-decoration: underline; color: blue }
        span.msohyperlinkfollowed { text-decoration: underline; color: purple }
        a:link { text-decoration: underline; color: blue }
        p.msonormal { font-size: 12.0pt; margin-bottom: .0001pt; margin-left: 0in; font-family: Times New Roman; margin-right: 0in; margin-top: 0in }
        div.msonormal { font-size: 12.0pt; margin-bottom: .0001pt; margin-left: 0in; font-family: Times New Roman; margin-right: 0in; margin-top: 0in }
      -->
    </style>
    
  </head>
  <body lang="EN-US" vlink="purple" link="blue">
    <p style="margin-bottom: 0; margin-top: 0">
      <font size="3" face="Comic Sans MS">did a negative number have any effect&#63;</font>    </p>
<br>      
    <p style="margin-bottom: 0; margin-top: 0">
      <font size="3" face="Comic Sans MS">bobb</font>    </p>
<br>      <br>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
      <br>
      &gt;&gt;&gt; &quot;Sean Ziniker&quot; &lt;Sean.Ziniker@co.jefferson.or.us&gt; wrote:<br>    </p>
    <div style="background-color: #f3f3f3; border-left: solid 1px #050505; padding-left: 7px; margin-bottom: 0; margin-left: 15px; margin-right: 0; margin-top: 0">
      <div class="section1">
<br>          
        <div style="font-size: 10.0pt; color: navy; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            Well I finally got the justification to work on my print template.&#160;&nbsp;There is still one issue I am having but overall it works well.&#160;&nbsp;I wanted a title and subtitle for user inputs.&#160;&nbsp;The title needed to be on the left side of the template and the Subtitle on the right.&#160;&nbsp;The default is left justified so I needed to right justify the subtitle.&#160;&nbsp;The only way I could get it to work is to split them up in the print.php file. I attached the code I worked with at around line 291 where it says&#160;&#8220;&#35; Render the text fields&#8221;.&nbsp;&#160;The code between &#35;SZ Start and &#35;SZ End is the code I added.&nbsp;&#160;I basically had to add another&#160;&#8220;getElementsByTagName&#8221;&#160;&#160;and call it text1.&#160;&nbsp;So anywhere within that chunk of code that referred to&#160;&#160;&#8220;text&#8221;&#160;I changed it to&#160;&#8220;text1&#8221;.&#160;&nbsp;Then at the end of the code I added there is a line that says&#160;&#8220;&#36;pdf-&gt;Cell&#40;0&#44;.25&#44;&#36;printString&#44;0&#44;0&#44;&#39;R&#39;&#41;&#59;&#8221;&#44; this is where I defined the justification.&#160;&nbsp;If you look at the original code it does not have the&#160;&#8220;&#44;0&#44;0&#44;&#8217;R&#8217;&#8221;&#160;after&#160;&#8220;&#36;printString&#8221;.&#160;&nbsp;The R means right&#44; C would be for center if you wanted the text centered and L for left.&#160;&nbsp;<o p="#DEFAULT"></o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; color: navy; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            <o p="#DEFAULT">
            &#160;</o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; color: navy; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            Now all I had to do is go into your letter_landscape.xml template and change text to text1.&#160;&nbsp;Below is what mine looks like:<o p="#DEFAULT"></o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; color: navy; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            <o p="#DEFAULT">
            &#160;</o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; color: navy; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            &lt;text x&#61;&quot;.47&quot; y&#61;&quot;.29&quot; size&#61;&quot;12&quot; content&#61;&quot;&#37;title&#37;&quot;/&gt;<o p="#DEFAULT"></o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; color: navy; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            &lt;text1 x&#61;&quot;0&quot; y&#61;&quot;.29&quot; size&#61;&quot;10&quot; content&#61;&quot;&#37;subtitle&#37;&quot;/&gt;<o p="#DEFAULT"></o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; color: navy; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            &lt;text x&#61;&quot;9.8&quot; y&#61;&quot;7.08&quot; size&#61;&quot;8&quot; content&#61;&quot;&#37;date&#37;&quot;/&gt;<o p="#DEFAULT"></o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; color: navy; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            <o p="#DEFAULT">
            &#160;</o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; color: navy; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            The one issue I am having though is once I have right justified text1 I cannot move the x position.&#160;&nbsp;So above where it says &lt;text1 x&#61;&quot;0&quot;&#44; I could have a 0 or 100 in the x&#61; and it wont change the position.&#160;&nbsp;The reason I would like to is that when I right justify my text1 it sits just a little bit outside my border.&#160;&nbsp;I have also added a pdf of my print.<o p="#DEFAULT"></o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; color: navy; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            <o p="#DEFAULT">
            &#160;</o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; color: navy; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            Thanks for your help Len.<o p="#DEFAULT"></o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; color: navy; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            <o p="#DEFAULT">
            &#160;</o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; color: navy; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            &#160;<o p="#DEFAULT"></o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; color: navy; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            <o p="#DEFAULT">
            &#160;</o>          </p>
        </div>
        <div>
          <p style="margin-bottom: 0; margin-top: 0" class="msonormal">
            <st1 st="on" personname="#DEFAULT" w="#DEFAULT">
                      </p>
          <div style="font-size: 13.5pt; color: #004080; font-family: Script MT Bold">
            <p style="margin-bottom: 0; margin-top: 0">
              Sean Ziniker            </p>
          </div>
          <p style="margin-bottom: 0; margin-top: 0">
            </st1>
            <br>
                      </p>
          <div style="font-size: 10.0pt; color: #004080">
            <p style="margin-bottom: 0; margin-top: 0">
              GIS Analyst<br><st1 st="on" place="#DEFAULT" w="#DEFAULT"><st1 city="#DEFAULT" st="on" w="#DEFAULT">Jefferson County</st1>&#44; <st1 st="on" state="#DEFAULT" w="#DEFAULT">Oregon</st1></st1><br>66 S.E. &quot;D&quot; Street&#44; Suite B<br><st1 st="on" place="#DEFAULT" w="#DEFAULT"><st1 city="#DEFAULT" st="on" w="#DEFAULT">Madras</st1>&#44; <st1 st="on" state="#DEFAULT" w="#DEFAULT">OR</st1><st1 st="on" postalcode="#DEFAULT" w="#DEFAULT">97741</st1></st1><br>541.325.5083 Office<br>541.325.5089 Fax            </p>
          </div>
          <div style="font-size: 13.5pt; color: #004080; font-family: Arial">
            <p style="margin-bottom: 0; margin-top: 0">
              <o p="#DEFAULT">
              </o>
                          </p>
          </div>
        </div>
        <div>
          <div style="text-align: center" class="msonormal" align="center">
            <div style="font-size: 12.0pt">
              <p style="margin-bottom: 0; margin-top: 0">
                <hr tabindex="-1" width="100%" align="center" size="2">
                              </p>
            </div>
          </div>
<br>            
          <div style="font-weight: bold; font-size: 10.0pt; font-family: Tahoma">
            <p style="margin-bottom: 0; margin-top: 0">
              From:            </p>
          </div>
          <div style="font-size: 10.0pt; font-family: Tahoma">
            <p style="margin-bottom: 0; margin-top: 0">
              Len Kne &#91;mailto:lkne@houstoneng.com&#93;<br>            </p>
            <div style="font-weight: bold">
              <p style="margin-bottom: 0; margin-top: 0">
                Sent:              </p>
            </div>
            <p style="margin-bottom: 0; margin-top: 0">
              Friday&#44; October 22&#44; 2010 1:32 PM<br>            </p>
            <div style="font-weight: bold">
              <p style="margin-bottom: 0; margin-top: 0">
                To:              </p>
            </div>
            <p style="margin-bottom: 0; margin-top: 0">
              <st1 st="on" personname="#DEFAULT" w="#DEFAULT">
              Sean Ziniker</st1>&#59; geomoose-users@lists.sourceforge.net<br>            </p>
            <div style="font-weight: bold">
              <p style="margin-bottom: 0; margin-top: 0">
                Subject:              </p>
            </div>
            <p style="margin-bottom: 0; margin-top: 0">
              RE: Print Templates            </p>
          </div>
          <p style="margin-bottom: 0; margin-top: 0">
            <o p="#DEFAULT">
            </o>
                      </p>
        </div>
<br>          
        <div style="font-size: 12.0pt">
          <p style="margin-bottom: 0; margin-top: 0">
            <o p="#DEFAULT">
            &#160;</o>          </p>
        </div>
<br>          
        <div style="font-size: 11.0pt; color: #1F497D; font-family: Calibri">
          <p style="margin-bottom: 0; margin-top: 0">
            This is possible&#44; but you are going to have to edit print.php.&#160;&nbsp;The library GeoMOOSE uses for printing PDFs is at&#44; <a href="http://www.fpdf.org/">http://www.fpdf.org/</a>.&#160;&nbsp;Look for&#160;&#8220;cell&#8221;&#160;in the documentation and print.php&#160;&#8211;&#160;you should be able to set the justification.<o p="#DEFAULT"></o>          </p>
        </div>
<br>          
        <div style="font-size: 11.0pt; color: #1F497D; font-family: Calibri">
          <p style="margin-bottom: 0; margin-top: 0">
            <o p="#DEFAULT">
            &#160;</o>          </p>
        </div>
<br>          
        <div style="font-size: 11.0pt; color: #1F497D; font-family: Calibri">
          <p style="margin-bottom: 0; margin-top: 0">
            Len<o p="#DEFAULT"></o>          </p>
        </div>
<br>          
        <div style="font-size: 11.0pt; color: #1F497D; font-family: Calibri">
          <p style="margin-bottom: 0; margin-top: 0">
            <o p="#DEFAULT">
            &#160;</o>          </p>
        </div>
        <div>
          <div style="padding-left: 0in; border: none; padding-top: 3.0pt; border-top: solid #B5C4DF 1.0pt; padding-right: 0in; padding-bottom: 0in">
<br>              
            <div style="font-weight: bold; font-size: 10.0pt; font-family: Tahoma">
              <p style="margin-bottom: 0; margin-top: 0">
                From:              </p>
            </div>
            <div style="font-size: 10.0pt; font-family: Tahoma">
              <p style="margin-bottom: 0; margin-top: 0">
                <st1 st="on" personname="#DEFAULT" w="#DEFAULT">
                Sean Ziniker</st1>&nbsp;&#91;mailto:Sean.Ziniker@co.jefferson.or.us&#93;<br>              </p>
              <div style="font-weight: bold">
                <p style="margin-bottom: 0; margin-top: 0">
                  Sent:                </p>
              </div>
              <p style="margin-bottom: 0; margin-top: 0">
                Friday&#44; October 22&#44; 2010 3:12 PM<br>              </p>
              <div style="font-weight: bold">
                <p style="margin-bottom: 0; margin-top: 0">
                  To:                </p>
              </div>
              <p style="margin-bottom: 0; margin-top: 0">
                geomoose-users@lists.sourceforge.net<br>              </p>
              <div style="font-weight: bold">
                <p style="margin-bottom: 0; margin-top: 0">
                  Subject:                </p>
              </div>
              <p style="margin-bottom: 0; margin-top: 0">
                &#91;Geomoose-users&#93; Print Templates<o p="#DEFAULT"></o>              </p>
            </div>
          </div>
        </div>
<br>          
        <div style="font-size: 12.0pt">
          <p style="margin-bottom: 0; margin-top: 0">
            <o p="#DEFAULT">
            &#160;</o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            I was just wondering if there is a way to align a subtitle on the right side on my custom print template.&#160;&nbsp;I am using something that looks like this in my .xml:<o p="#DEFAULT"></o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            <o p="#DEFAULT">
            &#160;</o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            &lt;text x&#61;&quot;-.47&quot; y&#61;&quot;.29&quot; size&#61;&quot;14&quot; content&#61;&quot;&#37;subtitle&#37;&quot;/&gt;<o p="#DEFAULT"></o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            <o p="#DEFAULT">
            &#160;</o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            Is there a way to put a right align within the text tag so longer subtitles will not run off the page.<o p="#DEFAULT"></o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            <o p="#DEFAULT">
            &#160;</o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            Thanks&#44;<o p="#DEFAULT"></o>          </p>
        </div>
<br>          
        <div style="font-size: 10.0pt; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            <o p="#DEFAULT">
            &#160;</o>          </p>
        </div>
        <p style="margin-bottom: 0; margin-top: 0" class="msonormal">
          <st1 st="on" personname="#DEFAULT" w="#DEFAULT">
                  </p>
        <div style="font-size: 13.5pt; color: #004080; font-family: Script MT Bold">
          <p style="margin-bottom: 0; margin-top: 0">
            Sean Ziniker          </p>
        </div>
        <p style="margin-bottom: 0; margin-top: 0">
          </st1>
          <br>
                  </p>
        <div style="font-size: 10.0pt; color: #004080">
          <p style="margin-bottom: 0; margin-top: 0">
            GIS Analyst<br><st1 st="on" place="#DEFAULT" w="#DEFAULT"><st1 city="#DEFAULT" st="on" w="#DEFAULT">Jefferson County</st1>&#44; <st1 st="on" state="#DEFAULT" w="#DEFAULT">Oregon</st1></st1><br>66 S.E. &quot;D&quot; Street&#44; Suite B<br><st1 st="on" place="#DEFAULT" w="#DEFAULT"><st1 city="#DEFAULT" st="on" w="#DEFAULT">Madras</st1>&#44; <st1 st="on" state="#DEFAULT" w="#DEFAULT">OR</st1><st1 st="on" postalcode="#DEFAULT" w="#DEFAULT">97741</st1></st1><br>541.325.5083 Office<br>541.325.5089 Fax          </p>
        </div>
        <div style="font-size: 13.5pt; color: #004080; font-family: Arial">
          <p style="margin-bottom: 0; margin-top: 0">
            <o p="#DEFAULT">
            </o>
                      </p>
        </div>
<br>          
        <div style="font-size: 12.0pt">
          <p style="margin-bottom: 0; margin-top: 0">
            <o p="#DEFAULT">
            &#160;</o>
          </p>
        </div>
      </div>
    </div>
  </body>
</html>