Re: Problem printing text with wxWidgets 3.2.2.1

Fulvio Senore <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
Il 07/09/2023 23:03, Vadim Zeitlin ha scritto:
> On Thu, 7 Sep 2023 21:45:05 +0200 Fulvio Senore wrote:
> 
> FS> I must confess that many years ago, when I tried to write code to print
> FS> text from wxWidgets, I read all the documentation and the sample source
> FS> code.
> FS> I did not understand anything so I simply copied some code from the
> FS> sample: it happened to work, and I was happy.
> FS>
> FS> IMHO a feature that is very complicated and difficult to understand,
> FS> just to accomplish a basic task, has some design flaws.
> FS> It would be nice to just set the font size and print, like it happened
> FS> with the venerable Visual Basic long time ago.
> 
>   I usually recommend people to use wxHtmlEasyPrinting if they can as it's,
> indeed, much easier than dealing with wxPrintout and what not. But it can't
> be used in all cases, of course, and I don't know how much the existing API
> can be really simplified without losing some functionality, but it should
> be possible to improve it at least somewhat.
> 
>   As everything else in wxWidgets, it basically just waits until someone
> becomes motivated enough to actually do it...
> 

Sorry for the delay: I've been out of home for a few days.

Since I have already solved the printing problem I could write some code 
to print in a simple way.

How should I discuss and design this code?

Fulvio

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/162de1c5-8295-77b0-6dc9-64baf269410a%40fsoft.it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.