similar to: PDF::Writer add_text_wrap

Displaying 20 results from an estimated 20000 matches similar to: "PDF::Writer add_text_wrap"

2006 Jun 13
2
Top margin on PDF generated with PDF::Writer
Hi, A little question. I''ve written a method that uses 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
2006 May 12
1
converting pdf files to openoffice writer files
hey friends, I can export the openoffice writer files to pdf but how do I convert the pdf files to openoffice writer files. Is there any utility on centos or on linux which can convert pdf to openoffice files. I am using centos4.0 Thanks & Regards Ankush Grover -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jun 19
0
PDF::Writer VS Ruby FPDF
Hi list, I see almost all people here uses PDF::Writer for generating pdf documents with rails. I used it too at first, but am using both now and would like to see some advantages and shortfalls you came using each of these two packages. Here are my thoughts for now: PDF::Writer: - extensive documentation - writen using ruby conventions - easy to use - some bugs with embeding fonts prevent
2007 Oct 11
0
pdf-writer - SimpleTable - change font betweent columns
The client wants the top of the pdf laid out like this: From: John Smith To: Jane Doe 999-999-9999 888-333-3333 555 W. 55th Street 222 W. 55th Street Somewhere, Somestate 999999 Somewhere else, State 444555 They also want "From" and "To" to be bold, and the rest of the information to be normal font
2005 Dec 15
3
Pdf::Writer and "Replacement Tags"
Having read over the ruby pdf generation (simple reporting) options, I think Pdf::Writer will do just fine... ..if the following is possible On page 13 of (the really expansive) ::Writer manual, Replacement Tags are detailed. Before I jump into this tomorrow, I''m hoping for some triage sage advice. Finally, the question : "Would utilizing Replacement Tags be a suitable
2007 Mar 27
4
Gruff with PDF::Writer
Hello all Has anyone managed to embed gruff graphs into a PDF document using pdf::writer? The easy way (as far as I can see) would be to just save the gruff graph as a temporary file then read that file in pdf::writer. I was wondering if anyone had managed to get them working together directly? RJ -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~
2006 Nov 04
0
UTF-8 String to PDF using PDF::Writer
Hi I just can''t seem to figure this out. I know that PDF doesn''t support UTF-8 so I''m trying to use Iconv to convert the string from UTF-8 to MacRoman (or anything that will work). This doesn''t seem to be working though. Is there a better/ correct way to do this? The sting is stored as UTF-8 in MySQL and displays properly on the web (<?xml
2007 Apr 16
7
pdf-file tot desktop with pdf/writer problem
Hi, I''m using pdf/Writer to generate a pdf-file, but whatever I do, it gets saved in folder of my app, and not on the users desktop. I''ve used pdf = PDF::Writer.new pdf.select_font "Times-Roman" pdf.text "Hello.pdf", :font_size => 12, :justification => :left File.open("hello.pdf", "wb") { |f|
2006 Mar 10
5
PDF::Writer Simpletable Iteration
Hello All: I have been working with <a href="http://ruby-pdf.rubyforge.org/pdf-writer/index.html">Austin Ziegler''s PDF::Writer</a> as a means to produce PDF documents from my Rails app. I am stumped on how to iterate through a collection of items and output them in a table format. The way I have tried it so far only returns the last item in the collection -
2006 Aug 16
1
pdf::writer
I am trying to use an OCRB font in pdf::writer. So, I managed to install the font on a debian linux. The first line in OCR font is appearing on the pdf, but I get an error-message: "The font ''OCRBLT'' contains a bad /BBox". Someone ever had this problem? -- Posted via http://www.ruby-forum.com/.
2006 Aug 02
1
PDF::Writer using rpdf templates..
I''ve been implementing this: http://wiki.rubyonrails.org/rails/pages/HowtoGeneratePDFs [PDF::Writer section on using rpdf templates] Strangest thing tho is that it doesn''t work with IE [get a ''server not found'' error] - after reviewing the headers and such, I noticed that there was no file name for the generated PDF in IE - so I made sure that this was in
2006 Jun 30
1
How to force redirection after a render on PDF::Writer?
Hi to everyone, In my Rails experimenting, I''ve come to a point where in the application happens what follows. 1. Upon selecting some stuff on a page, the user click on a button. 2. After clicking I need to: 2.1 Produce a PDF with some "Pretty Useful Information(TM)" 2.2 Bring the user to another page The PDF being produced with PDF::Writer requires a "render"
2009 Jun 13
0
pdf-writer :landscape and :portrait
I can define orientation easily with pdf writer with :orientation, but all the pages get the same orientation I want to do a page as portrait and the next as landscape, without specific order Is it possible? Regards Celso Costa
2006 Sep 11
0
Print action to send body content to pdf-writer , which stra
I would like to give the user to execute an :action => ''print'' to get a pdf version of the current content in the displayed page (rendered by an :action =>''list'' I installed pdf-writer and played with it, but I don''t know how to give him the @content he needs... shoudl I re-execute all the list action before rendering ? or use Ajax to get
2008 Jan 13
0
Help with special characters in PDF Writer
How can I put these (á,é,í,ó,ú,ñ,€) in PDF Writer? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email
2006 Jan 02
3
Pdf::Writer and #image
Greetings all - happy new year, I''m having problems getting Pdf::Writer image insertion. pdf.image "/path/to/images/logo.jpg" is firing "JPEG marker not found!" Originally created the RGB (8 bit) JPEG in photoshop. After the above, I''ve exported with an alternate tool using (OSX) preview. This tutorial
2006 Jan 03
2
Pdf::Writer ; page numbering, and table wrapping
Hey there, I know this isn''t a pdf::writer list - If there''s a more appropriate place for me to ask these questions I''d appreciate being set straight. I''m having a couple of misunderstandings/isssues first with page numbers and secondly with auto-wrapping of simple_table. First pdf.start_page_numbering(pdf.margin_x_middle, pdf.absolute_bottom_margin, 9,
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
2003 May 16
1
Modified Cups Backed pdf writer to keep the original document name.
Hi All, I've got a samba/cups pdf writer going thanks to PeteFwee and Wolfram Q and a few others... the cups pdf backed i used has a default of username-date.pdf which I didn't like and wanted the name of the job that got send in the printer q on the winslows client. The only way I could see in my very limited experience was to grab the %%Title out of the postscript file and make sure
2006 May 05
8
pdf/writer: table.render_on best practices?
Hi All, I generate a pdf report that contains a table. The report is 14 pages, and it takes 20s to be rendered. Most of these 20s are spend in the render_on method. I wonder if it is possible to speed up that process? To create the report, I do the following: 1) Setup pdf layout: # Setup pdf layout pdf.select_font("Helvetica", { :encoding => "WinAnsiEncoding"})