Exemplo n.º 1
0
            $pdf->Cell(22, 8, $Entry->SesName, 0, 0, 'C', 0, '', '1', false, 'T', 'B');
            $pdf->SetX($pdf->GetX() + 1);
            $pdf->SetFont($pdf->FontStd, '', 10);
            $X = $pdf->GetX();
            $Y = $pdf->GetY();
            $pdf->Cell($lblW - 2 * $lblMarginH - 41, 4, $Entry->DivDescription, 0, 1, 'R', 0, '', '1', false, 'T', 'T');
            $pdf->SetXY($X, $Y + 4);
            $pdf->Cell($lblW - 2 * $lblMarginH - 41, 4, $Entry->ClDescription . ' ' . intval($Entry->SubClass), 0, 1, 'R', 0, '', '1', false, 'T', 'B');
            //Arciere & Società
            $pdf->SetFont($pdf->FontStd, 'B', 12);
            $pdf->Cell($lblW - 2 * $lblMarginH - 10, 6, $Entry->Athlete, 0, 0, 'L', 0);
            $pdf->SetFont($pdf->FontStd, '', 10);
            $pdf->SetX($pdf->GetX() + 1);
            $pdf->Cell(9, 6, $Entry->NationCode, 0, 0, 'R', 0, '', '1', false, 'T', 'B');
            // 			//Barcode
            $pdf->SetY($pdf->GetY() + 5);
            $pdf->SetFont('barcode', '', 25);
            $pdf->Cell($lblW - 2 * $lblMarginH, 10, mb_convert_encoding('*' . $Entry->Bib . '-' . $Entry->DivCode . '-' . $Entry->ClassCode, "UTF-8", "cp1252") . "*", 0, 0, 'C', 0);
            $Etichetta = ++$Etichetta % $Label4Page;
        }
    }
    $pdf->Output();
}
/*
 [SesName] => Line A
 [Bib] => 1750
 [Athlete] => ANDREWS Shannon
 [Session] => 1
 [TargetNo] => 044A
 [NationCode] => USA
 [Nation] => UNITED STATES OF AMERICA