[php] tcpdf와 fpdi를 같이 사용해서 기존 pdf위에 글씨 넣기
SetMargins(PDF_MARGIN_LEFT, 40, PDF_MARGIN_RIGHT);$pdf->SetAutoPageBreak(true, 40);$pagecount = $pdf->setSourceFile('a.pdf');for($i=1; $iaddPage(); $tplId = $pdf->importPage($i); $pdf->useTemplate($tplId); $pdf->SetTextColor(255,0,0); $pdf->SetXY(55,27); $pdf->Cell(30, 0, "test", 0, $ln=0, 'C', 0, '', 0, false, 'T', 'L'); }$pdf->Output('output.pdf', 'I');