How to view a PDF in a html viewer, not from a file

  1. Does this work on both Windows and Mac?
  2. Does this work without having a PDF reader already installed on the system? (loading a PDF in a browser uses Adobe’s Reader plugin if that is installed, but otherwise may fail).
  3. Could you post the code here please?

Thanks.