# Is it possible to simulate the "print" context menu command in AS3?

**URL:** https://forum.kirupa.com/t/is-it-possible-to-simulate-the-print-context-menu-command-in-as3/268436
**Category:** flash
**Created:** [August 13, 2008, 8:57pm UTC](https://forum.kirupa.com/t/is-it-possible-to-simulate-the-print-context-menu-command-in-as3/268436 "2008-08-13T20:57:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![SAEC\_KV](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@SAEC\_KV](https://forum.kirupa.com/u/SAEC_KV)
#### Post date: [August 13, 2008, 8:57pm UTC](https://forum.kirupa.com/t/is-it-possible-to-simulate-the-print-context-menu-command-in-as3/268436/1 "2008-08-13T20:57:25Z")

</div>

Hi,

I’m trying to create a button within my Flash app that will send the entire screen to a printer. I want it to simulate the exact function of the “print” context menu item (when you right click in the flash player window and select print). _Is there a command in AS3 that will allow me to do this?_

I know I can just tell users to “right click and select print”, but if it’s at all possible this would be a much cleaner solution.

PS. I’m not using the printJob() class because I can’t print everything on screen at once without telling it to print every little thing, and some things I don’t even know how to print (like objects with system-assigned instance names).
