heading 1

heading 2

heading 3

heading 4

heading 5
heading 6
ordered list:
  1. bold text
  2. italic text
  3. underlined text
  4. link to http://www.tecnick.com
  5. test break
    second line
    third line
  6. font + 3
  7. small text
  8. normal subscript superscript

  9. table:
    #AB
    1A1B1
    2A2B2
    3A3B3

    image:
    \"\""; require_once('config/lang/eng.php'); require_once('tcpdf.php'); //create new PDF document (document units are set by default to millimeters) $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, false); // set document information $pdf->SetCreator(PDF_CREATOR); $pdf->SetAuthor(PDF_AUTHOR); $pdf->SetTitle($doc_title); $pdf->SetSubject($doc_subject); $pdf->SetKeywords($doc_keywords); $pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE, PDF_HEADER_STRING); //set margins $pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT); //set auto page breaks $pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM); $pdf->SetHeaderMargin(PDF_MARGIN_HEADER); $pdf->SetFooterMargin(PDF_MARGIN_FOOTER); $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); //set image scale factor $pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN)); $pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA)); $pdf->setLanguageArray($l); //set language items //initialize document $pdf->AliasNbPages(); $pdf->AddPage(); // set barcode $pdf->SetBarcode(date("Y-m-d H:i:s", time())); // output some HTML code $pdf->writeHTML($htmlcontent, true); // output some content $pdf->SetFont("helvetica", "BI", 20); $pdf->Cell(0,10,'TEST Bold-Italic Cell',1,0,'C'); //Close and output PDF document $pdf->Output(); //============================================================+ // END OF FILE //============================================================+ ?>