hi folks
I am trying to print the displayed content a pagecontrol, and have succeeded in 
getting print using the following code;
  if PrintDialog1.Execute then
  begin
  ......
with Printer do
  begin
    BeginDoc;
    for I := Start to Stop do
      begin
      PageControl.Pages[I].PaintTo(Handle, 10, 10);
      if I <> Stop then
        NewPage;
      end;
    EndDoc;
    end;

  end;

The problem is, I cant see how to scale the print to fit the page. I have the same 
problem if I try

  Mainform.Print

Can anyone offer solution or tips?

best regards
Leo Ramakers

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to