Login   Register  
PHP Classes
elePHPant
Icontem

File: pdf-config.xml

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Alexander Selifonov  >  Print Form PDF  >  pdf-config.xml  >  Download  
File: pdf-config.xml
Role: Auxiliary data
Content type: text/plain
Description: Sample configuration file
Class: Print Form PDF
Creating PDF documents from PDF templates
Author: By
Last change:
Date: 7 months ago
Size: 1,124 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8"?>
<printdef>
  <version modified="2012-01-10">1.0</version>
  <title>Testing PDF generation</title>
  <description>This is a test PDF document created by CPrintfromPDF class</description>
  <stringcharset>UTF-8</stringcharset>


  <baseparameters>
    <margins left="0" top="0" right="0" bottom="0" />
    <font name="arial" size="6" />
    <page orientation="P" size="A4" units="mm" />
  </baseparameters>

  <allpages>
     <field name="demo_barccode" type="barcode" posx="80" posy="285" width="50" height="4" options="text" value="TEST-1234" />
  </allpages>
  
  <pages>
   <page>
      <template src="pdf-template.pdf" page="1" />
      <field name="cityname" posx="143" posy="26" />
      <field name="personname" posx="42" posy="26" />
      <field name="person_firstname" posx="88" posy="26" width="20" />
      <field name="person_birthdate" posx="42" posy="32" width="70" />
      <field name="person_document" posx="143" posy="32" width="55" />
      <field name="demostring"     posx="50"  posy="110" rotate="45" size="40" color="#EE4040"/>
   </page>
  </pages>
</printdef>