PD4ML v4 › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › Using taglib in other language than JSP or Coldfusion ? › Re: Re: Using taglib in other language than JSP or Coldfusion ?
> Is there a way to control page orientation and formatting without using JSP, and without forcing a page break?
You may define the initial page format and orientation with PD4ML API calls. The defaults may be dynamically changed with
If you do not use PD4ML API directly, but standalone command line converter it depends on the way its command line parameters are mapped to the API. For Pd4Php you may control it like that:
passthru( ‘java -Xmx512m -Djava.awt.headless=true -cp .:pd4ml_demo.jar Pd4Php ” . $_POST . ” 800 LETTER
-orientation LANDSCAPE 2>>stderr.txt’ );