search for: this_page

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

Did you mean: b_this_page
2006 Jun 13
2
Top margin on PDF generated with PDF::Writer
...:Writer.cm2pts(6) #pdf.add_text_wrap(0, pdf.y, PDF::Writer.cm2pts(1), "Test1", 12, :left, 0) #pdf.add_text_wrap(PDF::Writer.cm2pts(8.5), pdf.y, PDF::Writer.cm2pts(6), "Test2", 12, :center, 90) pdf.restore_state pdf.close_object pdf.add_object(card, :this_page) end end pdf.save_as("public/pdf/cupones.pdf") end But the generated pdf has a top margin of 36pt, and the cards are then printed in two pages. I need a margin of 0 for the page, to ensure that all that cards are printed at the same page. Also, a couple of cards are printed one...
2006 Jun 07
1
Reverse engineering pagination and more
Hey all, I''m building a photo album site (for fun) and have a few questions. 1) This site will have a browse section, where you can view the photos by thumbnail. I want to let the user change how many thumbs they can see per page. I''ll have a couple links at the bottom of the page letting them do that. The problem is, if they are in the middle of browsing and decide to