-----Original Message-----
Hello,
"DGeorge" <do*****@hotmail.com> schrieb: I have a problem where after setting the HasMorePages =
True will not print the 2nd Pages.
Does anybody have an idea or knows this problem.
Which version of .NET and Windows do you use? Can you
give us moreinformation about the printer used? Will this even occur
when "printing" tothe PrintPreview control?
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
.
Hi
I working on WXP with .net ver 1.1
The code looks like this :
Private Sub vdoc_PrintPage(ByVal sender As Object, ByVal e
As System.Drawing.Printing.PrintPageEventArgs)
e.Graphics.DrawString("This is the
firstpage",font,brushes,xpos,ypos)
e.HasMorePages = True
e.Graphics.DrawString("This is the Second
page",font,brushes,xpos,ypos)
e.HasMorePages = False
......
thanks and hoping this give a clue