# Select Printer script

**URL:** <https://forum.inductiveautomation.com/t/select-printer-script/15959>\
**Category:** Ignition\
**Created:** [November 10, 2017, 8:27am UTC](https://forum.inductiveautomation.com/t/select-printer-script/15959 "2017-11-10T08:27:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lsauna40](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lsauna40/32/4515_2.png) [@lsauna40](https://forum.inductiveautomation.com/u/lsauna40)\
**Post date:** [November 10, 2017, 8:27am UTC](https://forum.inductiveautomation.com/t/select-printer-script/15959/1 "2017-11-10T08:27:27Z")

</div>

Hi, is it possible to select a printer from tag?  
Example when Tag Value change select printer 1  
When Tag Value change again select printer 2

```auto
def valueChanged(tagPath, previousValue, currentValue, initialChange, missedEvents):
     if system.tag.read("[.]STAUTR").value:
         shared.report.difetti.printReportDifetti(currentValue.value)

```

How can i change this script for appear one window where can i select the printer for print?
