Re: [Flashcoders] PDF2SWF - or other means to convert bytestream PDF to SWF??

2006-09-29 Thread David Rorex

By the way, using flashpaper in an automated server environment
violates the license agreement. Though if you are a small operation,
adobe may not bother to go after you.

-David R

On 9/28/06, Ray Chuan <[EMAIL PROTECTED]> wrote:

Hi,
you might want to look at FlashPaper:

http://www.adobe.com/products/flashpaper/

On 9/28/06, Ettwein, Josh <[EMAIL PROTECTED]> wrote:
> I have a need to consume PDFs with the flash player - no problem in the
> past - just use PDF2SWF to convert to multiframe SWF and loadMovie. The
> problem I'm having now is that the specs I've been given require that no
> PDF files be stored on the server, so the PDF can't physically exist,
> even in a temp dir for PDF2SWF to hit it. I can't really see a way to
> pass the byte stream of the PDF as it is rendered from the database
> content from .Net into PDF2SWF to render the SWF. Anyone else ever pull
> this off?
>
>
>
> If it's not possible (in a reasonably straightforward manner) to do it
> dynamically, I will just tell the powers that be that they're just going
> to have to store the PDF in a temp dir on the server until PDF2SWF is
> done with it and then just destroy it. I don't really see a problem with
> that, and I've done it with great success in the past, but there's a lot
> of PII (personally identifiable info) in these PDFs we're creating, and
> the execs are concerned about storing anything for even a moment.
>
>
>
> If anyone has a solution that fits my needs, I would be forever
> grateful. :-)
>
>
>
> Josh
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>


--
Cheers,
Ray Chuan
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] PDF2SWF - or other means to convert bytestream PDF to SWF??

2006-09-29 Thread David Rorex

On 9/27/06, Ettwein, Josh <[EMAIL PROTECTED]> wrote:

I have a need to consume PDFs with the flash player - no problem in the
past - just use PDF2SWF to convert to multiframe SWF and loadMovie. The
problem I'm having now is that the specs I've been given require that no
PDF files be stored on the server, so the PDF can't physically exist,
even in a temp dir for PDF2SWF to hit it. I can't really see a way to
pass the byte stream of the PDF as it is rendered from the database
content from .Net into PDF2SWF to render the SWF. Anyone else ever pull
this off?



If it's not possible (in a reasonably straightforward manner) to do it
dynamically, I will just tell the powers that be that they're just going
to have to store the PDF in a temp dir on the server until PDF2SWF is
done with it and then just destroy it. I don't really see a problem with
that, and I've done it with great success in the past, but there's a lot
of PII (personally identifiable info) in these PDFs we're creating, and
the execs are concerned about storing anything for even a moment.


I hope they don't find out that the PDF is also stored in memory while
it's converting! Next they'll ask you to convert the file without it
ever actually going into RAM!

Seriously though, if it were me, I'd tell them it has to be in a temp
file and will be destroyed as soon as it's converted. If you can't
convince them, and you have a linux server, you might look into FIFOs
/ named pipes. Basically, what you do is something like:

// create a FIFO called 'temp.pdf' this is not a file, but a 'named
pipe'. Nothing is stored on disk
mkfifo temp.pdf

// start the pdf2swf conversion in the background
pdf2swf temp.pdf &

// simulate transfering data from the network.
// the data will get passed directly to pdf2swf without going to disk
cat inputFile.pdf > temp.pdf

Another option is to use tmpfs, basically it's a ramdisk, that will
not be stored (it's only in RAM).

And finally...pdf2swf is opensource, so it shouldn't be too hard to
add an option to read from stdin and write from stdout.




If anyone has a solution that fits my needs, I would be forever
grateful. :-)



Josh



Good luck!
-David R
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] PDF2SWF - or other means to convert bytestream PDF to SWF??

2006-09-29 Thread Merrill, Jason
>>yeah. But Josh said that files are ok. 

Hi Ray.  So I can understand where we are having a disconnect, please
post where Josh said that.  

Josh clearly stated, "The problem I'm having now is that the specs I've
been given require that no PDF files be stored on the server, so the PDF
can't physically exist, even in a temp dir for PDF2SWF to hit it".

What do you interpret that to mean?  To me, it does not mean as you
suggested the following scenario, "if a pdf file is created (with PIs
and everything), as long as you have a file lock no one else can open it
while you're using it."

Josh acknowledged he is looking for a stream of a PDF, not a file
(locked or not). So far, there doesn't seem to be a solution to that
anyone has proposed. 

Jason Merrill
Bank of America 
Learning & Organization Effectiveness - Technology Solutions 
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] PDF2SWF - or other means to convert bytestream PDF to SWF??

2006-09-28 Thread Ray Chuan

Hi,

yeah. But Josh said that files are ok. For example, when you watch a
YouTube video in Firefox, the data is downloaded into your cache but
you can't open it because there's a file lock.

Similarly, if a pdf file is created (with PIs and everything), as long
as you have a file lock no one else can open it while you're using it.

Sorry if i wasn't clear about this.

On 9/28/06, Merrill, Jason <[EMAIL PROTECTED]> wrote:

>>"FlashPaper 2 allows anyone to convert printable files into Macromedia
>>Flash documents or PDF files with one click."
>>
>>Note the usage of the conjunction "or".

Yes, FILES.  Not STREAMS.  Maybe you could re-read his original post (or
even the thread title) and then reply. :)

Jason Merrill
Bank of America
Learning & Organization Effectiveness - Technology Solutions




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Cheers,
Ray Chuan
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] PDF2SWF - or other means to convert bytestream PDF to SWF??

2006-09-28 Thread Merrill, Jason
>>"FlashPaper 2 allows anyone to convert printable files into Macromedia
>>Flash documents or PDF files with one click."
>>
>>Note the usage of the conjunction "or".

Yes, FILES.  Not STREAMS.  Maybe you could re-read his original post (or
even the thread title) and then reply. :) 

Jason Merrill
Bank of America 
Learning & Organization Effectiveness - Technology Solutions 
 
 
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] PDF2SWF - or other means to convert bytestream PDF to SWF??

2006-09-28 Thread Ray Chuan

Hi,

the site says:

"FlashPaper 2 allows anyone to convert printable files into Macromedia
Flash documents or PDF files with one click."

Note the usage of the conjunction "or".

On 9/28/06, Merrill, Jason <[EMAIL PROTECTED]> wrote:

>>Hi,
>>you might want to look at FlashPaper:

I don't think Flashpaper will do a "bytestream PDF" which is what he was
looking for.  Flashpaper creates physical .swf files. Correct me if I am
wrong.

Jason Merrill
Bank of America
Learning & Organization Effectiveness - Technology Solutions






>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Ray Chuan
>>Sent: Thursday, September 28, 2006 4:30 AM
>>To: Flashcoders mailing list
>>Subject: Re: [Flashcoders] PDF2SWF - or other means to convert
bytestream PDF
>>to SWF??
>>
>>Hi,
>>you might want to look at FlashPaper:
>>
>>http://www.adobe.com/products/flashpaper/
>>
>>On 9/28/06, Ettwein, Josh <[EMAIL PROTECTED]> wrote:
>>> I have a need to consume PDFs with the flash player - no problem in
the
>>> past - just use PDF2SWF to convert to multiframe SWF and loadMovie.
The
>>> problem I'm having now is that the specs I've been given require
that no
>>> PDF files be stored on the server, so the PDF can't physically
exist,
>>> even in a temp dir for PDF2SWF to hit it. I can't really see a way
to
>>> pass the byte stream of the PDF as it is rendered from the database
>>> content from .Net into PDF2SWF to render the SWF. Anyone else ever
pull
>>> this off?
>>>
>>>
>>>
>>> If it's not possible (in a reasonably straightforward manner) to do
it
>>> dynamically, I will just tell the powers that be that they're just
going
>>> to have to store the PDF in a temp dir on the server until PDF2SWF
is
>>> done with it and then just destroy it. I don't really see a problem
with
>>> that, and I've done it with great success in the past, but there's a
lot
>>> of PII (personally identifiable info) in these PDFs we're creating,
and
>>> the execs are concerned about storing anything for even a moment.
>>>
>>>
>>>
>>> If anyone has a solution that fits my needs, I would be forever
>>> grateful. :-)
>>>
>>>
>>>
>>> Josh
>>>
>>> ___
>>> Flashcoders@chattyfig.figleaf.com
>>> To change your subscription options or search the archive:
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>> Brought to you by Fig Leaf Software
>>> Premier Authorized Adobe Consulting and Training
>>> http://www.figleaf.com
>>> http://training.figleaf.com
>>>
>>
>>
>>--
>>Cheers,
>>Ray Chuan
>>___
>>Flashcoders@chattyfig.figleaf.com
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>Brought to you by Fig Leaf Software
>>Premier Authorized Adobe Consulting and Training
>>http://www.figleaf.com
>>http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Cheers,
Ray Chuan
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] PDF2SWF - or other means to convert bytestream PDF to SWF??

2006-09-28 Thread Merrill, Jason
>>Hi,
>>you might want to look at FlashPaper:

I don't think Flashpaper will do a "bytestream PDF" which is what he was
looking for.  Flashpaper creates physical .swf files. Correct me if I am
wrong.

Jason Merrill
Bank of America 
Learning & Organization Effectiveness - Technology Solutions 
 
 
 
 
 

>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Ray Chuan
>>Sent: Thursday, September 28, 2006 4:30 AM
>>To: Flashcoders mailing list
>>Subject: Re: [Flashcoders] PDF2SWF - or other means to convert
bytestream PDF
>>to SWF??
>>
>>Hi,
>>you might want to look at FlashPaper:
>>
>>http://www.adobe.com/products/flashpaper/
>>
>>On 9/28/06, Ettwein, Josh <[EMAIL PROTECTED]> wrote:
>>> I have a need to consume PDFs with the flash player - no problem in
the
>>> past - just use PDF2SWF to convert to multiframe SWF and loadMovie.
The
>>> problem I'm having now is that the specs I've been given require
that no
>>> PDF files be stored on the server, so the PDF can't physically
exist,
>>> even in a temp dir for PDF2SWF to hit it. I can't really see a way
to
>>> pass the byte stream of the PDF as it is rendered from the database
>>> content from .Net into PDF2SWF to render the SWF. Anyone else ever
pull
>>> this off?
>>>
>>>
>>>
>>> If it's not possible (in a reasonably straightforward manner) to do
it
>>> dynamically, I will just tell the powers that be that they're just
going
>>> to have to store the PDF in a temp dir on the server until PDF2SWF
is
>>> done with it and then just destroy it. I don't really see a problem
with
>>> that, and I've done it with great success in the past, but there's a
lot
>>> of PII (personally identifiable info) in these PDFs we're creating,
and
>>> the execs are concerned about storing anything for even a moment.
>>>
>>>
>>>
>>> If anyone has a solution that fits my needs, I would be forever
>>> grateful. :-)
>>>
>>>
>>>
>>> Josh
>>>
>>> ___
>>> Flashcoders@chattyfig.figleaf.com
>>> To change your subscription options or search the archive:
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>> Brought to you by Fig Leaf Software
>>> Premier Authorized Adobe Consulting and Training
>>> http://www.figleaf.com
>>> http://training.figleaf.com
>>>
>>
>>
>>--
>>Cheers,
>>Ray Chuan
>>___
>>Flashcoders@chattyfig.figleaf.com
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>Brought to you by Fig Leaf Software
>>Premier Authorized Adobe Consulting and Training
>>http://www.figleaf.com
>>http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] PDF2SWF - or other means to convert bytestream PDF to SWF??

2006-09-28 Thread Ray Chuan

Hi,
you might want to look at FlashPaper:

http://www.adobe.com/products/flashpaper/

On 9/28/06, Ettwein, Josh <[EMAIL PROTECTED]> wrote:

I have a need to consume PDFs with the flash player - no problem in the
past - just use PDF2SWF to convert to multiframe SWF and loadMovie. The
problem I'm having now is that the specs I've been given require that no
PDF files be stored on the server, so the PDF can't physically exist,
even in a temp dir for PDF2SWF to hit it. I can't really see a way to
pass the byte stream of the PDF as it is rendered from the database
content from .Net into PDF2SWF to render the SWF. Anyone else ever pull
this off?



If it's not possible (in a reasonably straightforward manner) to do it
dynamically, I will just tell the powers that be that they're just going
to have to store the PDF in a temp dir on the server until PDF2SWF is
done with it and then just destroy it. I don't really see a problem with
that, and I've done it with great success in the past, but there's a lot
of PII (personally identifiable info) in these PDFs we're creating, and
the execs are concerned about storing anything for even a moment.



If anyone has a solution that fits my needs, I would be forever
grateful. :-)



Josh

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Cheers,
Ray Chuan
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] PDF2SWF - or other means to convert bytestream PDF to SWF??

2006-09-27 Thread Ettwein, Josh
I have a need to consume PDFs with the flash player - no problem in the
past - just use PDF2SWF to convert to multiframe SWF and loadMovie. The
problem I'm having now is that the specs I've been given require that no
PDF files be stored on the server, so the PDF can't physically exist,
even in a temp dir for PDF2SWF to hit it. I can't really see a way to
pass the byte stream of the PDF as it is rendered from the database
content from .Net into PDF2SWF to render the SWF. Anyone else ever pull
this off?

 

If it's not possible (in a reasonably straightforward manner) to do it
dynamically, I will just tell the powers that be that they're just going
to have to store the PDF in a temp dir on the server until PDF2SWF is
done with it and then just destroy it. I don't really see a problem with
that, and I've done it with great success in the past, but there's a lot
of PII (personally identifiable info) in these PDFs we're creating, and
the execs are concerned about storing anything for even a moment.

 

If anyone has a solution that fits my needs, I would be forever
grateful. :-)

 

Josh

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com