I got to a point where I can send commands to the object, but I don't know what commands to send.
After a bit of research it may be that due to security restrictions, that you may have to use the postMessage method to send a string to the PDF file. And some javascript within the PDF file should be set up as a handler for that message.
I'm not 100% but it looks like that may be the case.
This is the code that I had.
<html>
<body>
<object id="mypdf" classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" width="450" height="450">
<param name="SRC" value="test.pdf">
<embed src="test.pdf" height="450" width="450">
<noembed> Your browser does not support embedded PDF files. </noembed>
</embed>
</object>
<script type="text/javascript">
function DoBoo() {
var myStrings = new Array();
myStrings[0] = "Boo";
document.mypdf.postMessage(myStrings);
}
</script>
<form action="#" method="get">
<input type="button" value="Boo" onclick="DoBoo();" />
</form>
</body>
</html>