Hi
Arno Dirlam wrote:> I am using the wxruby printing framework to print cash receipts with a
> small thermo-printer, which can naturally produce very long pages if a
> lot of articles are printed on them.
>
> Under Windows XP there are no problems, but under Mac OS X text is not
> printed if it''s below a certain line on the printed page (i.e. the
> "top" parameter is too large).
>
> I have found out, however, that when I calculate the size of it, it is
> exactly where a A4 page would end (just with different scaling), i.e.
> after about 150% of the width of the page.
I''m not very familiar with the printing framework, so it would help to
see a short excerpt of the most relevant pieces of code just to know
what classes you''re using.
More generally if there is a way to solve this (I expect there is) it
will be general to wxWidgets and wxPython. So you might want to try
searching for help but using the classnames with wx prefix (eg
wxPrintout). I''ve often found answers to obscure questions via
wxPython,
simply because that framework has been around a lot longer. Also if
it''s
a bug, it will have to be fixed in wxWidgets and won''t be fixable in
wxRuby alone.
alex