# How to print pdf file from published html

**URL:** <https://forum.kirupa.com/t/how-to-print-pdf-file-from-published-html/273981>\
**Category:** flash\
**Created:** [October 23, 2008, 10:45am UTC](https://forum.kirupa.com/t/how-to-print-pdf-file-from-published-html/273981 "2008-10-23T10:45:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ijam20](https://avatars.discourse-cdn.com/v4/letter/i/278dde/32.png) [@ijam20](https://forum.kirupa.com/u/ijam20)\
**Post date:** [October 23, 2008, 10:45am UTC](https://forum.kirupa.com/t/how-to-print-pdf-file-from-published-html/273981/1 "2008-10-23T10:45:59Z")

</div>

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
