Díky funguje. Jen kdyby ten soubor nebyl větší než s pdfFactory