Forum: Ruby-Gnome 2 PrintOperation don't show my complete strings

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
2bd7a3dce753f25b4bad1b8a206fb36d?d=identicon&s=25 Emanuel B. (Guest)
on 2015-01-06 13:01
Hi. Basically I have a big string with 20 lines and I get an array using
string.split "\n". So I'm trying to print my array using
Gtk::PrintOperation. Everything is going fine, but for some reason when
a line have a bigger length, the line is not printed.

If I use puts(line) at the time that will be printed by PrintOperation,
seems normally. But is normally only at the default output.

Here is my code. He's inside a Gtk::Window class.

Anyone can help me?
This topic is locked and can not be replied to.