Hi,
I have a PageControl that I am trying to send to a printer using the PaintTo() method. My problem is the page gets printed very small (about 1.5 x 1 inch). I now have considerably less hair trying to figure a way to scale the printed page to the size of the paper. Can anyone shed some light on this (the print problem, not the hair)?
Here is a snippet of the code I am using:
.
.
.
Prtr->BeginDoc();
for (int idx = Start; idx <= Stop; idx++)
{
PageControl1->Pages[idx]->PaintTo(Prtr->Handle, 10, 10);
if (idx != Stop)
Prtr->NewPage();
}
Prtr->EndDoc();
.
.
.
Thanks
I have a PageControl that I am trying to send to a printer using the PaintTo() method. My problem is the page gets printed very small (about 1.5 x 1 inch). I now have considerably less hair trying to figure a way to scale the printed page to the size of the paper. Can anyone shed some light on this (the print problem, not the hair)?
Here is a snippet of the code I am using:
.
.
.
Prtr->BeginDoc();
for (int idx = Start; idx <= Stop; idx++)
{
PageControl1->Pages[idx]->PaintTo(Prtr->Handle, 10, 10);
if (idx != Stop)
Prtr->NewPage();
}
Prtr->EndDoc();
.
.
.
Thanks