How do you print a datagrid with header in vb6 with the page number?

Thanks
Sinh