First change the settings in php.ini as listed in the p.mapper 
installation instructions. Check especially everything where there is an 
"IMPORTANT!!!" entry..., this way you should get rid of any "Notice" 
output and it should already be ok.

You could in addition apply the patch from
http://svn.pmapper.net/trac/changeset/1250

armin

On 28/01/2012 10:50, VT wrote:
> Hi all,
> I get this error when I try to print on pdf format:
>
> Notice: Undefined variable: existsXYLayer in
> /var/www/cbam/incphp/print/print.php on line 347 *TCPDF ERROR: *Some data
> has already been output, can't send PDF file
>
> **************
>
> this is the landing url:
>
> http://192.168.1.7/cbam/printmap.phtml?printscale=310000&printrefmap=on&docformat=pdf&printtitle=&papersize=A4&orientation=P&maptype=normal&PHPSESSID=dhn4omlm9jke8d5pmq11ht95g1&config=default
>
> **************
>
> this is the error log:
>
> [28-Jan-2012 10:42:46] P.MAPPER debug info
> PDF printing settings
>   Array
> (
>      [author] =>  Armin Burger
>      [pdftitle] =>  p.mapper
>      [defFont] =>  FreeSans
>      [defFontSize] =>  9
>      [defFontColor] =>  0,0,0
>      [printCategory] =>  1
>      [top_height] =>  30
>      [top_color] =>  255,255,255
>      [top_bgcolor] =>  51,102,153
>      [refmap_bgcolor] =>  255,255,255
>      [scaletxt_bgcolor] =>  255,255,255
>      [top_logo] =>  ./images/logos/logo.png
>      [title_xoffs] =>  150
>      [title_yoffs] =>  SimpleXMLElement Object
>          (
>          )
>
>      [additionnalTitle] =>  SimpleXMLElement Object
>          (
>              [before] =>  SimpleXMLElement Object
>                  (
>                      [text] =>  SimpleXMLElement Object
>                          (
>                          )
>
>                      [textFont] =>  FreeSans
>                      [textSize] =>  8
>                      [textColor] =>  0,0,0
>                      [textBgColor] =>  255,255,255
>                  )
>
>              [after] =>  SimpleXMLElement Object
>                  (
>                      [text] =>  SimpleXMLElement Object
>                          (
>                          )
>
>                      [textFont] =>  FreeSans
>                      [textSize] =>  8
>                      [textColor] =>  0,0,0
>                      [textBgColor] =>  255,255,255
>                  )
>
>          )
>
>      [format] =>
>      [printtitle] =>
>      [width] =>  1540
>      [height] =>  1040
>      [legendposition] =>  none
>      [type] =>  nolegend
> )
>
> thanks in advance
>
> Giovanni
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to