It works if browser has the inbuilt pdf viewer or local machine has pdf viewer installed.
Print preview in an iframe works in chrome and firefox ( as they have inbuilt PDF Viewer ) IE needs local PDF viewer otherwise it will show the blank pop-up ( iframe ) and download it. I will contribute. I need to look into the issue and check if browser doesn't have inbuilt pdf viewer it automatically downloads instead showing blank iframe pop-up. *Any Suggestions how to check if browser has inbuilt pdf viewer or whether it will open pdf file in an iframe * Regards, Amarjeet SIngh On Thu, Mar 15, 2018 at 1:01 PM, Mike Jumper <[email protected]> wrote: > Amarjeet, have you been able to get this to work? Is this something you are > looking to contribute? > > - Mike > > > On Sun, Jan 7, 2018 at 10:39 AM, Amarjeet Singh <[email protected]> > wrote: > > > Sorry for the late reply. > > Haven't tested yet. > > Now I have tested it and if adobe reader is not installed then it > > automatically downloads the file ( which was default behavior of > Guacamole > > ). > > But if adobe is there in the machine then it automatically open the print > > menu of the browser. > > > > On Dec 11, 2017 11:45 AM, "Mike Jumper" <[email protected]> > wrote: > > > > > On Dec 10, 2017 22:12, "Amarjeet Singh" <[email protected]> wrote: > > > > > > I have tested it in Edge, Chrome, Firefox and IE . > > > > > > Adobe Acrobat Reader is required in the client machine to view it in > > iframe > > > which lacks inbuilt PDF Viewer ( only in Internet Explorer ) > > > > > > > > > And if the user lacks a PDF viewer, what happens? > > > > > >
