Page 1 of 2
Labels and Titles way too large when printing
Posted: Wed Oct 16, 2013 9:30 am
by 16663963
Hello,
I habe an MS Access application with a integrated linechart both on a preview form and a printed report.
All label and title sizes are defined at runtime and share the same code. Graph title is a label on Access report.
Up to TeeChart 2012 everything works fine. With the latest 2013 version the preview form looks as before
but the printed report has grossly oversized labels and titles.Reverting to 2012 resolves the problem.
Also, PDF created with 2012 is 78 KB, with 2013 3802 KB and the printer usually returns a memory error.
Strangely, the file information on the 2013.ocx shows some rather dated version information.
Thanks for your help,
Andreas
Re: Labels and Titles way too large when printing
Posted: Fri Oct 18, 2013 11:01 am
by yeray
Hello,
Excuse us for the delayed reply here.
I'm trying to reproduce the problem here but I can't. Can you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
Re: Labels and Titles way too large when printing
Posted: Fri Oct 25, 2013 6:44 pm
by 16663963
Yeray,
My project is pretty large and retrieves it's data from MS SQL Server.
I could not yet get around to make a sample Database.
Will get back on this in 2 weeks.
Best regards,
Andreas
Re: Labels and Titles way too large when printing
Posted: Wed Oct 30, 2013 9:03 am
by yeray
Hi Andreas,
If the data isn't relevant, you could try just with FillSampleValues or a simple routine adding some points.
Re: Labels and Titles way too large when printing
Posted: Fri Nov 22, 2013 10:03 am
by 16663963
Hi,
It took me a while to produce the Test database.
It is an Access 2003-DB and has 1 form and 1 report.
Just open them.
The form is always fine unless you want to print it.
Thanks for your help,
Andreas
Re: Labels and Titles way too large when printing
Posted: Fri Nov 22, 2013 11:53 am
by narcis
Hi Andreas,
Thanks for the example. I can not run it due to missing
Codejock.Controls.v15.0.2.ocx. However, the issue most likely is the same as discussed here:
http://bugs.teechart.net/show_bug.cgi?id=69. This will be included in the following TeeChart Pro ActiveX maintenance release.
Re: Labels and Titles way too large when printing
Posted: Mon Nov 25, 2013 10:25 am
by 16663963
Hi Narcís
The description fits my problem.
Also I have built a modified example
with the Codejock reference removed.
Thanks,
Andreas
Re: Labels and Titles way too large when printing
Posted: Mon Nov 25, 2013 11:13 am
by narcis
Hi Andreas,
Thanks for your feedback. I could reproduce the issue with your file now. We exepct the fix being included for the next maintenance release. If you are interested, we could send you a test .ocx.
Re: Labels and Titles way too large when printing
Posted: Mon Nov 25, 2013 2:46 pm
by 16663963
Hi Narcís
I'd gladly test the revised ocx on my full project.
Best regards,
Andreas
Re: Labels and Titles way too large when printing
Posted: Tue Nov 26, 2013 1:00 pm
by narcis
Hi Andreas,
Ok, just sent you a test .ocx to your forums profile email address.
Re: Labels and Titles way too large when printing
Posted: Wed Nov 27, 2013 2:22 pm
by 16663963
Hi Narcis
Thanks for your test OCX.
We are not quite there yet - see the enclosed JPEG's.
Please note that that title and footer text
are directly on the MS Access form/report,
not on the TeeChart control.
Best wishes,
Andreas
Re: Labels and Titles way too large when printing
Posted: Thu Nov 28, 2013 12:37 pm
by narcis
Hi Andreas,
Could you please attach the new example project?
Thanks in advance.
Re: Labels and Titles way too large when printing
Posted: Fri Nov 29, 2013 10:36 am
by 16663963
Hi Narcís
I used my production tool to produce the images.
So here's my Test.mdb modified to work with your Test.ocx.
The symptoms are the same.
Best wishes,
Andreas
Re: Labels and Titles way too large when printing
Posted: Fri Nov 29, 2013 4:14 pm
by narcis
Hi Andreas,
We are investigating the issue here. In the meantime, a workaround is disabling GDI+ in your chart:
Code: Select all
TChart1.Aspect.GDIPlus.Active = False
Re: Labels and Titles way too large when printing
Posted: Wed Feb 26, 2014 12:55 pm
by 16663963
Hi Narcis
Are there any news on this?
Disabling GDI+ is a momentary workaround but printouts are not really satisfactory ...
I could also live with an older fully functional 2013 Version for the moment.
Best wishes,
Andreas