ActionScript 2.0 :: Send A Pic To The Printer?

Jun 2, 2005

I've created a print button. I now want to have it sent to the printer a picture that is in my .fla file. What is the best way to achieve this?

View 4 Replies


Similar Posts:


Allow To Print To Printer Or PDF?

May 15, 2009

I have a presentation file I need to print out  are ther any utilities or functions within flash that will allow me to print to printer or PDF?

View 4 Replies

ActionScript 3.0 :: Too Much Data Being Sent To Printer

Apr 20, 2011

I've been building an AIR application in AS3 which includes a number of drawing tools, allowing the user to annotate a page with freehand drawings, lines, text etc. I'm almost done and everything tests well on my dev computer but testing on an old XP machine crashed every time I tried to print. Eventually I realised this was due to a mass of data being sent to the printer which that poor old XP machine just couldn't handle. All I'm doing is creating a new printJob with printAsBitmap set to true, and using addPage to add the MC I want to print.

When I look at the windows print jobs dialog I see it's sending 1.68Gb of data to the print spooler! I figured that there must be too much in the MC so I create a bitmapData of the same size and copy it to a bitmap, then add that to a blank MC and send that to the printer - same problem! The MC is 2480x3508 which equates to 300dpi on A4 paper. By my calculations that should be a bitmap of around 33Mb, so where is all the other data coming from.

Here's my PHP Code:
var myPrintJob:PrintJob = new PrintJob();
var result:Boolean = myPrintJob.start();
var options:PrintJobOptions = new PrintJobOptions();
options.printAsBitmap = true;
var thisRect:Rectangle = new Rectangle(0, 0, 2480, 3508);
myPrintJob.addPage(printTemplate, thisRect, options);

PrintTemplate is a simple MC containing a single bitmap. Both the bitmap and the printTemplate object are 2480x3508 pixels.

View 1 Replies

Make Button Link To Map A Printer?

Feb 9, 2010

I want to make a button map to a local printer on the network.

View 6 Replies

ActionScript 2.0 :: Flash8 : Set The Printer In The Landscape Mode?

Apr 19, 2010

i m trying to set the printer on the landscape mode but unable to do so.i also used the my_pj.orientation == "Landscape") but got no success in achieving the subject.

here is my code

