Avatar billede globulous Nybegynder
21. februar 2006 - 16:49 Der er 8 kommentarer og
1 løsning

Printing from flash

When printing from flash, is there anyway you can make sure the user doesnt scale the flash element that he is printing? Like printing landscape instead of portrait...etc If so, is it possible to adjust elements within the flash document that are being printed so that they maintain the desired dimensions?

Stanford
Avatar billede barklund Nybegynder
21. februar 2006 - 16:52 #1
You can only send a vector drawing with bounds and possibly multiple pages to the printer - but the printer decides the paper format, margins etc. What do you wish to accomplish - or circumvent?
Avatar billede globulous Nybegynder
21. februar 2006 - 16:57 #2
In my case the user is printing a design that he has made online. Once it is printed out he is to cut the design out or the printed paper and it should fit into a particular mobile phone earpiece. That is, the print out must maintain the exact dimensions of the original flash document.
Avatar billede barklund Nybegynder
21. februar 2006 - 17:06 #3
Flash is vector, and thus not dimnsional accurate when it comes to neither pixels nor meters. As far as I know, you cannot guarantee any such thing. But you can though set up some standard setting, that will work on default A4 portrait and then recommend your users to use this - and inform them, that otherwise it will not fit.

Otherwise, you could export to some image format (or pdf or the like) and make this the correct size. But that's a larger process.

--
Morten Barklund
Avatar billede globulous Nybegynder
21. februar 2006 - 17:12 #4
Ok, do you know if it is possible via .NET to export to pdf and then print? Would you have to pay a license fee or something? Otherwise, which other formats do you know of that are possible to export to via .NET?
Avatar billede barklund Nybegynder
21. februar 2006 - 17:16 #5
You would still have the trouble of converting the drawing (which you have programmatically only) into an actual image - this is the hard part :) And I know nothing about .NET :)
Avatar billede globulous Nybegynder
21. februar 2006 - 17:18 #6
Do you know if it would help to copybitmap first? Would this in some way maybe solidify the dimensions?
Avatar billede globulous Nybegynder
21. februar 2006 - 18:03 #7
anyway, thanks for the input. Send svar and Ill send points
Avatar billede barklund Nybegynder
21. februar 2006 - 18:30 #8
I wouldn't know - havent used BitmapData much yet :(
Avatar billede barklund Nybegynder
22. februar 2006 - 13:02 #9
Thanks anyways :)
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester