DOMPDF output first page only -
i using dompdf convert html pdf file.
i want output first page dompdf generates. example, if there 4 pages worth of html, want pdf has first of these 4 pages. remaining 3 pages should ignored or discarded.
the answer this question states that:
if need render first page pdf that's bit more difficult. though technically possible dompdf i'd inclined render pdf use external library pull out first page.
i want dompdf only, not want use external library.
how can make dompdf generate single page pdf only?
Comments
Post a Comment