Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include_once 'functions/mpdf/mpdf.php';
- ?>
- <?php
- set_time_limit(0);
- $pdf = new mPDF();
- //Open file
- $pdf->Open();
- //Disable automatic page break
- $pdf->SetAutoPageBreak(false);
- //Add first page
- $pdf->AddPage();
- //set initial y axis position per page
- $y_axis_initial = 25;
- //Set Row Height
- $row_height = 6;
- $y_axis = 25;
- //initialize counter
- $i = 0;
- //Set maximum rows per page
- $max = 30;
- //print column titles for the actual page
- $pdf->SetFillColor(232, 232, 232);
- $pdf->AddFont('solaimanlipi', '', 'solaimanlipi.ttf', true);
- $pdf->SetFont('solaimanlipi', '', 11);
- $pdf->SetY($y_axis_initial);
- $pdf->SetX(25);
- $pdf->Cell(30, 6, "0x9B8 0x9CD 0x9A5 0x9BE 0x9A8", 1, 0, 'C', 1);
- $pdf->Cell(30, 6, 'মোট লিংক', 1, 0, 'C', 1);
- $pdf->Cell(30, 6, 'তথ্য নেই', 1, 0, 'C', 1);
- $pdf->Cell(30, 6, 'ভুল লিংক', 1, 0, 'C', 1);
- $pdf->Cell(30, 6, 'ট্যাব নাই', 1, 0, 'C', 1);
- $pdf->Cell(30, 6, 'অসম্পূর্ণতা', 1, 0, 'C', 1);
- $pdf->Output('test.pdf', 'F');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement