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

D6, RB 10.01 and Regions

edited March 2006 in General
Greetings,
I've got a large app and use regions to print headers, spacing, etc.
I always set it up so the region doesn't show on the report:
Brush.Style := bsClear;
and
Pent.Style := psClear;

However, my customer is getting "boxes" on their invoices and order
confirmations.

These are customizable by the customer so I've dialed into their system and
verified these property settings.
I have even resaved the template being used still to no avail.

Any advise would be greatly appreciated.

Kevin Stanton
RDB Solutions

Comments

  • edited March 2006
    Hi Kevin,

    You should only have to set the Pen.Style in order to remove the region
    border.

    Are you able to recreate this behavior in a simple example on your machine?
    In my testing with RB 10.01 and Delphi 6, I was unable to recreate this.
    Setting the Pen.Style to psClear on a TppRegion placed in the header band of
    a blank report generated a blank report.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2006
    Hi Nico,
    I am unable to reproduce what my customer is reporting.
    I have set the Pen.Style to psClear on their end (I store the report def in
    a db table) and have saved the report.
    I'm at a bit of a loss here.
    Kevin


  • edited March 2006
    And something even weirder -
    1) Not all users at this one site is experiencing this.
    User 1 gets the boxes, user 2 does not.
    2) They can preview an invoice and it looks fine but printing produces the
    boxes.

    Kevin



  • edited March 2006
    Hi Kevin,

    What type of printer are they using? Be sure they are using the latest
    version of the driver available for that printer. Are they able to test
    printing to a different printer?

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2006
    Hi Nico,
    Thanks for the idea of switching to a different printer.
    It worked. They switched to an HP printer and all is well.

    They have recently bought a document management system that uses the
    following printer:
    Sharp, Model # AR-M550N
    Digital Laser Copier/Printer
    Digital Multifunctional System

    They just got the system so their drivers should be up to date.
    Any ideas why this printer would have issues?

    Thanks for your help,
    Kevin




  • edited March 2006
    Hi Kevin,

    I have not heard of this issue before regarding Sharp printers.
    ReportBuilder does not communicate directly with any printer, it uses
    generic Windows API commands which in turn communicate with the printer
    driver and then to the printer. It is the responsibility of the printer
    driver authors to correctly handle these Windows commands. Are your regions
    set to be transparent? I know some printers do not handle transparency very
    well and this could be causing an issue.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2006
    I thought that's how RB communicated to the printers.
    I did check the transparency property and it is checked.
    At this point my customer is "happier" and I need to move on (see the up
    coming pdf issue :)
    Thanks for all your help.
    Kevin

  • edited March 2006
    One last bit:
    They were able to print fine to this sharp printer before RB 10.01.
    Cheers,
    Kevin

  • edited March 2006
    Hi Kevin,

    Thanks, I will research this further and get back to you if I find
    something.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2006
    Any luck here Nico? My customer would like to start using the new printer
    again.
    Thanks,
    Kevin

  • edited March 2006
    Hi Kevin,

    I created a small patch that may fix the problem. Please send a small email
    to support@digital-metaphors.com requesting the patch and we can see if it
    makes a difference.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2006
    Thanks Nico,
    I just sent the email.
    Kevin

This discussion has been closed.