I am populating msflexgrid by a database query ...
I tried printing it by following code
Printer.Orientation = vbPRORLandscape
Picture1.Picture = grid_datasheet.Picture
sScale = Printer.ScaleHeight * (grid_datasheet.Rows / 50)
Printer.CurrentX = 100
Printer.Font = "Arial"
Printer.FontSize = "10"
Printer.FontBold = False
Printer.PaintPicture Picture1.Picture, 0, 500, Printer.ScaleWidth, sScale
Printer.PaintPicture
Printer.EndDoc
Screen.MousePointer = vbDefault
But it is printing just 1 page ... Like print screen ....
What is the other option ???????
Please help.
Thanks
I tried printing it by following code
Printer.Orientation = vbPRORLandscape
Picture1.Picture = grid_datasheet.Picture
sScale = Printer.ScaleHeight * (grid_datasheet.Rows / 50)
Printer.CurrentX = 100
Printer.Font = "Arial"
Printer.FontSize = "10"
Printer.FontBold = False
Printer.PaintPicture Picture1.Picture, 0, 500, Printer.ScaleWidth, sScale
Printer.PaintPicture
Printer.EndDoc
Screen.MousePointer = vbDefault
But it is printing just 1 page ... Like print screen ....
What is the other option ???????
Please help.
Thanks