Announcement

Collapse
No announcement yet.

pdf Output SC 8 vs. SC 7 is bad ...

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • pdf Output SC 8 vs. SC 7 is bad ...

    Hi,

    look at this reports:

    SC 7:

    Header:
    v7_1.png

    Footer:
    v7_2.png

    SC 8:

    Header:
    v8_2.png



    Same report, same data, same code ... (SC 7 app converted to SC 8).
    Last edited by RHS; 12-02-2014, 11:22 AM.
    Best regards: - Reinhard -

    I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

  • #2
    PDF Report / Settings / Font and Background => change Text Font = always the same Font.
    Best regards: - Reinhard -

    I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

    Comment


    • #3
      A pdf report with with a background image (page format A4 (210x297 mm), background image with same format):

      With Automatic Page Break set to No:

      sc_pdf_pb_off.png

      With Automatic Page Break set to Yes:

      sc_pdf_pb_on.png

      This is the same report, the same record, alle settings the same except Auto Page Break ...
      Best regards: - Reinhard -

      I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

      Comment


      • #4
        I fear that you have to redo parts of your work. In stead of using the (obsolete) fpdf they are using the better tcpdf now. I have been playing with these libraries because I needed to have a html2pdf function in SC7 and I had same experiences when using both libs. Finally I used tcpdf in SC7 which is now standard in SC8, but it was a lot of work to get similar output in both libs.
        Albert Drent
        aducom software netherlands
        scriptcase partner, reseller, support and (turn-key) development
        www.scriptcase.eu / www.scriptcase.nl

        Comment


        • #5
          Originally posted by aducom View Post
          I fear that you have to redo parts of your work.
          Very little ...

          But the tcpdf implementation in SC is faulty. The tcpdf example for the example above (background image) is running without problems, but SC does not backup the status from AutoPageBreak as in this example. The SC documentation to tcpdf ist wrong (can not use pdf->..., not all tcpdf functions are available in SC, etc.).
          Best regards: - Reinhard -

          I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

          Comment


          • #6
            Ah ... after update from SC .21 to .22:

            sc_pdf_pb_on_20.png

            This is with Automatic Page Break on. The page break is now ok, but the background image is smaller and smaller ...
            Best regards: - Reinhard -

            I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

            Comment


            • #7
              Same problem with the image size with autopage Break on, that's the main reason for that I'm still using the version 7

              Comment


              • #8
                Hello,

                Issue reported to our bugs team.

                regards,
                Bernhard Bernsmann

                Comment


                • #9
                  Hello

                  Part of this seems to have been fixed in 8.00.0028 I can now get the image to A4 size. However the other settings seem to have differing effects.
                  If I create a simple pdf report Portait, A4, automatic page break yes, I get 64 records on the first page and 63 on subsequent pages. On page 2 (onwards) the records 1 row down on the page.
                  Nothing I do seems to resolve this. Can you please check and resolve this or provide help.
                  Thank you.
                  John

                  Comment


                  • #10
                    Another problem here:

                    If I create a html image field, Width and Height settings don't work. Image is always shown with the same size. It must be changed directly in the generated code (Layout PDF section).

                    Comment


                    • #11
                      Tis bug it's still unsolved, that's the main reason why i'm still using v7, it's very important for my systems to deliver pdf reports

                      Comment

                      Working...
                      X