Esempio n. 1
0
//]=$pdf->GetStringWidth($email);
$cols[2] = $post;
//]=$pdf->GetStringWidth($post);
$cols[3] = $companyName;
//]=$pdf->GetStringWidth($companyName);
$cols[4] = $streetName . ",";
//]=$pdf->GetStringWidth($streetName);
$cols[5] = $address;
//]=$pdf->GetStringWidth($address);
// $cols=array( $name  => $pdf->GetStringWidth($name),
//              $email  =>$pdf->GetStringWidth($email),
//              $post	=> $pdf->GetStringWidth($post),
//              $companyName  => $pdf->GetStringWidth($companyName),
//              $streetName."," => $pdf->GetStringWidth($streetName),
//              $address => $pdf->GetStringWidth($address) );
$pdf->addTo($cols);
/*$cols=array( $name    => "R",
  $email  => "R",
  $post     => "R",
  $companyName   => "R",
  $streetName => "R",
  $address => "R" );*/
$projectName = "Himalayan Dog Chew Website";
$cols = array($projectName => $pdf->GetStringWidth($projectName));
$pdf->addFor($cols);
$cols = array($projectName => "L");
//$pdf->addLineFormat( $cols);
//$pdf->addLineFormat($cols);
$snHeader = "S.N.";
$descHeader = "Description";
$amountHeader = "Amount";