# Printing problem

**URL:** <https://www.ruby-forum.com/t/printing-problem/208595>\
**Category:** Ruby-Gnome 2\
**Created:** [June 22, 2011, 7:24am UTC](https://www.ruby-forum.com/t/printing-problem/208595 "2011-06-22T07:24:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [June 22, 2011, 7:24am UTC](https://www.ruby-forum.com/t/printing-problem/208595/1 "2011-06-22T07:24:16Z")

</div>

Hi,

I am making a POS software for my own use  
using Ruby-Gtk and now I’m in trouble with printing

I need to print to 9.5x5.5in continuous form paper with Epson LX-300+  
I use this sample I found on [Gtk::Print\* sample program - Ruby-Gnome 2 - Ruby-Forum](http://www.ruby-forum.com/topic/120215)  
I change paper size and margin to fit my need

in preview, it looks perfect. When I print, It prints nicely.  
But after print finish my printer pull paper to size about A4 or letter,  
twice length I need

I really need it to stop pulling paper at the end paper size so I can  
cut  
the paper and continue print next page  
How can I fix this?

Thanks

Regards  
Hendra
