Professional Documents
Culture Documents
MDM Zinc + PrintJob AS3
MDM Zinc + PrintJob AS3
o register
Buscar..
Add a tutorial
Qu quieres buscar?
What is Cristalab?
Tags
Examples
Contact Us
Anime
Search
Register
Groups
Help Forum
Quote Good afternoon, I am developing an application in AS3 where I need to print a MovieClip by pressing a button. already made many tests and works perfectly from Flash Professional CS5.5, but the problem is that when I create the. exe from Zinc 3.0 simply does not work, ie if it shows the dialog box of the printer when trying to print but it does nothing, it closes the dialog box as if nothing had happened. Is there a plugin or some other way to print with Zinc ? had raised me generate a pdf and print it but I think it is the most optimal and that several more pages and should work directly from Flash. Many thanks in advance.
Send a private message
By Pressiale
6 clabLevel
Quote
Try this, I always worked perfect package classes { import mdm. *; import flash.display.MovieClip; import flash.events. *; import flash.net. *; import flash.printing. *; public class Printer { private var print_job: PrintJob = new PrintJob (); private var options: PrintJobOptions PrintJobOptions = new (); private var result: Boolean; function Printer (Page: MovieClip) { mdm.Dialogs.prompt ("Started") result = print_job. start () if (result == true) { print_job.addPage (Page, null, options); print_job.send (); delete print_job; mdm.Dialogs.prompt ("printed"); } else { trace (" ERROR "); mdm.Dialogs.prompt ("not print"); } } } } Cheers! I find in codigomasmas.com.ar
By cutepizarro
95 clabLevel Tutorial 1
foros.cristalab.com/mdm-zinc-printjob-as3-t108441/
1/3
8/27/13
PHP-MYSQL-FLASH-ZINC
@ Cutepiza
Quote
Thank you very much for answering, this is almost exactly the kind I use for printing (without the mdm.Dialogs). Previously not pass the dialog box, but now it works, it will not last but a day to another work, such once problems with the driver or something. Also thank you very much.
By Pressiale
6 clabLevel
Quote
Pressiale hello I was looking the same for printing from zinc mdm no dialogue or automatically accepting printing dialogue you have any idea how? some example that you could show thanks
By jesaltsie
20 clabLevel
Flash cs3
Flash plugin
Flash 5
Reply to topic
Page
Cristalab BabyBlue v4 + V4 2011 Cristalab Powered by ClabEngines v4 , HTML5, love and ponies.
foros.cristalab.com/mdm-zinc-printjob-as3-t108441/
2/3
8/27/13
Blog
Forums
Tutorials
Flash Tutorials
Examples. Fla
Anime
Videotutoriales
Courses
Flash Course
HTML Course
Tags
foros.cristalab.com/mdm-zinc-printjob-as3-t108441/
3/3