Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27518

VS 2010 print multiple pages with printdocument control

$
0
0
HI,
I WORK WITH PRINTDOCUMENT CONTROL AND I WANT TO PRINT MORE THAN 1 PAGES. I PUT IN PrintDocument1_PrintPage CODE :
e.hasmorepages = TRUE
Exit Sub
IN CREATING PREVIEWS MESSAGEBOX SHOWS THAT CREATES 2 PAGES. IN THE PRINDOCUMET AREA IN THE SCREEN SHOWS THE 1 PAGE. IN PRINT BUTTON PUT THE CODE:
PrintDocument1.Print()
BUT WHEN I PUSH PRINT BUTTON PRINTS ME ONLY THE SECOND PAGE.
CAN ANYONE HELP ME ?
THANKS

Viewing all articles
Browse latest Browse all 27518

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>