# PrintOperation don't show my complete strings

**URL:** <https://www.ruby-forum.com/t/printoperation-dont-show-my-complete-strings/233724>\
**Category:** Ruby-Gnome 2\
**Created:** [January 6, 2015, 1:01pm UTC](https://www.ruby-forum.com/t/printoperation-dont-show-my-complete-strings/233724 "2015-01-06T13:01:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [January 6, 2015, 1:01pm UTC](https://www.ruby-forum.com/t/printoperation-dont-show-my-complete-strings/233724/1 "2015-01-06T13:01:02Z")

</div>

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.

[http://codepad.org/lzHdBn8p](http://codepad.org/lzHdBn8p)

Anyone can help me?
