Page 1 of 1

Scale on A3 printout

Posted: Thu Jun 09, 2011 9:21 am
by 16657723
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

Re: Scale on A3 printout

Posted: Fri Jun 10, 2011 8:41 am
by yeray
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 593 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

Re: Scale on A3 printout

Posted: Wed Jul 06, 2011 12:54 pm
by 16657723
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