8
7
6

Hello,

I have a form which will output a receipt which I would like broken into several pages. My page structure is a page controller with several pages inside. I have checked the option "Force Page Break Before on Receipt" on each of the pages, but no page breaks appear on the receipt. The only time page breaks are shown is when there are only two pages in my page controller. 


How can this be fixed?

Thank you.

    CommentAdd your comment...

    3 answers

    1.  
      2
      1
      0

      For anyone with the same issue - This was fixed by adding 

      float:none !important;

      to the style for our page wrapper block. Apparently float:left is is the default and breaks PhantomJS

        CommentAdd your comment...
      1.  
        3
        2
        1

        Hi,

        we also have many format/layout issues with pdf receipts for Maestro forms; mismatched heading styles, lots of white space. elements out of order, text does not wrap, and others.

        I have raised another Q&A topic for that:

        https://support.avoka.com/kb/questions/98533759/html-receipt-options---improve-appearance

        I understand that the engineering team are looking at replacement for PhantomJS, and I have investigated using iText, but have not reached a satisfactory solution as yet.

        Any progress on this issue would be appreciated.


        Thanks

        Mark

          CommentAdd your comment...
        1.  
          1
          0
          -1

          Hi Will,

          Is it Maestro or Composer? Sounds like Composer to me.

          If Composer: Do you use tables? This style can help - tr- td- tables:

          .tr {

            page-break-inside: avoid !important;

          }

          Also, try to add page breaks (pdf) components where you want the break.


          Regards,

          Julio.

          1. Will Pierson

            Hi Julio, 

            This issue is appearing in Maestro. We have talked with Avoka about it and it seems to be a bug. They have submitted this issue to the engineering team, hopefully it is resolved soon. 


            Thanks

          2. Dan Cormick

            We are also experiencing this issue. 

          CommentAdd your comment...