2 require_once 'MECON/general.php';
3 prepend_include_path('/home/mmarrese/public_html/meconlib/lib/');
5 require_once 'MECON/PDF/Marco.php';
6 require_once 'MECON/PDF/Texto.php';
7 require_once 'MECON/PDF/Imagen.php';
8 require_once 'Image/Transform.php';
11 $img =& Image_Transform::factory('IM');
13 $img->load('death.jpg');
17 $orientacion = 'landscape';
24 $PDF_MARCO =& new MECON_PDF_Marco ('a4', $orientacion);
25 $PDF_IMAGEN =& new MECON_PDF_Imagen ($img, 'left', $orientacion, $encabezado,
28 $PDF_TEXTO =& new MECON_PDF_TEXTO ($orientacion, $encabezado);
29 $PDF_TEXTO->addContent (
30 'TEXTO PRE IMAGEN asdddddddddddddddddddddddddddddddddddddddddddd asdddddddddddddddddddddd asddddddddddd'
32 $PDF_MARCO->addContent($PDF_TEXTO, true);
33 $PDF_MARCO->addContent($PDF_IMAGEN, true);
34 $PDF_TEXTO =& new MECON_PDF_TEXTO ($orientacion, $encabezado);
35 $PDF_TEXTO->addContent (
36 'TEXTO POST IMAGEN asdddddddddddddddddddddddddddddddddddddddddddd asdddddddddddddddddddddd asddddddddddd'
38 $PDF_MARCO->addContent($PDF_TEXTO, true);
40 $PDF_MARCO->display();