the main problem, however, is that whatever you define, the advanced 
options are not implemented in the print libraries, and hence have no 
effect... so for the time being, forget about them. I should have 
removed the commented parts to avoid confusion.

armin

On 05/08/2010 19:01, Hermann Karl wrote:
> Dear List,
>
> in pmapper-4.0 in the config/common/print.xml the<div
> class="printdlg_advanced">  is commented
> if the comments are stripped off and checked "Create PDF Document"
> clicking on the button "Advanced"
> results in the error message "printDlgShowAdvanced is not defined"
>
> if the onclick="printDlgShowAdvanced()" in print.xml is changed to
> onclick="PM.Dlg.printShowAdvanced()"
> and the onclick="printDlgHideAdvanced()" is changed to
> onclick="PM.Dlg.printHideAdvanced()"
> the advanced dialog with "Create PDF Document" and Paper size set to A3
> causes following error message
>
> Fatal error: Call to a member function attributes() on a non-object in
> /usr/share/pmapper-4.0/incphp/print/printxml.php on line 239
>
> The direct cause for this error message is that in the<settings>  <pdf>
> section of the print.xml map attribute "type" is not defined in the
> formats other then a4 portrait.
> so $xmlSettings =
> $this->xml->xpath("/print/settings/pdf/form...@papersize=\"$papersize\"
> and @orientation=\"$orientation\"]/m...@type=\"$maptype\"]");
> xpath does not work as intended
>
> Karl
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to