Home General

Duplex for "Terms of conditions"

edited November 2011 in General
Hello,

what is the best way to print the "terms of condition" always on the back
side of the paper by using a duplex?

Best regards
Chris

Comments

  • edited November 2011
    Hi Chris,

    Take a look at the following article on how this can be done.

    http://www.digital-metaphors.com/rbWiki/Design/Pagination/Duplex_Printing_Legalese_to_the_Back_of_Every_Page

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2011
    thank you Nico, this sounds good.

    But if I am just using the summary band already in the report, did I have a
    chance also to use this for the the back side of the last page?

    Another idea which came today is, to print the report in a file RAF and then
    parse that file and insert the legalese by merging pages and then print
    directly that new file. Is there an API available to insert/delete pages?

    best regards
    chris


  • edited November 2011
    Hi Nico,
    I have tried out the wiki instruction, but my report is more complex with
    lots of nested subreports and also a lot of scripts inside to blend in/out
    headers for the first page and different headers for the following pages,
    which are smaller. The Wiki instruction seems to be for more simple reports.
    If there is no other solution, perhaps my idea for printing those reports in
    a file with the RB native RAF format and then insert the backpage there on a
    file base and print that RAF file. Is there a possibility to insert (merge)
    pages in RAF format?

    Best regards
    chris




  • edited November 2011
    Hi,
    actually I figured out, what's to change in the script to get it work with
    subreports. But now I am running in another situation.
    In a Detail I have vertical lines to separate the columns with the option
    "Reprint on Overflow". In the Detail are also 3 Regions which are connected
    to shift with the above region (chain of three regions). In the first of the
    three regions is a Memo. When the Memo not fits on the first page, the
    "Legalese" is printed, then the third page is printed by repeating header
    and so on, but not with the vertical lines. It seems that they have
    forgotton their reprintOnOverFlow. Without the special group with the
    "Legalese" all is working normally. I am using 12.x on Delphi XE.

    Best regards
    Chris


  • edited November 2011
    Hi Chris,

    Are you able to recreate this behavior with a simple example? In my
    testing with a stretchable memo and a line, the line did successfully
    print next to an overflowing memo after the disclaimer showed. Please
    send an example to support@digital-metaphors.com and I'll take a look at
    it for you.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2011
    Hi Nico,
    it is very difficult to isolate it, because I am using a lot of subreports,
    sql api's and a lot of scripts.
    But what's about my other idea, to print a report in a RAF Archive file and
    hen to read that file and insert every two pages a "Terms of conditions".
    This seems to me a very general method. Is there a possibility to
    insert/merge/delete pages on a RAF file?

    Best regards
    Chris



  • edited November 2011
    Hi Chris,

    I found an example I created a while back that does something similar to
    what you want with RAF files. It uses the same concept as the
    SpreadSheetStyle example we have where report pages are generated to
    memory, then reorganized to give a spreadsheet effect.

    This example first generates all pages to memory, then manually adds a
    "custom" page containing the disclaimer info after each page. Once this
    is done, all pages are then sent to the printer.

    The example can be downloaded at the following link.

    http://www.digital-metaphors.com/tips/PrintLegaleseOnEvenPages.zip

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.