waplet Posted August 28, 2013 Report Share Posted August 28, 2013 Kā jūs ģenerējat kaut kādus pdf'us? Kur piemēram ir noteikti platumi , izmēri utt. Ir kkāda piemēram forma, kur ievada datus un ir tāds pats, kas ir Word'ā sagatavots. Tur protams vienmēr tas viss sanāk 1:1, kā raksta tā printējas, bet iekš html, tur viss staipās un arī izmēri atšķiras un tā forma, kad printēta no html uz pdf, izskatās savādāk. Kā jūs zīmējat PDF'us? Ar klasēm , kur ir $pdf->thisCell(...) vai piemēram $pdf->download($myhtml); ? Padod html'u, vai ar cell'iem taisat? Quote Link to comment Share on other sites More sharing options...
Kaklz Posted August 28, 2013 Report Share Posted August 28, 2013 Pārsvarā html/css => pdf, piemēram: http://www.mpdf1.com/mpdf/index.php https://code.google.com/p/wkhtmltopdf/ Quote Link to comment Share on other sites More sharing options...
ArnisR Posted August 28, 2013 Report Share Posted August 28, 2013 https://github.com/dompdf/dompdf Quote Link to comment Share on other sites More sharing options...
Sangsom Posted August 29, 2013 Report Share Posted August 29, 2013 http://www.tcpdf.org/ http://www.fpdf.org/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.