Hello, I have an issue when printing PDFs from lualatex. The printing with cups always stops with error: "cfFilterPDFToPDF: load_file failed: temp file: unable to find trailer dictionary while recovering damaged file". The same tex document compiled with pdflatex is sprinting just fine.
It used to work fine, but over the last couple of weeks / month something must
have
changed. I am printing rarely any documents. I dont know when it was the last
time where
it worked.
It happens on three PCs. For me that looks like a systematic issue and not an
individual
configuration error.
It happens even to very simple documents like this one:
\documentclass{article}
\begin{document}
test Dokument äöü ÄÖÜ ß
\end{document}
I have attached the two resulting PDF documents. Only the pdflatex version is
printing
fine.
The cups error log says this:
W [09/Sep/2024:11:15:24 +0200] [Job 372] temp file: file is damaged
W [09/Sep/2024:11:15:24 +0200] [Job 372] temp file: can\'t find startxref
W [09/Sep/2024:11:15:24 +0200] [Job 372] temp file: Attempting to reconstruct
cross-
reference table
W [09/Sep/2024:11:15:24 +0200] [Job 372] temp file (object 9 0, offset 542):
EOF after
endobj
W [09/Sep/2024:11:15:24 +0200] [Job 372] temp file (object 9 0, offset 398):
stream
dictionary lacks /Length key
W [09/Sep/2024:11:15:24 +0200] [Job 372] temp file (object 9 0, offset 487):
attempting to
recover stream length
W [09/Sep/2024:11:15:24 +0200] [Job 372] temp file (object 9 0, offset 487):
recovered
stream length: 17
E [09/Sep/2024:11:15:24 +0200] [Job 372] cfFilterPDFToPDF: load_file failed:
temp file:
unable to find trailer dictionary while recovering damaged file
E [09/Sep/2024:11:15:24 +0200] [Job 372] cfFilterChain: pdftopdf (PID 120710)
stopped with
status 1
E [09/Sep/2024:11:15:24 +0200] [Job 372] universal filter failed.
E [09/Sep/2024:11:15:24 +0200] [Job 372] Job stopped due to filter errors;
please consult
the /var/log/cups/error_log file for details.
This is on Endeavouros PCs.
The OS is up-to-date and the TeX versions are:
texlive 2024.2-2
╰─# lualatex -v
This is LuaHBTeX, Version 1.18.0 (TeX Live 2024/Arch Linux)
Development id: 7611
╰─# pdflatex -v
pdfTeX 3.141592653-2.6-1.40.26 (TeX Live 2024/Arch Linux)
kpathsea version 6.4.0
Any idea what is going on? Any suggestion what I could do to debug this further?
Thanks in advance,
Matthias
test-klein-lualatex.pdf
Description: Adobe PDF document
test-klein-pdflatex.pdf
Description: Adobe PDF document
