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

ReOder Page in Column Spanning

edited January 2005 in General
Hi All,

I've downloaded the SpreadSheetStyleProj (Cache the page and reorder
the page as need). It works prefectly when preview it.

but when I print to the printer since the page is regenerated again, the
page order is different from the preview.

Please advise how can I follow the preview page order to print it to the
printer.

Comments

  • edited January 2005
    Hi Joe,

    I just tested the SpreadSheetStyle example and it printed in the correct
    order after I previewed. Be sure you have the Collate option checked when
    you run your report. Have you made any changes to the example? I'll go
    ahead and re-post the example so I'm sure you have the same code as I do.

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

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2005
    Hi Nico Cizik,

    would you mind send the complied program to me since I've installed a
    new rbuilder and downlad your project again.

    But the preview and the actual print still difference.

    My environment is

    delphi5.01
    w2k professional
    rbuilder 7.02
    (I've rebuilt the source but even in clean install rbuilder, the preview and
    the actual print still difference.)

    This is a copy of my complied program.
    http://www.jpst.net/SpreadSheetStyleProj.zip

    Please advise.


  • edited January 2005
    Hi Joe,

    I'm at a loss here... I downloaded your executable and ran it on my machine,
    and the pages printed in correct order consistant with the preview. Are
    there any printer settings you are adjusting that may be causing this
    behavior? I do not believe this is something ReportBuilder is doing.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2005

    Hi Nico Cizik,

    Sorry about that. Since I print the adobe writer instead of the actal
    printer to do the testing, there is no problem
    for the printing to the physical printer. But there is problem on adobe
    writer, microsoft document image writer(2003).

    Sorry for inconvenience. Since I assume the physical printer and adobe
    writer is the same case, it is not.
    I've learnt a lesson on it. Thx


    Any suggestion for above different case?



  • edited January 2005
    Hi Joe,

    Thanks, that clears things up a bit more :). ReportBuilder uses your
    default printer driver to generate a given report to screen (unless it is
    otherwise defined). If this printer is changed before you print to file or
    paper, ReportBuilder will clear it's cache and reset the report so it can
    re-calculate the object positions using the separate driver. Since the
    SpreadSheetStyle example depends on the page cache being intact, this is
    what's causing the problem.

    As a workaround, I would suggest defining the printer you plan to use before
    previewing the report. This way there will be no need for RB to clear the
    cache.

    --
    Regards,

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

    Best Regards,

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