I have generated the data using eloquent and used laravel default pagination 100 record per page in laravel blade view. But, when i print the page it only give me 100 record not all showing all record on print. Is there any function or option for this.
Asked
Active
Viewed 989 times
-1

Ali Raza Marchal
- 9
- 3
-
Duplicate of https://stackoverflow.com/questions/39262940/print-all-data-in-multiple-page-pagination – Theodoros80 Apr 01 '20 at 11:06
1 Answers
0
I think you need to create a specific function, who return a pdf file with all content for print.
It's a better solution.

Gary Houbre
- 857
- 8
- 24
-
-
if you need to print all result, create a pdf is a best approach for print. – Gary Houbre Apr 01 '20 at 08:31
-
I got that, but why? What's the advantage of creating a pdf instead of outputting all results on a HTML page? Why is it "the best approach"? – brombeer Apr 01 '20 at 08:35
-
1If you look a number of page + 100 record per page, 52300 result in one page, this page can be slow. Then create a pdf for print, it's a good solution. – Gary Houbre Apr 01 '20 at 08:43
-
Still not convinced that creating a 52300 results pdf and downloading it is that faster. Whatever. – brombeer Apr 01 '20 at 09:00
-
If you create a pdf : you have got more charge into server, if you want render into your navigator : you have got more charge into client. Scroll infinite is a paginator for example, you can't render all data once. – Gary Houbre Apr 01 '20 at 09:04