How to print pdf file from published html

I have a print button, where i tried to link to pdf file and i want it automatically print. for now i have this action on my button :

on (release){
getURL(“map.pdf”);
}

i manage to view the file when i run it using swf… but, once i publish it to html it’s not working…

i want it to view the pdf file and come with the print option…

Please someone come out with the solution.

Cheers,
JIM @ ijam20