-
January 2nd, 2008, 05:40 PM
#1
Printing Class Library : Bottom Margin
There is a great printing class here:
http://www.codeguru.com/cpp/w-p/prin...cle.php/c2955/
I have used it along time. One problem I have, which is really
driving me crazy, is that I have a standard 8.5 x 11 sheet of paper
and cant print text past 10.5". I tried adjusting the SetBottomMargin()
function to:
pPage->SetBottomMargin(-1)
pPage->SetBottomMargin(0);
pPage->SetBottomMargin(11);
but none of them work. The text just doesnt print if it is too low
on the page.
How can print text that is close to the edge of the paper using this
class or not using this class?
Please, any response any one can give me will be greatly appreciated.
Sincerely,
Danielle Brina (an overworked graduate student)
-
January 2nd, 2008, 05:49 PM
#2
Re: Printing Class Library : Bottom Margin
but none of them work. The text just doesnt print if it is too low
on the page.
Habe you tested with other applications?
I mean, it might as well be the printer's fault. I have seen many printers that have limitations when it comes to margins.
Regards
-
January 2nd, 2008, 05:54 PM
#3
Re: Printing Class Library : Bottom Margin
It doesnt print preview either. That makes me conclude that it
is something on the code side and not the printer.
How can I print preview text that is toward the bottom of the
page?
-
January 2nd, 2008, 06:29 PM
#4
Re: Printing Class Library : Bottom Margin
It's most likely that the device context created from the printer driver takes the printer's physical margins as constraints to your output.
Try going to your printer (in printers) - and setting different margins and then try printing again (that's if your printer allows setting margins).
If you notice a change in the print out - then this is the case.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|