Print-Button (skript for printing invoice as pdf)

Tap Forms – Organizer Database App for Mac, iPhone, and iPad Forums Script Talk Print-Button (skript for printing invoice as pdf)

Viewing 2 reply threads
  • Author
    Posts
  • January 17, 2022 at 12:34 AM #46311

    Eddy
    Participant

    Dear Folks!

    I apologize in advance. I really searched but didn’t find anything in the forum.

    Here is my problem:

    In my tapforms-CRM I have a button, that generates an email to the customer when clicked. Indeed, I managed, that this generates a complete addressed email with subject and text. I have also a button for phone calls. (I love tapforms for this!)

    Now I would like to have a button, that prints the invoice (from the invoice-layout) or saves it as a PDF.

    Of course, I know: I could just go to the invoice-layout and then choose menue>print. But I’d rather have it as a button in the CRM-layout.

    Really great would it be, if there could be a script, that could be used to generate an email containing the invoice PDF as an attachment.

    Thanks in advance for thinking along.

    Regards,

    EDDY

    January 17, 2022 at 2:00 AM #46315

    Brendan
    Keymaster

    Hi Eddy,

    Thanks for the feature request.

    You can trigger the Print screen from a Script.

    Utils.printRecordsShowPanel(true);

    But you can also select a layout first:

    document.selectFormLayout(form_id, layout_id);

    January 17, 2022 at 3:45 AM #46317

    Eddy
    Participant

    Brendan, I love you!

    1000 thanks.

    EDDY

Viewing 2 reply threads

You must be logged in to reply to this topic.