$pdf->Cell(0, 10, "Serial #: ", 0, 1); $pdf->SetFont("Arial", "U", "14"); $pdf->SetXY(135, 70); $pdf->Cell(0, 10, " " . $serial_no . " ", 0, 1); $pdf->SetFont("Arial", "", "14"); $pdf->SetXY(10, 85); $pdf->Cell(0, 10, "Problem: ", 0, 1); $pdf->SetFont("Arial", "U", "14"); $pdf->SetXY(40, 85); $pdf->Cell(0, 10, " " . $problem . " ", 0, 1); $pdf->SetFont("Arial", "", "14"); $pdf->SetXY(10, 95); $pdf->Cell(0, 10, "Diagnosis: ", 0, 1); $pdf->SetFont("Arial", "U", "14"); $pdf->SetXY(40, 95); $pdf->Cell(0, 10, " " . $diagnosis . " ", 0, 1); $pdf->SetFont("Arial", "", "14"); $pdf->SetXY(10, 110); $pdf->Cell(0, 10, "Work Done: ", 0, 1); $pdf->SetFont("Arial", "", "14"); $pdf->SetXY(40, 120); $pdf->SetWidths(array(150)); $pdf->Row(array("\n" . $work_done . "\n")); $pdf->SetFont("Arial", "", "14"); $pdf->Ln(10); $pdf->Cell(0, 10, "Remarks: " . $remarks, 0, 1); $pdf->SetFont("Arial", "", "14"); $pdf->Ln(5); $pdf->Cell(0, 10, "System Engineer: " . $system_engineer, 0, 1); $pdf->output();