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

Report in custom page size

edited January 2002 in General
I am trying to print a report in a page of 8.5" by 13". The report has a
Title, Summary, Detail, and Footer. But the first page print as it were
a letter size paper, not the second page, that print to the end of the
13".
When I change the paper size, either to 8.5 x 11 or 8.5 x 14 its print
ok. The worst part is that in the 13" the records between the 11" and
13" are lost, are not printed in the second page.

Any suggestion?


Alberto Hernandez

Comments

  • edited January 2002

    Alberto:

    We need a little more info to help you as follows:

    1) What operating system are you printing in ???
    2) What printer are you printing on ( Dot Matrix ) ???
    3) What printer driver are you using ???
    4) What version of Delphi/ReportBuilder are you using ???


    If you are printing on a Dot Matrix printer, I can offer the following
    insights:

    1) Windows printer drivers have a tough time with custom paper sizes.

    2) Later versions of Windows ( Millenium, 2000, XP ) seem to get worse
    and worse for supporting custom paper sizes.

    You have just a few options to correct these problems:

    0) Open Microsoft word and create a document using this custom paper
    size. Try to print from Word.

    1) Preview the Report, click on the printer icon, then click on
    properties to see that the custom paper settings are correct ( specific
    steps vary by Windows version ).

    2) Try switching printer drivers ( download latest from the web ) get
    instructions on the printer manufacturers web site - sometimes they suggest
    the use of specific drivers. Play around with some settings such as the
    spooling. Spooling should be RAW or not done.

    3) Sometimes the printer drive will choke on an item placed on your
    report. Try moving items around just before the point they disappear or if
    in a band, move the objects in the band slightly.

    4) Download the ReportBuilder report manual. Review the sections on
    printing to a text file then sending the text file to the printer.

    5) Check the printer cord and make sure it is functioning.


    We actually gave up using the printer drivers themselves. We print alot
    of custom paper size stuff. We intercept the report from reportbuilder and
    merge it with printer commands ( escape codes ) and send those commands and
    text directly to the printer. However, this is a very complex process.

    Give us more info and we will do our best to help. By the way, Microsoft
    Access and many other programs have problems with custom paper sizes in
    Windows.


    Neil Huhta
    Profit Monster Data Systems LLC
This discussion has been closed.