PDF-attachments (that is: attachments to a PDF-file, not email)

45 views
Skip to first unread message

de_google_the_web

unread,
Jan 21, 2012, 9:00:36 AM1/21/12
to Prawn
Hi

if I overlook this information in the available Prawn-documentation,
pse feel free to point me there:

Is there currently a way to make Prawn attach files to a given PDF or
one in creation?

The information is not very important, as I have no problem to use a
call to "system pdftk ..." to achieve my goal. But I would feel a
little dumb, using the Gem all the time but resorting to an external
tool, where it is not really needed.

Thank you anyway...

That was part 1.

Part 2: PSE, by all means, provide a communication chanel that does
*NOT* require a Google-account, either in addition or (better) as a
replacement for the current Google group. TY.

Brad Ediger

unread,
Feb 7, 2012, 9:53:03 PM2/7/12
to prawn...@googlegroups.com
On Sat, Jan 21, 2012 at 8:00 AM, de_google_the_web
<pat....@don.blech.e4ward.com> wrote:
> Hi
>
> if I overlook this information in the available Prawn-documentation,
> pse feel free to point me there:
>
> Is there currently a way to make Prawn attach files to a given PDF or
> one in creation?

We currently don't have a high-level way to do this, sorry. If you can
determine how to do this at the PDF level, you can use add_content()
to add the appropriate content to your document.

As an aside, sorry to the slew of posters who just had their messages
go through. For some reason, Google Groups didn't send me the
moderation notifications for the 5 or 6 emails in the queue until just
now.

Brad

Jorge Fuertes Alfranca

unread,
Feb 18, 2018, 11:35:53 AM2/18/18
to Prawn
Any news about this? I would love don't need to write my PDF to a file and call an external tool to attach a file that I have in memory also and I write to disk just to attach it.

Thanks.
Reply all
Reply to author
Forward
0 new messages