My application has a page of downloading a server side generated PDF file. In IE it works in a way that in the "save as", the file type auto shows "Adobe Reader", but in Chrome it only shows "All files".
It's important to remember that web browsers don't receive "files", they receive data streams. The data stream's "type" should be marked via a Content-Type header.
Content-type refers to a MIME value. MIME, incidentally, stands for Multimedia Internet Mail Extensions, since it was first designed for email with non-text content, then adapted for web use.
When a web client (browser) receives a data stream, it looks up the Content-Type MIME type. There's typically a file or database somewhere it references, either client-specific or sometimes system-wide.
The MIME type lookup typically will return what filename extension(s) that type is associated with. For example, in the global MIME mapping (/etc/mime.types) file on my machine, the type application/gzip assiciates with "gz" and "gzip" file extensions.
In-browser MIME mapping may also specify the default disposition for a data stream - that is, "display in browser" or "save as file".
So the file save options dialog's selection of default file types for a given Content-Type depends on the browser and the browser's preferences possibly augmented by sysytem preferences.
Some people, when well-known sources tell them that fire will burn them, don't put their hands in the fire.
Some people, being skeptical, will put their hands in the fire, get burned, and learn not to put their hands in the fire.
And some people, believing that they know better than well-known sources, will claim it's a lie, put their hands in the fire, and continue to scream it's a lie even as their hands burn down to charred stumps.
Install an Extension in chrome browser, go to “Chrome Web Store” -> search for “PDF Mage” in the search bar -> click on “Add to Chrome” -> after installation is complete, go to any webpage and click of “PDF Mage” Icon and the web page will be converted to PDF.
Install “Nitro PDF Reader”. Press “CTRL+P” -> look for heading “Destination” -> click on dropdown -> Select “Nitro PDF Creator” -> Click “Print” (Popup Window will appear) -> Select destination Folder & name for the file & finally click on “Save”
Press “CTRL+P” -> look for heading “Destination” -> click on dropdown -> Select “Save as PDF” -> Click “Save” (Popup Window will appear) -> Select destination Folder & name for the file & finally click on “Save”
Press “CTRL+P” -> look for heading “Destination” -> click on dropdown -> Select “Save to Google Drive (will be saved as PDF in Google Drive)” -> Click “Save” (will automatically be saved as pdf in Google Drive if Google account is be Signed In)
Hope this will be helpful.
I hope this will help you.
You can thank my dental hygienist for my untimely aliveness. So tiny:
SKIP - a book about connecting industrious people with elderly land owners