PDA

View Full Version : Howto Print a file


Adam
11-22-2007, 02:53 PM
Question:
Can I print a file using actions in AutoPlay Media Studio?


Answer:
To print a file from your application:

Insert the following script into any event in your application:

File.Print("Autoplay\\Docs\\print_me.doc");

Please note that this action opens the document you wish to print in the default editor, prints the document, and closes the default editor. This behavior is similar to right clicking on a file in windows explorer and selecting print.