D6, RB 10.01 and Regions
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
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
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
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
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
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
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
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
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
They were able to print fine to this sharp printer before RB 10.01.
Cheers,
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
again.
Thanks,
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I just sent the email.
Kevin