Re: Using Irv's Win32Lib Print Help Lib
- Posted by murphy Aug 27, 2008
- 1001 views
euphoric said...
Irv, got a question here about your printing lib (http://www.rapideuphoria.com/usingprinter.zip). How do you insert a manual page break?
Geez, we're talking ancient history here :)
Anyway, after looking over that code, it appears it wasn't intended to have manual page breaks, but was written to automatically insert breaks where needed, after taking into account font size, etc.
I suppose it would be possible to add a check in the function printPage() which would look for a formfeed character, and print a page footer, then feed to the next page and print a new header.
Basically just copy the routines in that function which already do those things. I don't have access to a Windows computer right now, so no way to test that idea.