Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Send PDF e-mail in a Master/Detail page

New Here ,
Aug 31, 2011 Aug 31, 2011

Hi there,

I've created a master/detail page in Dreamweaver CS5.5 and I wanted to format the detail page into a PDF and send it by e-mail.

It will be great to have three buttons:

     - Show PDF

     - Send PDF

     - Print PDF

Can anyone help???

Thank you very much!!!!!!!!!

Jaume

TOPICS
Server side applications
1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 31, 2011 Aug 31, 2011

If you open a PDF in the browser, regardless of whether you are using the Spry or not, it should open Acrobat/Reader.  Within Reader there is the option to send and print the PDF.  I don't think you will be able to show the PDF without those options appearing on the screen.  And same goes for printing.  I don't believe you can print a PDF without the Reader app open because the user needs to have the file you are printing open.  Otherwise that would leave the security door wide open if you could print any file from any destination using a print function.  The email one is the only one you can get around because you can attach the PDF to an email with a PHP mailing script.

Take a read over what I just said and see if that makes sense about what you want to do.  Or if you have an example up of what you have and to show in a little more detail what you hope to acheive that might be helpful.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 31, 2011 Aug 31, 2011

Thanks SnakEyez, but it is not exactly what I ment.

I've made a master/detail page of an SQL table. The detail page is what I want to be generated as a PDF, and then send or printed.

Any idea???

Thank you very much

Jaume

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 07, 2011 Sep 07, 2011

What scripting language are you using? You will need to find a PHP generator/library. Once you've got that, the rest is simple.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 08, 2011 Sep 08, 2011

Bregent,

I found DOMPDF which is mostly what I needed.

It still is not working properly but it will with some hours' fight 😉

Thank you!!!!

Jaume

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Sep 09, 2011 Sep 09, 2011

Does that create a PDF from a web page? It's been a while since I looked at such solutions and I imagine they've come a long way since then.  Back then, activepdf was the only thing around, pricey and geared more for the enterprise. Perhaps now they offer solutions for single websites.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 09, 2011 Sep 09, 2011
LATEST

There are several for PHP like fpdf and mdpf which are free.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines