Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    May 2010
    Posts
    28
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Save web page to PDF then email

    Hi all,

    I was wondering if anyone knew of a script that saves a web page to PDF and emails it out.

    It's for an MIS system we use at work. We'd like to email an order confirmation to customers by just clicking a "Send" type of button.

    So we'd like it to either save it to PDF and automatically put it into an email, or skip the saving part and just convert it into a PDF and put it into an email

    Does anyone know of a script that can do this?

    Thanks in advance

    Regards
    Ryan

  • #2
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,448
    Thanks
    11
    Thanked 598 Times in 578 Posts
    why not just give it to the user as a download right there, i don't see the need for email and email w/attachments is a no-go for JS alone. You can generate the pdf in javascript and then give them a link to save the pdf then and there. google "js pdf" to get a couple creation options.
    my site (updated 2014/10/20)
    BROWSER STATS [% share] (2014/9/03) IE7:0.1, IE8:4.3, IE11:9.2, IE9:2.7, IE10:2.6, FF:16.8, CH:47.5, SF:7.8, NON-MOUSE:37%

  • #3
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,878
    Thanks
    6
    Thanked 1,035 Times in 1,008 Posts


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •