Answer the question
In order to leave comments, you need to log in
When printing a document created with PHPExcel, an infinite number of pages are printed. Why?
The content of the document fits on one page, even less than half. Tried to put breaks. The form itself, before filling, is printed adequately. Where to dig further is not clear. phpexcel version 1.8
Answer the question
In order to leave comments, you need to log in
Not an infinite number.
This lib respects empty lines by default.
That is, an empty document has X lines, where X is a fairly large number. I don’t remember now, it seems 65536 rows and 256 columns (It depends on the format and memory) - I could be wrong.
Look in the documentation for the answer to this question.
Start here https://github.com/PHPOffice/PHPExcel/issues/561
Here is a link to the documentation on how to prepare a document for printing using PHPExcel:
https://github.com/PHPOffice/PHPExcel/blob/develop...
Everything you knew and did not know was already invented and described there! :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question