Displaying 2 results from an estimated 2 matches for "top_margin".
Did you mean:
p_margin
2006 Oct 17
0
[680] trunk/wxruby2/samples/printing/printing.rb: Cleaned up to use the Ruby naming convention, added #! line, now uses Wx default ID''s in standard menu items.
...t;<span class="cx">
</span><span class="cx"> dc.draw_text("Some test text", 200, 300 )
</span><span class="cx">
</span><del>- # TESTING
</del><ins>+ left_margin = 20
+ right_margin = 20
+ top_margin = 20
+ bottom_margin = 20
</ins><span class="cx">
</span><del>- leftMargin = 20
- rightMargin = 20
- topMargin = 20
- bottomMargin = 20
</del><ins>+ page_width_mm, page_height_mm = get_page_size_mm
</ins><span class="cx&...
2005 Dec 15
5
Avery Lables, PDF::Writer or LaTex?
In a new app we are developing, we need to be able to dynamically create
a PDF and send it to the browser (inline with send_data). I have been
tinkering with PDF::Writer and love the simplicity and native ruby-ness
of it all.
However, one of the main uses for this functionality is to output a PDF
of addresses to be printed on Avery 5161 labels. LaTex seems to be
suited well for this, but it