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

Page Scaling Like Adobe???

edited November 2004 in General
Is there anyway to print a report from RB, designed for Legal size paper, to
an arbitrary paper size with automatically scaling like Adobe reader does??
My application users are all over the world and most have US paper, but some
only have A4 or 81/2 by 11 and want to print all reports on that one size
paper, scaled down as necessary.


Thanks,

Austin

Comments

  • edited November 2004
    Hi Austin,

    Unfortunately there is no built in way to "scale" a report before it is
    printed. As I mentioned in our earlier conversation, report anchors should
    make this process much easier. However, there may be some special issues
    that your could come across. I would suggest trying to print your report on
    both types of paper and seeing exactly what needs to be done. If a certain
    component is not positioned correctly, you may need to move it manually
    based on the paper size being used.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2004
    Nico,

    Thanks for then help, unfortunately your suggestion does not work. My
    reports are fully utilizing every mm of control width and I can not
    reposition them with out overlapping controls.

    I have purchased one of your recommended add on products that prints to PDF
    and automatically opens it in Adobe after print. This is close to what I
    want.

    I see that the new version of RB also prints to PDF. Does it allow me to pre
    specify the adobe PDF file name and directly print the file and load Adobe
    with out any end user dialogs. So the end user just clicks the button to
    print and sees the report in Adobe Reader??? Is it possible to pre specify
    default printer setup when loading Adobe so the desired paper size is
    automatically pre selected??

    Thanks,

    Austin




  • edited November 2004
    Hi Austin,

    Using ReportBuilder 9, and the PDF device you will be able to export your
    report directly to PDF and open the generated file in Acrobat all in one
    simple button click.

    Here are the steps you would need to take to accomplish this using RB 9.

    1. Set the Report.AllowPrintToFile property to True.
    2. Set the Report.DeviceType property to PDF.
    3. Set the Report.PDFSettings.OpenPDFFile property to True.
    4. Set the Report.ShowPrintDialog property to False.
    5. Set the Report.TextFileName property to the path and file name you want
    to create.

    6. Call Report.Print.... Done...

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2004
    Nico,

    Thanks, that looks like the way to go!!

    Austin


This discussion has been closed.