You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, please allow me to express my sincere gratitude for your work. Thank you very much!
Your question
I've been using tFPDF for a long time now and I would like to continue using it.
To meet the new tax requirements, I would like to use your library to create the required XML and merge it with my PDF invoices.
I have implemented your basic sample code and the XML creation works fine and is valid.
I have then merged it with my PDF and although it works as well, I am very confused about the resulting file size.
The original PDF is 52 KB.
The sample XML is about 1 KB.
The merged ZUGFeRD PDF from these two files is 116 KB.
Is this normal? This seems to be a huge overhead. Would it be possible to keep the file size at a minimum? I would expect the result to be 53 KB, but even with some additional header data not larger than 60 KB.
First of all, please allow me to express my sincere gratitude for your work. Thank you very much!
Your question
I've been using tFPDF for a long time now and I would like to continue using it.
To meet the new tax requirements, I would like to use your library to create the required XML and merge it with my PDF invoices.
I have implemented your basic sample code and the XML creation works fine and is valid.
I have then merged it with my PDF and although it works as well, I am very confused about the resulting file size.
The original PDF is 52 KB.
The sample XML is about 1 KB.
The merged ZUGFeRD PDF from these two files is 116 KB.
Is this normal? This seems to be a huge overhead. Would it be possible to keep the file size at a minimum? I would expect the result to be 53 KB, but even with some additional header data not larger than 60 KB.
Sample Code
The text was updated successfully, but these errors were encountered: