# Print Window Automatically Once a Day

**URL:** <https://forum.inductiveautomation.com/t/print-window-automatically-once-a-day/2538>\
**Category:** Ignition\
**Created:** [January 20, 2011, 7:10pm UTC](https://forum.inductiveautomation.com/t/print-window-automatically-once-a-day/2538 "2011-01-20T19:10:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rooks](https://avatars.discourse-cdn.com/v4/letter/r/ce7236/32.png) [@rooks](https://forum.inductiveautomation.com/u/rooks)\
**Post date:** [January 20, 2011, 7:10pm UTC](https://forum.inductiveautomation.com/t/print-window-automatically-once-a-day/2538/1 "2011-01-20T19:10:52Z")

</div>

I have project with a window that I would like to open and print automatically at 6:00AM every day.

The window has a table component in it that populates when the window opens.

The project is usually left running 24/7.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://forum.inductiveautomation.com/u/Robert)\
**Post date:** [January 20, 2011, 9:18pm UTC](https://forum.inductiveautomation.com/t/print-window-automatically-once-a-day/2538/2 "2011-01-20T21:18:38Z")

</div>

Client timer script?

Works as long as the client is running.

Gateway timer script can work if you just want the data printed out.  
 ![:scratch:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/76d1620bec252bfac07050c889ff5a91dc8a9c25.gif ":scratch:") How much work is it to get a gateway script to launch a client?  
Carl, Travis? Is this doable? I would think the client that gets launched would have to be auto logged in.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [January 22, 2011, 11:10pm UTC](https://forum.inductiveautomation.com/t/print-window-automatically-once-a-day/2538/3 "2011-01-22T23:10:22Z")

</div>

Yeah getting it to launch a client and then print the window from a gateway script would be awkward. If you already have a client open 24/7 then you can use that one.

I’d use a client timer script as suggested that opened the window when it detected that it was 6:00, waited a bit to ensure the window opens and data bindings fill in the data, and then print the table, and then close the window.

[This topic](http://www.inductiveautomation.com/forum/viewtopic.php?f=23&t=4371) covers automatic printing.

The scripting for this can get pretty hairy - let us know if you run into any snags.
