21. februar 2006 - 16:49Der 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?
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?
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.
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.
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?
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 :)
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.