C
C
comAT0Zz2016-03-16 14:31:53
PHP
comAT0Zz, 2016-03-16 14:31:53

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

2 answer(s)
D
Denis, 2016-03-16
@comAT0Zz

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

V
Vladimir P., 2017-09-01
@volmir

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 question

Ask a Question

731 491 924 answers to any question