Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

paper size control

edited March 2004 in General
Support,

I have difficulty in setting the paper size in my apps. My problem:
1. I have some reports which are printed in 12" or 14" pre-printed form by
Espon LQ1170+ dot matric printer
2. Sometimes the printouts are correct, but sometimes the page break is in
the wrong page length.
3. I already set the printersetup.papersize inside my program.

Can you give a simple demo program to show up how I control the paper size?

Benson Wong
Linktech Computer System Co.
D5, RB6.03 Ent.

Comments

  • edited March 2004
    Hi Benson, Sorry about the email... wrong button :).

    Which version of ReportBuilder are you using? Where are you setting the
    page length (which event)? Are you printing these reports directly from the
    preview or as archives? Are you loading templates before you print your
    report?

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2004
    1. RB 6.03 Ent Edition
    2. before calling pplist.print.
    eg. pplist.PrinterSetup.PaperHeight:=14;
    ......
    pplist.print;
    3. The problem happened in calling the report directly from the preview and
    archives
    4. no template is involved.

    Pls. give hints or advices
    Benson.


  • edited March 2004
    Hi Benson,

    When using archives, you will need to assign all printer properties inside
    the TppArchiveReader.OnInitializePrinterSetup event or you will not see the
    correct results.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2004
    Do you have a sample demo program to show how to set the page length?

This discussion has been closed.