<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt;color:#000000;"><DIV>hi everyone,</DIV>
<DIV> </DIV>
<DIV>i'm having problem in printing </DIV>
<DIV> </DIV>
<DIV>first:</DIV>
<DIV> my program show to the user 10 pages in QPrintPreviewWidget and when he press 'print it' button it </DIV>
<DIV> prints only the pages from 5 to 7 but my code keep printing all pages</DIV>
<DIV>second:</DIV>
<DIV> why my application paintRequested signal emitted after i press 'print it' button that maks it emitted towic</DIV>
<DIV> first time when my application starts and second when i press 'print it' button</DIV>
<DIV> </DIV>
<DIV>i'm attaching my sample code i hope some one can help me on this problem</DIV>
<DIV> </DIV>
<DIV>thanks in advance...</DIV></div><br>
</body></html>