PrintOperation don't show my complete strings

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs