0

I am using PD4ML to print a PDF file and It is working fine. Now the thing is I want show that file directly in acrobat with out save that file. In Local version I am using

Program.launch(getFilePath());

It is working fine but in web version I am unable to get that. Can you please suggest me, Its very helpful.

Thanks, Vara Kumar PJD

darioo
  • 46,442
  • 10
  • 75
  • 103
varakumar.pjd
  • 713
  • 2
  • 8
  • 13

2 Answers2

1

The web isn't like your desktop, so forget about doing things on the web the way you do them on the desktop without at least some effort.

Know that you don't read PDF files on the web using Acrobat without a browser plugin. Or some other reader like Foxit Reader.

My recommendation: forget about doing it this way. Either server your pdf as a file that can be downloaded, or read this SO post about embedding PDF in HTML.

Community
  • 1
  • 1
darioo
  • 46,442
  • 10
  • 75
  • 103
1

I don't think this will be possible: "showing file outside browser in an application without user consent" because that is how browser are made for security reason. The best you can do is, as pointed in earlier post is by darioo, to show file in browser or prompt user to download/open.

Neo
  • 31
  • 2