• Resolved cashplan

    (@cashplan)


    Hello, dear Support team.
    I use the way to print the page with CP Blocks plugin help. It works well but with one of my calculators I have trouble. It does not show print page when I click on PRINT button. May be because it is complex enough (with a lot of fields and chart).
    I do the same things for all my calcs but have different results.
    At the same time when I use the way shown in the “Tips and Tricks” section of the Documentation, it always works but the page for print does not preserve the form’s design.
    Could you have a look and recommend the way out?

    • This topic was modified 5 years, 2 months ago by cashplan.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @cashplan

    Please, try the following modification.

    The “Print Form” block has inserted an “HTML Content” field in the form with the “printForm” function. Edit its code as follows:

    Edit the piece of code:

    
    _cloneCanvas(e, f.find('canvas:eq(' + i + ')')[0]);
    

    as follows:

    try{_cloneCanvas(e, f.find('canvas:eq(' + i + ')')[0]);}catch(err){}

    Best regards.

    Thread Starter cashplan

    (@cashplan)

    It works well.Thank you.
    Best regards.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PRINT does not work with complex calculator’ is closed to new replies.