Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

8/27/13

Forgot your username or passw ord?

MDM Zinc + PrintJob AS3


Usuario Contrasea Enter

o register

Buscar..

Forums Blog Tutorials Courses Videotutoriales Comic

Add a tutorial
Qu quieres buscar?

What is Cristalab?

Tags

Examples

Contact Us

Anime

Search

Register

Groups

Help Forum

MDM Zinc + PrintJob AS3

Forum Index > Actionscript 3, Flex and AIR

Posted on October 30, 2012 8:56 a.m.

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

Posted on October 30, 2012 3:03 pm

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

Send a private message Email

foros.cristalab.com/mdm-zinc-printjob-as3-t108441/

1/3

8/27/13

MDM Zinc + PrintJob AS3

PHP-MYSQL-FLASH-ZINC

@ Cutepiza

Posted on November 9, 2012 11:21 pm

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

Send a private message

Posted on February 18, 2013 5:54 pm

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

Send a private message

Forum Index > Actionscript 3, Flex and AIR


Anuncios Google

Flash Player com

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

MDM Zinc + PrintJob AS3

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

You might also like