Hi Kai and Armin,
I've tried to solve the problem but didn't succeed 100%. Putting <body
onLoad="self.resizeTo(screen.width,screen.height); self.moveTo(0,0);"> in
printmap.phtml (line #90) works only for the generated picture, not for pdf.
In case of pdf this code is generated:

<html>
  <body marginwidth="0" marginheight="0">
   <embed widht="100%" height="100%" name="plugin" src="http... "
type="application/pdf"/>
 </body>
</html>

But I don't know where it comes from and where to put the body onLoad tag.

Another solution is to give the Output Function in line 69 ($pdf->Output();
in printmap.phtml) some values (Name,Option) -> see:
http://www.fpdf.org/en/doc/output.htm. Now it's possible to save the pdf and
than to open it without the plugin -> works fine for IE, Firefox behaves
strange (save dialog closes without saving) -> can somebody confirum that
with $pdf->Output("regio.pdf","D") ?

Greets,
Malte


Kai Behncke-2 wrote:
> 
> Helly everybody,
> 
> If I use the print-PDF-Function on Firefox I only get a very, very small
> Popup-window with the PDF, in the IE it is quite large.
> Is there a possibiliy to size it up (make it bigger)?
> I use pmapper 3.0.0 on Windows XP.
> Thank you very much again, Kai
> 
> --
> Dipl.-Geogr. Dipl.-Umweltwiss. Kai Behncke
> 
> Institut für Geoinformatik und Fernerkundung (IGF)
> Universität Osnabrück
> Kolpingstr. 7
> 49074 Osnabrück
> 
> Raum: 01/308
> Tel.: +49 541 969-4450
> E-Mail: mailto:[EMAIL PROTECTED] 
> Web:  http://www.igf.uni-osnabrueck.de/mitarbeiter/behncke/index.html
> 

-- 
View this message in context: 
http://www.nabble.com/Print-Window-on-Firefox-tf3448689.html#a10140579
Sent from the pmapper users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to