View PDF Documents Inline

9 posts by 2 authors in: Forums > CMS Builder
Last Post: July 8, 2012   (RSS)

Re: [kcmedia] View PDF Documents Inline

By Jason - July 4, 2012

Hi Craig,

You should be able to output a link directly to the PDF, depending on the browser, it should just open up in the browser.

In terms of restricting saving/printing, this is a function of the pdf plugin in your particular browser. Most PDF creation software packages allow you to restrict printing when you create the document, so it would have to be done at that time.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] View PDF Documents Inline

By KCMedia - July 4, 2012

Hi Jason

Mark here Craig is still away.

What i mean is i dont want to open a pdf external to the website browser i want to keep them locked inside the browser as the documents cant be saved to the persons computer because of the nature of the content of the documents they dont want to allow people to save them to their computer or print them out. I have worked out a way of stopping them from printing them using css print media, but i cant find a way of making the pdf open inline with the browser.
Thanks



Craig

KC Media Solutions

www.kcmedia.biz

Re: [kcmedia] View PDF Documents Inline

By Jason - July 4, 2012

Hi,

This is normally a function of the browser. On most modern browsers, a link to the pdf should spawn a pdf reader within the browser window. Is this not what you are getting?

Stopping them from saving the document would have to be done through the PDF software at the time when the document is created.

Is there a reason why it needs to be a PDF as compared to content on the webpage?

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] View PDF Documents Inline

By KCMedia - July 4, 2012

yes because some of the documents are around 20 or more pages long and they already have them all in pdf documents there are about 200 documents in total.
Thanks



Craig

KC Media Solutions

www.kcmedia.biz

Re: [kcmedia] View PDF Documents Inline

By Jason - July 5, 2012

Hi,

Okay. Since the documents have already been created, there isn't a good way of stopping people from saving the documents to their computers.

Please let me know if you have any other questions.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] View PDF Documents Inline

By KCMedia - July 8, 2012

Does anyone have any idea what i can do with this solution. We need to make the pdf documents only viewable online so that people cant download them or print them at all.

things i have been thinking about but cant work out.

upload pdf to cmsb and then when someone clicks a link it will turn the pdf into html?

upload pdf to cmsb and then when someone clicks a link it will turn the pdf into flash?

anyone help this is getting very urgent now?

thanks
Mark
Thanks



Craig

KC Media Solutions

www.kcmedia.biz

Re: [kcmedia] View PDF Documents Inline

By Jason - July 8, 2012

Hi Mark,

I did a little more research. One option I found was to use #toolbar=0 in your link.

ie
<a href = "myPdf.pdf#toolbar=0">My PDF</a>

This supresses the Adobe Toolbar.

For more information, check here:

http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] View PDF Documents Inline

By KCMedia - July 8, 2012

Hi Jason

thanks for that but only works for Safari and Firefox but not for IE so not really a solution.

I found this service that turns the document into images and displays them inside shadowbox but it is a aspx script i have the source code now just need to find a server that will run aspx so we can use it now.

Mark
Thanks



Craig

KC Media Solutions

www.kcmedia.biz