search for: start_columns

Displaying 2 results from an estimated 2 matches for "start_columns".

2006 Jun 01
8
[Pdf::Witer]
Is anyone using Pdf::Writer? I don know how to insert html tags in a pdf using Pdf::Writer, except <b> and <i> I think an idea is with Pdf::TechBook but i hadn''t seen any example till now. -- Cheers, ioana k&a http://boulangerie.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jun 13
2
Top margin on PDF generated with PDF::Writer
...es PDF::Writer to generate a PDF document with some images and text. This is the code on my controller: def pdf gen_pdf redirect_to("#{@request.relative_url_root}/pdf/cupones.pdf") end private def gen_pdf pdf = PDF::Writer.new(:paper => "A4") pdf.margins_cm(0) pdf.start_columns(2, 0) pdf.select_font "Times-Roman" 10.times do pdf.open_object do |card| pdf.save_state pdf.image "public/images/card.png", :justification => :left, :width => PDF::Writer.cm2pts(10.5), :height => PDF::Writer.cm2pts(6) #pdf.add_text_wrap(0, pdf...