Has anyone used the print preview functionality of Farpoint's
Spread DLL? Could you post a prototype (simple sample?) of the
SS_PRINTFUNC callback for creating page headers/footers?
I've got a bare bones function working:
but I'm now venturing into new territory (for me). My goal is to
define a header & footer using Arial 12pt & 10pt fonts and a few
lines for borders.
Any help would be most appreciated.
------------------
Bernard Ertl
Spread DLL? Could you post a prototype (simple sample?) of the
SS_PRINTFUNC callback for creating page headers/footers?
I've got a bare bones function working:
Code:
FUNCTION SS_PRINTFUNC%( BYVAL hDC&, BYVAL dCommand%, BYVAL nPageNum%, BYVAL lAppData&, lpPrintInfo AS SS_PRINTINFO) SELECT CASE dCommand% CASE %SS_PRINTCMD_HEADERLEN FUNCTION = 800 'Just to test CASE %SS_PRINTCMD_FOOTERLEN FUNCTION = 120 'Just to test CASE %SS_PRINTCMD_PRINTHEADER CASE %SS_PRINTCMD_PRINTFOOTER END SELECT END FUNCTION
define a header & footer using Arial 12pt & 10pt fonts and a few
lines for borders.
Any help would be most appreciated.
------------------
Bernard Ertl
Comment