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

special paper size

edited July 2005 in General
Hi,

i need to prin a report on a sheet that is 3.5 inches high and 8.5 inches
wide,

the paperheight property is already changed, but doing some tests, on a
regular size sheet(11" x 8.2") it makes a form feed and doesnot
respect the height on the report.

Any ideas?

Comments

  • edited August 2005
    Hi Arturo,

    Are you loading templates before you print this reports? Is the paper size
    showing up correctly on screen when you preview the report? Be sure you
    have your PaperName set to Custom in order to print on a special paper size.

    If you are loading templates, the paper size will reflect the paper size
    defined when the template was saved. You will need to change the size again
    inside a template event such as the OnLoadEnd event.

    --
    Regards,

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

    Best Regards,

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

  • edited August 2005
    Hi Arturo,

    Usually when the output to the screen differs from the output to paper it is
    due to some event code or other code in your app being executed during the
    report generation before it is printed. If you print directly to the
    printer, skipping the screen, do you still get the same effect? Try placing
    a break point in the BeforePrint event where you populate the labels and
    check the paper size. ReportBuilder does not send any form feed commands to
    your printer. All commands are handled using the Windows API. If your form
    is feeding through it is because the API thinks there is more to print. You
    may also try commenting out all your event code and seeing if you can get
    the correct paper size to print successfully with a static label.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2005
    Here is what i tried so far...

    i created a new report, with just 2 labels on the header band, no events
    code, no nothing; the report has not a pipeline connected.

    i checked the paper size is correct, but still, i got a formfeed after the
    2 labels are printed....

    the report is sent directly to a dot matrix printer using textradevices, the
    property AllowPrinttoFile is set to true, DeviceType is set to
    PrinterFile...

    Any other idea!!!

    IS REALLY URGENT!




  • edited August 2005
    Hi Arturo,

    As I mentioned in my previous post, ReportBuilder does not directly
    communicate with your printer, it uses the Windows API to send your printer
    driver commands.

    ReportBuilder ==> Windows API ==> Printer Driver ==> Printer

    If the paper size is correct in ReportBuilder then that is what is being
    sent to the Windows API and it is most likely the fault of the printer
    driver for the form feed. I am not familiar with the Dot Matrix support
    offered by TExtraDevices. Try contacting waler support (support@waler.com)
    for help with this.

    --
    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.