Hallo!
Ich hoffe ich habe das nicht falsch verstanden. Jedenfalls sah meine Lösung am Ende so aus:
system ("htmldoc --webpage --jpeg=50 -f $pdf_output $temp_html");
header("Content-Type: application/octet-stream");
header("Content-Disposition: attachment; filename="expose_ID".$ID.".pdf"");
readfile($pdf_output);
Viele Grüße
Andereas