Scale on A3 printout

TeeChart for ActiveX, COM and ASP
Post Reply
kant
Newbie
Newbie
Posts: 5
Joined: Tue Nov 02, 2010 12:00 am

Scale on A3 printout

Post by kant » Thu Jun 09, 2011 9:21 am

Hello,

In an access database I have 2 reports (1 A4, 1 A3) with a full-size line chart.
Both reports are identical except for paper and TChart-size.
All TChart-properties are set at runtime with .Font.Size = 7 and .LinePen.Width = 1

The A4-reports previews and prints perfectly while the A3-report shows considerable larger fonts and thicker lines.
.Zoom.Enable is set to False.

What else can I do to preserve font/line size on the larger report?

Thanks,
Andreas

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Scale on A3 printout

Post by Yeray » Fri Jun 10, 2011 8:41 am

Hello Andreas,

I'm afraid we don't have an A3 printer here in the office to make tests.
I've tried with a virtual printer (CutePDF Writer) and I think I reproduce the problem. Find attached the two pdf files produced with the following code:

Code: Select all

Private Sub Form_Load()
  TeeCommander1.ChartLink = TChart1.ChartLink
  
  TChart1.Aspect.View3D = False

  TChart1.AddSeries scLine
  TChart1.Series(0).FillSampleValues 10
  TChart1.Series(0).asLine.LinePen.Width = 1
  
  TChart1.Axis.Bottom.Labels.Font.Size = 7
  TChart1.Axis.Left.Labels.Font.Size = 7
  TChart1.Legend.Font.Size = 7
  TChart1.Header.Font.Size = 7
End Sub
A4_A3_Charts.zip
(22.97 KiB) Downloaded 599 times
They look the same. So in an A3 the image would be stretched to fit the paper size.
You'd probably achieve what you want exporting your chart to a metafile or bitmap with a size relative to the paper size and print that image.
Please, read the printing better article
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

kant
Newbie
Newbie
Posts: 5
Joined: Tue Nov 02, 2010 12:00 am

Re: Scale on A3 printout

Post by kant » Wed Jul 06, 2011 12:54 pm

Thanks Yeray
That's not the way I'd like it to behave ...
I have solved the problem by choosing a smaller font site and thinner lines on the A3 printout.

Cheers,
Andreas

Post Reply