Re[2]: Problem printing text with wxWidgets 3.2.2.1
Vadim Zeitlin <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
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...
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
https://www.tt-solutions.com/
signature.asc
(application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQx+vLQdOwioQqkxtoG6kHeT2wehgUCZPo6vAAKCRAG6kHeT2we hjV/AJ9ZHqGqyKOzIw8zmNSzc9XU1tXu6gCePIpfmiP+Mluu/DKP++nIzjzxpLc= =79K7 -----END PGP SIGNATURE-----