<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:st1 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><o:SmartTagType name="place"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 70.85pt 85.05pt 70.85pt 85.05pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.EmailStyle19 {
        FONT-WEIGHT: normal; COLOR: green; FONT-STYLE: normal; FONT-FAMILY: Tahoma; TEXT-DECORATION: none; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV><SPAN class=928330001-19042004><FONT face=Arial color=#0000ff size=2>Hi
Tracy,</FONT></SPAN></DIV>
<DIV><SPAN class=928330001-19042004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=928330001-19042004><FONT face=Arial color=#0000ff size=2>I
can't really give a direct solution to your questions, as for some reason I
never got the print tool to work. But I created a solution myself, based on
'draggable' layers. Maybe you, or whomever made the actual print tool, can
incorporate such an idea into the print tool. By making it draggable, a user can
move any part of the map, e.g. legend or maybe northarrow, to a part where
overlap doesn't matter. (see <A
href="http://spatial.hgm.com.au/cwcroe7/cwc2.php">http://spatial.hgm.com.au/cwcroe7/cwc2.php</A> ,
drag the legend in either the layout or the actual page by clicking near the
edges and holding down the mouse-button)</FONT></SPAN></DIV>
<DIV><SPAN class=928330001-19042004><FONT face=Arial color=#0000ff size=2>Only
problem I had with it is that when it's printed, the layer loses its opaque
background.</FONT></SPAN></DIV>
<DIV><SPAN class=928330001-19042004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=928330001-19042004><FONT face=Arial color=#0000ff
size=2>regards,</FONT></SPAN></DIV>
<DIV><SPAN class=928330001-19042004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=928330001-19042004><FONT face=Arial color=#0000ff
size=2>Jacob</FONT></SPAN></DIV>
<DIV><SPAN class=928330001-19042004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=928330001-19042004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=928330001-19042004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Tracy Howlett
[mailto:thowlett@whistlermuseum.org] <BR><B>Sent:</B> Sunday, 18 April 2004
4:28 AM<BR><B>To:</B> chameleon@lists.maptools.org<BR><B>Subject:</B>
[Chameleon] Printouts<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Tahoma color=green size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: Tahoma">Hi,
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=green size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=green size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: Tahoma">Has anyone figured
out how to customize the printout results from the print tool? The
legend is always drawn on top of the map which is useless!! I've fiddled
around with it but I can't figure out how to stop the items on the page from
overlapping each other.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=green size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=green size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: Tahoma">Any
ideas?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=green size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=green size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: Tahoma">Tracy<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=green size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
chameleon-bounces@lists.maptools.org
[mailto:chameleon-bounces@lists.maptools.org] <B><SPAN
style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Juan Martinez<BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, April 15, 2004 10:47
AM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B>
chameleon@lists.maptools.org<BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> [Chameleon]
php_dbase.dll</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Arial">Hello,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Arial">I installed
Chameleon(</SPAN></FONT>chameleon-1.1alpha<FONT face=Arial><SPAN
style="FONT-FAMILY: Arial">) under Redhat Enterprise. I have also installed
PHP (working as a CGI) and Mapserver. Php and Mapserver work but, when I try
to access <A
href="http://localhost/chameleon/chameleon_sample/htdocs/index.phtml">http://localhost/chameleon/chameleon_sample/htdocs/index.phtml</A>
I get the following output:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><B><FONT face="Times New Roman" size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt">Warning</SPAN></FONT></B><FONT
size=2><SPAN style="FONT-SIZE: 10pt">: dl(): Unable to load dynamic library
'/usr/local/lib/php/extensions/php_dbase.dll' -
/usr/local/lib/php/extensions/php_dbase.dll: cannot open shared object file:
No such file or directory in <B><SPAN
style="FONT-WEIGHT: bold">/opt/chameleon/htdocs/common/mlt/mlt.php</SPAN></B>
on line <B><SPAN style="FONT-WEIGHT: bold">245</SPAN></B><BR><BR><B><SPAN
style="FONT-WEIGHT: bold">Warning</SPAN></B>: dl(): Unable to load dynamic
library '/usr/local/lib/php/extensions/php_dbase.dll' -
/usr/local/lib/php/extensions/php_dbase.dll: cannot open shared object file:
No such file or directory in <B><SPAN
style="FONT-WEIGHT: bold">/opt/chameleon/htdocs/common/mlt/mlt.php</SPAN></B>
on line <B><SPAN
style="FONT-WEIGHT: bold">245<o:p></o:p></SPAN></B></SPAN></FONT></P>
<P class=MsoNormal><B><FONT face="Times New Roman" size=3><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></B></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">I compiled PHP4 with -enable-dbase but there are no
php_dbase.dll or php_dbase.so files.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">I have also installed </SPAN>cwc2-1.0.6 and when I run
test.php or demo.php I get a blank page (source code is: </FONT><FONT
size=2><SPAN style="FONT-SIZE: 10pt"><!DOCTYPE HTML PUBLIC "-//W3C//DTD
HTML 4.0 Transitional//EN"><HTML><HEAD><<st1:place
w:st="on">META</st1:place> http-equiv=Content-Type content="text/html;
charset=utf-8"></HEAD><BODY></BODY></HTML></SPAN></FONT>)<o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">If I embed a echo "hello" inside the php script, the
output displays that message.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">anybody knows how to solve this
problem?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">Thanks,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">Juan<o:p></o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>