Click here to Skip to main content
15,909,546 members

Comments by ashlytech (Top 4 by date)

ashlytech 11-Aug-20 17:34pm View    
when the PrintPageEventArgs.HasMorePages to false, i will see just a page of my output data in my printpreview. here is what i used to vyew all pages in printpreview:
If currow <= ds.Tables("ADMIN_SAL").Rows.Count - 1 Then
countd = 1
e.HasMorePages = True

Else
e.HasMorePages = False
currow = 0
End If
ashlytech 6-Aug-20 17:16pm View    
Thanks
ashlytech 13-Sep-19 23:57pm View    
this solution helps me to preview all my data on paper but the printing could not contain all the data because printing did not on the left side of the paper. i am using laserjetpro 400 printer to print my output. thanks
ashlytech 13-Sep-19 23:57pm View    
this solution helps me to preview all my data on paper but the printing could not contain all the data because printing did not on the left side of the paper. i am using laserjetpro 400 printer to print my output. thanks