# How to download and print image on button click?

**URL:** <https://forum.inductiveautomation.com/t/how-to-download-and-print-image-on-button-click/33068>\
**Category:** General Discussion\
**Tags:** perspective\
**Created:** [March 13, 2020, 2:56pm UTC](https://forum.inductiveautomation.com/t/how-to-download-and-print-image-on-button-click/33068 "2020-03-13T14:56:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ptchanchal](https://avatars.discourse-cdn.com/v4/letter/p/f9ae1b/32.png) [@ptchanchal](https://forum.inductiveautomation.com/u/ptchanchal)\
**Post date:** [March 13, 2020, 2:56pm UTC](https://forum.inductiveautomation.com/t/how-to-download-and-print-image-on-button-click/33068/1 "2020-03-13T14:56:28Z")

</div>

I have image in my image component which I retrieved from database, now I want to save that image on a button click and also want to open print dialog on other button click for printing that image.
