$pdf->SetMargins(10,2); $pdf->SetDrawColor(0,0,0); $pdf->SetTextColor(0,0,0); $pdf->SetPadding(0); $pdf->SetSpacing(0,0); $pdf->AddPage(); $pdf->SetFont($defFont,'',20); $pdf->Image("../../themes/default/img/logo.png",135,10,60); $pdf->htmltable("<table width=190> <tr><td size=30 width=30>Hotel </td><td color=#FF6600 size=30> Voucher</td></tr> <tr><td size=9 colspan=2>Please present either an electronic or paper copy of your hotel voucher upon check-in</td></tr> </table>"); $pdf->Line(0, $pdf->y, 220, $pdf->y); $pdf->Ln(3); $pdf->SetFont($defFont,'',10,true); $pdf->htmltable(" <table width=190> <tr><td width=40>Hotel:</td> <td>Keio Plaza Hotel</td></tr> <tr><td width=40>Address:</td> <td></td></tr> <tr><td width=40>Hotel Contact No:</td> <td>+81XXXXXXXXX</td></tr> </table>"); $pdf->Ln(5); $pdf->SetFont($defFont,'',8,true); $pdf->htmltable(" <table width=190> <tr><td size=10 family={$defFont}B>1. Customer Information(お客様情報)</td></tr> <tr><td width=80>Booking ID(予約番号): XXXXXXXX</td> <td>Guest Name(お客様 氏名): XXXXXXX</td></tr>