0

I've also asked this question on the Awesomium question/answer deal (here), but have gotten no reply, so I am asking here hoping that someone here has dealt with the issue. Whenever I render a PDF in an iframe, it shows as a separate app in a window. I don't need it to be displayed in an iframe, or even visible at all, I just need it to launch the print window, so that filled out PDF can be printed... please help... (I am currently using v 1.7.1 of Awesomium, though I had the same problem is a previous 1.6.? version)

Serj Sagan
  • 28,927
  • 17
  • 154
  • 183
  • 1
    Consider hosting Acrobat Reader ActiveX control directly, side-by-side with Awesomium. It's quite snappy, here's how it can be done: http://www.codeproject.com/Articles/380019/Using-Adobe-Reader-in-a-WPF-app/ , http://hugeonion.com/2009/04/06/displaying-a-pdf-file-within-a-wpf-application/ – noseratio Aug 08 '13 at 00:08
  • 1
    If you use this comment as an answer, I will choose yours as the accepted answer and even up-vote it. BTW, the video in the second link is what actually helped me the most... – Serj Sagan Aug 21 '13 at 08:53
  • Thank you - I've taken this opportunity :) – noseratio Aug 21 '13 at 09:28

2 Answers2

1

Consider hosting Acrobat Reader ActiveX control directly, side-by-side with Awesomium. It's quite snappy, here's how it can be done:

http://www.codeproject.com/Articles/380019/Using-Adobe-Reader-in-a-WPF-app/ http://hugeonion.com/2009/04/06/displaying-a-pdf-file-within-a-wpf-application/

The Reader Control API is described here: http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/iac/IACReference.pdf

noseratio
  • 59,932
  • 34
  • 208
  • 486
0

Did you tried with WebBrowser Control in C# ... that might help you ...

Aravind
  • 1,521
  • 2
  • 12
  • 23
  • @ Grant Winney .. I dont know exactly .. but in webbrowser control we can show the details .. so i said.. sorry if it is wrong... – Aravind Aug 07 '13 at 03:50
  • Reason that I can not use WebBrowser is that it depends on the version of IE that is installed on the user's machine... as I am using some newer technologies to accomplish my goals, that that even IE 8 can not handle, I must resort to something where I can control the version installed...I am open to other browser solutions... that can accommodate these things... – Serj Sagan Aug 07 '13 at 03:51
  • Besides, using Acrobat Reader plugin inside WebBrowser has its own issues, [particularly, with WPF](http://stackoverflow.com/questions/18054379/how-to-display-pdf-in-web-browser-control-instead-of-opening-acrobat-reader/). – noseratio Aug 08 '13 at 00:14