Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing Word documents from a projector file??? 2

Status
Not open for further replies.

JCKotze

Technical User
Apr 5, 2001
5
ZA
Hi all,

I am putting together a quotation for a client in Flash. While the quote is displayed, I have inserted a "print" button in the navigation area.

Is it possible to attach a separate MS Word document to the movie clip and have the button print it out? The Word document is correctly formatted for print, and I want to print that instead of a frame of the movie.

I'd appreciate any help.

Thanks
JC
 
JC,
You could probably use Fs Commands to open the MS Word document... But would probably have to print it from the MS Word Print function.

In the Fs Command window:
Type this in your command box: Exec
Type this in the arguments box with the expression box checked: "start" add chr(9) add "filename.extension"
Extension probably being .doc in your case.

;-)
 
you could also try the following which would not require the user to select 'print' from the file menu, although it would require you to do a little extra work:

Create a new movie with dimensions 21.0cm x 29.7cm, cut and paste the content of your word document into the movie, one frame representing one A4 page.

In the first frame of the movie insert the following actions:
Code:
   printAsBitmapNum (0, "bmovie");
   fscommand ("quit");
   stop ();


In your original movie create your button and put the following action on it:
Code:
   on (release) {
       fscommand ("exec", "the-movie-with-A4-content.exe");
   }

I haven't tested the print quality because my printer is out of action at the minute but it might be worth a try.

What this basically does (if you haven't firgured it out already) is that it opens another exe projector containing the printable content, the content is automatically prompted to print, and the exe closes itself.

My test files (publish as exe to test):

dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
Hi Dave,

Thanks very much for your help with my question regarding printing from Flash - The problem I'm having, however, is that, if possible, I want to send only 1 file to the client - is there any way one could internalize or embed the file to be printed in the original file? I just feel it would be more effective if the client could process the quotation entirely from one source.

The method you sent me worked, BTW, and I will use it if there's no other way around it, but I couldn't get Oldnewbie's method to work.

I'd greatly appreciate any advice you might have

Regards
JC Kotze
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top