|
|||
|
Hi all,
I am working on creating a .pdf (with dynamic data from access) without serverside scripting. So far i have found two methods for doing this: * with the Blaze PDF component (http://www.blazepdf.com/index.html) This converts to pdf inside Flash. It works: bit it's very slow and has some problems with multiple images. It sends the PDF data to swfkit and from there it's saved. * with pdf-printer software, e.g. Bullzip PDF (http://www.bullzip.com/products/pdf/info.php) It works, but requires two extra installations and extra user input, which makes it not very user-friendly. Now my question: Is there another method? What would you guys advice? Would it be possible to bypass Flash and do it straight from swfkit? Maybe someone knows better virtual printer scripts? Thanks in advance |
|
|||
|
|
|
|||
|
The attached sample is translated from the asp sample on http://www.i-logic.com/PDFActiveX.htm
|
|
|||
|
Oh man, i am so happy with this! Thanks again, you made my day. This not only works much faster then the blaze-component but it also is much easier to implement! Maybe it's an idea to add this sample to your samples page? |
|
|||
|
SWKit cannot set value of a property that has parameters. That is, the syntax like
Code:
ax.textleading(page) = 20; Code:
var value = ax.textleading(page); Code:
ax.setProperty("textleading", page, 20);
To get this method, please download the following patch, extract it intoto the "data" sub folder of the directory in which swfkit pro has been installed, for example, "c:\program files\swfkit pro 3\data", and overwrite the old file. http://www.swfkit.com/download/swfkit/propatch.zip To test the method, you will have to run the output exe file, as the patch is not for the preview mode. |
|
|||
|
Another great fix from you! Thank you very much, it now works like a dream.
Many Flash devs fall off their chair when i show them i can generate a .pdf without any server-side language... A while ago you wrote a piece of code to save an xml file as utf-8. (http://www.swfkit.com/forum/thread_1_1937.html) I've tried to implement this for .pdf as well, but that doesn't seem to work. Do you have any ideas on this too? |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|