on (release) {
var my_pj:PrintJob = new PrintJob ();
if (my_pj.start ())

[code]...

how can i achieve the printer in the landscape mode?

View 3 Replies

ActionScript 3.0 :: PrintDataGrid Printer Manager No Response

Feb 11, 2010

I'm running app in air. When I'm trying to print the print manager window show up, i choose printer and click 'ok' and nothing happens. Printer icon showup for few seconds but have no print tasks. Of course it's not becouse of the printer managar (it works fine when printing from e.g. word).My code looks like this:

[Code]....

View 1 Replies

ActionScript 2.0 :: Print Sent To Printer But No Page Gets Printed?

Mar 7, 2008

Ok, this is a function that used to work...so I didn't check it for a while...and I did not edit it from when it was working in any way...but now the print function does not produce a page from the printer...when I click "Print View" the print dialog box comes up, and I can choose my printer, and when I click ok, there is a tooltip near the windows clock that says document sent to printer, but the printer never does anything...I have tested this in several printers and several computers...I have also tried to output to a pdf...and it allows me to choose a file name to save to but it never creates the file...

print button code:

Code:
printButton.onRelease = function()
{
var pj:PrintJob = new PrintJob();

[Code]....

View 2 Replies

ActionScript 1/2 :: Programmatically Change Printer Paper Size?

Jun 16, 2010

I'm trying to programmatically print a movie clip to 8.5" x 11" plain paper regardless of the current paper size setting in the printer. e.g if the user's printer is currently set to use paper size A4, can I change the setting to Letter (8.5" x 11") from ActionScript at runtime? I use PrintJob class for printing the movieclip. According to the ActionScript online API spec [URL], I can only READ the paper size setting after the call to PrintJob.start. I can't believe that we are not allowed to change the setting.

View 1 Replies

ActionScript 3.0 :: Programmatically Change The Printer Paper Size?

Jun 16, 2010

I'm trying to programmatically print a movie clip to 8.5" x 11" plain paper regardless of the current paper size setting in the printer. e.g if the user's printer is currently set to use paper size A4, can I change the setting to Letter (8.5" x 11") from ActionScript at runtime? I use PrintJob class for printing the movieclip. According to the ActionScript online API spec [URL], I can only READ the paper size setting after the call to PrintJob.start. I can't believe that we are not allowed to change the setting.

View 1 Replies

Java :: Portable Way To Determining Of Printer Is Physical Or Virtual?

Feb 25, 2011

I need direct-to-printer functionality for my website, with the ability to distinguish a physical printer from a virtual printer (file).has this functionality via a native binary which must be installed by the user. I'd prefer to avoid thatI dug through that Java APIs a bit, and don't see anything that would let you determine physical vs virtual, except looking at the name (that seems prone to misidentification). It would be nice to be able to do it in Java, because I already know how to write Java applets. Failing that, is there a way to do this in Flash or Silverlight?

View 3 Replies

Printing - Recommended Printer For Flash PrintJob() (Name Badges)?

Mar 29, 2011

A client needs a standard consumer color printer for printing name badges from my flash app. Last time we used the app, I couldn't do any pre-testing of their computer and printer beforehand. So, of course, the margins were completely wrong when the time came to print. Ideally, I'll have the flash app's bugs worked out for the next run, but for safety's sake does anyone know of a printer that has good controls for custom margins and offsets, in case some minor adjustments are needed?

View 1 Replies

ActionScript 2.0 :: Make A Button Map To A Local Printer On The Network?

Feb 9, 2010

I am making a floor map for the company I work for. And I want to make a button map to a local printer on the network...

View 1 Replies

ActionScript 2.0 :: Use CopyPixel To Create A Simple Text Printer?

Apr 5, 2007

I was wondering if it would be possible to use copyPixel to create a simple text printer for example you have a font as an image like this

[URL] then have some code that will transform your text ="hello world" into HELLO WORLD on your flash screen, but written in that font.

Because the font is spaced equally you could have the source x and y, times by 16pixels for each letter and move the Y source down 16 pixels when it reaches the right side of the image

View 2 Replies

ActionScript 3.0 :: Can Print Selction On Stage To Jpeg Format Or To Printer

Feb 10, 2010

does anyone know a way that you can print a selction on the stage to jpeg format or to a printer

View 3 Replies

ActionScript 2.0 :: Can Flash Force Printer To Print In Landscape Mode

Apr 25, 2008

I want to have flash set the default print orientation to landscape when it calls the print object...is this possible?

View 1 Replies

ActionScript 3.0 :: Print Button Dumps Entire Flash Windows To Printer

Feb 15, 2011

I have been working on a small Flash application. I want to add a "Print" button to it, and just dump the entire flash-window to the printer. Is this possible??

View 1 Replies

Flex :: Performance - Printing From AIR/Flex Application Causes Large Files Being Sent To Printer?

Oct 25, 2010

I am working on an Adobe AIR (2.0) application that contains a feature to allow users to print documents (such as salary slips). Those documents are originally in PDF format. Due to circumstances we cannot directly display those PDFs in the AIR application (for example using flash.html.HTMLLoader). Therefore we convert the PDFs to SWFs (using the pdf2swf tool, see The SWFs are loaded into the application using a mx.controls.SWFLoader, like so:

<mx:SWFLoader
id="salarySlipImage"
loaderContext="{someLoaderContext}"

[code].....

View 2 Replies

Java :: Print Photo ID Card To A Plastic Card Printer From Website?

Oct 28, 2010

printing directly to a Photo ID Card printer in a web browser?I have a web application that manages user data, photo, and so forth. I'd like to add a Print ID Card feature to it. The web application is a single page javascript application that talks to a RESTful web service via JSON. I'd like to display what the printed card will look like on both the front and back for approval before the user clicks the print button.

Generate front and back JPG or PNG images to print on the server, send them to the client for display and approval, and then somehow send the images to the printer.Use javascript with SVG or Canvas to display the card to print in the UI for approval, then somehow send the SVG/canvas data to the printer.Generate a PDF and print the PDF to the printer.Use Flash to display and print Use a Java applet to display and print Something else?

View 3 Replies

ActionScript 2.0 :: Send List Of Variables From Php To Flash And Send Back Random Selection To Php?

Nov 16, 2010

I'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button.

I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.

View 2 Replies

ActionScript 2.0 :: Send List Of Variables From Php To Flash And Send Back A Random Selection To Php?

Nov 16, 2010

I'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button. I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.

View 6 Replies

ActionScript 2.0 :: Send Data To A CGI Script Via GetURL And Not Have A Popup Window On Send?

Mar 11, 2004

I searched around and found some helpful things, but I am still missing something I think...

LoadVariables() won't work across domains, right, so, is it porrible to send data to a CGI script via getURL and not have a popup window on send?

View 3 Replies

Media Server :: Shareobject.send() - Send Method Does Not Work

Mar 18, 2010

I have a problem with shareobject. the Send method does not work. I work with AS3 My code

[Code]....

View 4 Replies

ActionScript 2.0 :: Send Xml 2 Class >>> Send Result 2 Swf?

Nov 24, 2005

I am actually discovering Classes.I try to make a class that reads out an XML file and than converts it into arrays.the array is well created in the class file, but I can't send it back to the swf correctly: it only duplicates the first item of the array in an infinite loop, but when I trace it into the class the output displays it right..

with this code I call the class:

Code:
var myProduct:Product = new Product("gallery.xml");
this.onEnterFrame = function() {
trace(myProduct.getArray());

[code]....

View 1 Replies

Compile Send Don't Send Error On CS3?

Mar 12, 2009

a week ago I bought the following monster template template:[URL]..my last changes to it were to the popup boxes that appear on the SERVICII page when you click those titles there. Right after those changes it compiled and published, everything ok, i did several other tasks in Photoshop then back to my flash and at the next recompile, Error - Send don't send Flash has to close. I reopened it and it keeps closing forced. I tried undoing my steps but nothing worked. I am desperate, the project is due completion on saturday and my source is messed up.

Can anyone tell me why I get that? Has anyone been in a similar situation.I am a flash newbie, I saw no errors in "Compiler Errors" or in "Output", just force closing the Flash CS3.

View 8 Replies

ActionScript 3.0 :: Send Value To ASP.Net?

Sep 4, 2011

I want to send a value to an ASP file on the same webserver like this : [URL]. Value1 is supposed to be sent from my flash file.

View 1 Replies

Send A ByteArray To FMS?

Sep 23, 2011

Who knows how to send a ByteArray to FMS?

View 1 Replies

ActionScript 3.0 :: Send Value One Swf To Another Swf?

Dec 7, 2011

i have create an application which have diffrent modules this application is created in 10 diffrent fla's each fla is one section of questionionare, student can choose any topic then then desire swf will load in index.swf and it shows storyboard and euiz at the end. i wanna to send student score to quiz swf file to index.swf and from there student can choose any another catagoery and play quiz again.... so i stuck to send value quiz swf to index swf... is it any way that i can make some connection to all these swf's that i can send value to any swf file while open it can show parent swf's value and when it close then it send value to parent swf....

View 4 Replies

ActionScript 2.0 :: Cant Send To PHP?

Feb 19, 2009

ActionScript Code:[URL]..Ok heres the problem i am uploading somthing to /upload/upload.php and all that workes fine but i need to send fileRef.size to upload2.php and send the user and the var to that page.

View 2 Replies

ActionScript 3.0 :: Send Xml To Url

Dec 19, 2009

I have a problem I am having this icon pictures as buttons and when I click on them the background image of my website is loading ..I have three different background image and I would like that instead of on this background image , which is loading when I click on the icon picture , to go to an external url

now here in this coding I have add instead of the picture a link to an website but is not working

this is xml actionscript

<?xml version="1.0" encoding="ISO-8859-1"?>
<bgImages>
<image>

[Code]....

View 1 Replies

ActionScript 2.0 :: Getting The XML.send() And ASP?

May 4, 2004

Ive got an xmlDom object with xmlStructure in my actionscript,and now it needs to be written to an xml file,and I dont wanna do it with PHP because all my other server-side scripting happens with asp

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved