Nuria,

please check, if after using the print command the latest created map 
image in the webserver tmp directory (that one mentioned in the map 
files for IMAGEPATH) is in fact the one you get in the browser and the 
printmap.phtml page. If the one from the tmp directory is correct - and 
then differes from the one in the application - then I could just 
suspect a problem of strange caching mechanisms that might appear 
especially with IE.

You could try to add the lines

header("Cache-Control: no-cache, must-revalidate, private, pre-check=0,
post-check=0, max-age=0");
header("Expires: " . gmdate('D, d M Y H:i:s', time()) . " GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Pragma: no-cache");

on top of the printmap.phtml file and see if this splves the problem.

Armin


Nuria Gonz?lez wrote:
> Hi Armin,
> 
> I always get the image that I attach you. I don't get error, but I don't 
> see what I want.  Perhaps I have wrong something in the .map file, I 
> don't know.....
> 
> Thanks.
> 
> 
>> From: Armin Burger <[EMAIL PROTECTED]>
>> To: Nuria Gonz?lez <[EMAIL PROTECTED]>
>> CC: [EMAIL PROTECTED]
>> Subject: Re: [Pmapper-users] print functions
>> Date: Fri, 02 Dec 2005 19:57:21 +0100
>>
>> Nuria,
>>
>> I cannot fully imagine what the error looks like. Is the application 
>> available online? Or could you send me a small screenshot or so? I 
>> have changed nearly nothing for the print functions since quite some 
>> time.
>>
>> Armin
>>
>> Nuria Gonz?lez wrote:
>>
>>> Hi,
>>>
>>> I'm using pmapper1.9.4.
>>> You have two print functions: HTML and PDF. The PDF output works 
>>> fine, but the HTML output doesn't work fine. I set RESOLUTION tag 
>>> below MAP to 96. I always get a page with a corner of my map. 
>>> Although I change the scale I always get the same image.
>>>
>>> What do I have to change in order to the HTML print function works 
>>> right?
>>>
>>> Thanks in advance,
>>> Regards.
>>>
>>> _________________________________________________________________
>>> Hor?scopo, tarot, numerolog?a... Escucha lo que te dicen los astros. 
>>> http://astrocentro.msn.es/
>>>
>>>
>>> _______________________________________________
>>> Pmapper-users mailing list
>>> [EMAIL PROTECTED]
>>> http://faunalia.it/cgi-bin/mailman/listinfo/pmapper-users
>>>
>>>
> 
> _________________________________________________________________
> Un amor, una aventura, compa??a para un viaje. Reg?strate gratis en MSN 
> Amor & Amistad. http://match.msn.es/match/mt.cfm?pg=channel&tcid=162349

Reply via email to