vb.net - Print preview only prints current page -


really not sure i'm doing in vb.net when comes printing, have printing sub displays print preview.

the print preview has 4 pages, when click on print button, prints last page.

on form have printdialog1 printdocument1 , printpreview1.

my button has command

 me.printpreviewdialog1.showdialog() 

my printdocument1_printpage contains code printing.

i using e.hasmorepages=true , false via counter control pages

any ideas?


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -