![]() ![]() ![]() The print button works fine on all browsers.The only request on the webserver appears when initially opening the pdf When using the "download" or "print" button in the adobe view, there is no additional request to the webserver (on none of the browsers).On Edge and Chrome the save dialog does not use the filename given in the response headers, while firefox uses the correct name.Some notes, I recognized while analyzing the problem: Header('Content-Transfer-Encoding: binary') Header('Content-Disposition: inline filename="'. ![]() This is the code I use to display the pdf file: header('Content-Type: application/pdf') Strange thing is, that the print button next to the download button works. The file is displayed correctly and when the user clicks the download button the save dialog opens, but when he presses the save button the file is not downloaded (error message "network error"). Since end of may this makes problems with Microsoft Edge and Google Chrome. Usually he then uses the download button of the adobe plugin to save the file on his PC. The PDF-file is shown inline, so the user can verify that it is the correct file. I've made a small program to search and display an PDF-file, some years ago. ![]()
0 Comments
Leave a Reply. |