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

Report Generation Problems

edited August 2002 in General
I am experiencing two report generation problems. In each case, I am
first previwing the report to be generated, then using the print icon
on the standard preview form to generate the report.

Problem 1

I have a report whose normal orientation is landscape. When printed
on a HP Laser IIID, this report's left margin keeps getting narrower,
causing the print to slip over to the left, more and more on each
page, until the leftmost type is off the page. When I change the
orientation to portrait in the printer menu, the report prints fine,
ie, the left margin remains consistent. This problem occurs on on the
HP IIID, and not on a QMS860, or a Brother MFC3100C, so my guess this
is a printer driver problem, but I'd like a second opinion. PS:
Paper margins for the report are set at .5 inch on all sides.

Problem 2

Same report as noted above... default is landscape orientation. If I
change the orientation to portrait in the printer options menu, then
the report prints correctly, except that the page numbering is wrong
in the "Page x of y" page numbering. For example, in landscape mode,
the report is 4 pages long. If I print it in portrait mode, the
report is only 3 pages long, and only 3 pages print, but the last page
says, Page 3 of 4, the first page says, Page 1 of 4 and so on. In
other words, the total page count is not being reset when the
orientation changes. PassSetting = psTwoPass for the report.

Thanks

Comments

  • edited August 2002
    I have experienced a similar problem with a HP Laserjet 4 and 5D. For me it
    is the right margin that's narrower than entered in page setup. If I want to
    have 10 millimeters on both sides, I have to enter 8 on the left and 12 on
    the right to get correct results, whereas on a Tectronix Phaser I get the
    entered margins right as they are entered. But it doesn't seem to get
    narrower on each subsequent page.
    Furthermore, all text is shifted up a bit so that the layout is broken. Thus
    I have to create a special report for Laserjets and one for the rest which
    print real WYSIWYG.

    I'd also like to know if it is a problem with the program or with the
    printer, especially because the HP Laserjet is considered to be one of THE
    standard printers in commercial use.

    Andreas Kr?gersen

  • edited August 2002
    1. Have you downloaded the latest printer driver?

    2. Take one of our main demo reports and print it. Does it show the same
    behavior with the page numbers? If you can't reproduce the problem, then
    check your event handlers for this report. Are you using subreports? What
    is your code doing to the report as it generates?


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited August 2002
    I would expect HP LJ 4 and 5 to work well. We have a LJ 5 here that we all
    day long to print reports. Can you send us an example that doesn't work
    correctly? Are you using the latest printer driver from HP?


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.