Win32Lib Print Preview and Printing
- Posted by mb7001 Jul 13, 2014
- 1557 views
Hello Euphorians,
I have been searching the web trying to find some code examples or at least information on how to create a print preview screen and print the document. I am writing a small database program for a day care center. It works great and uses the EDS. I have been using win32lib for quite some time, but have not done anything with the printer up to now. What I want to do is create a report based on the information in the database. I have seen the PrintRichEdit example that comes with win32lib, and that could work, but I really need to be able to send page feed commands to it. So I was wondering, is it possible to use the windows preview dialog to preview and print my reports? What would be the best avenue to go. If I used the RichEdit avenue, could I send page feed commands to it and just write a window to show different pages in the editor? Sadly there is not a whole lot of information to help with this, that I can find for euphoria.