Page 2 of 2

Re: Learning to print

Posted: Fri Apr 22, 2016 3:10 pm
by Rathinagiri
mol wrote:Integrating printing subsystem with pdf generation works very fine.
But, I've found few problems:
1. When I want to print to pdf numbers, I need to convert them to strings. Can sb. approve it?
2. Functions GetPrintableHorizontalOffset(), GetPrintableVerticalOffset(), GetPrintableAreaWidth(), GetPrintableAreaHeight() return 0 while pdf generation. Is it possible to modify them to return values depending from selected paper size?

Regards, Marek
These are good suggestions.

In the case of PDF, I think the programmer can start printing to the full extent of the paper he had chosen but has to be checked.