Example C:/program files/Farpoint technologies/spread70/samples/ActiveX/VB6/ownerprint/project1.vbp
Fpspread1.printusedatamax = false
Printer. Print "briish open 2001 best ball results"
Fpspread1.printheader = "/cthursday's results/N"
Call fpspread1.ownerprintdraw (printer. HDC, 1000,360, printer. Width, (printer. Height/4), 1)
Fpspread1.printheader = "/cfriday's results/N"
Call fpspread1.ownerprintdraw (printer. HDC, 1000, (printer. Height/4) + 360, printer. Width, (printer. Height/2), 1)
Fpspread1.printheader = "/csaturday's results/N"
Call fpspread1.ownerprintdraw (printer. HDC, 1000, (printer. Height/2) + 360, printer. Width, (3 * printer. Height)/4), 1)
Fpspread1.printheader = "/csunday's results/N"
Call fpspread1.ownerprintdraw (printer. HDC, 1000, (3 * printer. Height)/4) + 360, printer. Width, printer. Height, 1)
Printer. enddoc
There is also an example program, which seems to be very powerful and has the print preview function.
C:/program files/Farpoint technologies/spread70/samples/ActiveX/VB6/printpreview. VBP
You have to study it.