similar to: Problem IN PDF generation

Displaying 20 results from an estimated 100000 matches similar to: "Problem IN PDF generation"

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
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 Sep 29
1
building a pdf with an existing pdf as watermark/background
I''m starting on a small rails app and i need to generate a report in pdf format. i''ve generated pdfs before using pdf::writer without much problems, but for this project the company sent me a pdf ''watermark'' (or background template) that they want the report to be printed on.. instead of having them stock a bunch of the template stationary and have that paper
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|
2007 May 05
1
Problem in Vcard generation
I am trying to explore the vpim gem.. Using that i am trying to generate Vcard..Now I am able to generate vcard also i am able to send that vcard through mail. If i try to open that vcard through thunderbird, all the fields getting stored in address book except mobile number, Here ia m send the code for adding mobile number into vcard.. if @bizcard_label.mobile_number!=""
2008 Sep 01
4
Generating Images/PDF Server-Side
Hi, I am working on a project where I need to generate a chart (a bit like a pie chart, but very customised) and insert this into a PDF document. Does anybody have any advice on ruby libraries (or other techniques) for doing this? Open to suggestions? The resulting PDF will be designed for printing and so ideally should be vector throughout (or any raster images 300dpi). I was thinking of some
2008 Oct 02
0
Re: How to export data in pdf and excel format ?
PDF generation Prawn http://github.com/sandal/prawn/tree/master pdf writer http://ruby-pdf.rubyforge.org/pdf-writer/ ruby fpdf http://zeropluszero.com/software/fpdf/ Prawn is very good and well maintained in terms of development and new features added regards Senthil http://blog.railsfactory.com -- Posted via http://www.ruby-forum.com/.
2008 Mar 13
0
Template being ignored when attaching pdf in e-mail
The following code attaches my pdf with success. However, my e-mail template is not being rendered in the e-mail. Any idea''s why my template is ignored? require ''pdf/writer'' class NotifierRequest < ActionMailer::Base def inforequest(name, email, notice_request, message) @subject = ''Notice'' @body = {:name => name, :email
2007 Jun 14
3
Are there any HTML+CSS to PDF converters in ruby
Hi, I tried PDF writer , but it doesn''t have HTML to PDF Converter. Infact it is a PDF writer itself not a converter.. I''ve HTML pages with rich css or Strings with html+css such that they are converted to PDF. The idea is that web is all about RGB color model and when it comes to Digital Printing its all CMYK color model. My html page with rich css in
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 Apr 09
0
PDF::Writer add_text_wrap
Wondering if anyone else had problems with the add_text_wrap of the pdf-writer gem? I have something that looks like the following below, but it does not wrap down to the next line, it just either runs off the page or stops before the page, depending on the width of the text_wrap. Anyone have any ideas? @additional_items = @user.additional_items pdf.add_text_wrap(310, 605, 300, @additional_items,
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/.
2007 Sep 14
2
how to use options in radio botton
Hi I am using radio botton,I am struggling to use options..following is my code.. <%= radio_button(''community'',''default'',0,options={:checked,:onClick=>"javascript:set_default(this);"})%> If i am using without checked option its working fine.If i use that its throwing error.... Please help me -- Posted via http://www.ruby-forum.com/.
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 Dec 28
0
HTMLDOC PDF Generation
Okay. I''ve tried it all, or so it seems. The code: generator = IO.popen("htmldoc-no-compression -t pdf14-quiet-jpeg-path \".;http://#{request.env["HTTP_HOST"] + request.env["REQUEST_URI"]}\"-webpage -", "w+") generator.close_write send_data(generator.read, :filename => filename, :type => "application/pdf") I basically
2006 Aug 22
0
Re: Prag Programmers style PDF personalization
On 8/21/06, Julian ''Julik'' Tarkhanov <listbox-RY+snkucC20@public.gmane.org> wrote: > On 20-aug-2006, at 2:22, Austin Ziegler wrote: >> PDF::Writer doesn''t solve the Unicode problem yet. > Which brings our Unicode discussion that once happened into new > light :-) > thanks for the statement Not really. The Unicode problem for PDF support is wholly
2006 Aug 26
0
Re: Prag Programmers style PDF personalization
On 22-aug-2006, at 22:26, Austin Ziegler wrote: > Not really. The Unicode problem for PDF support is wholly unrelated to > my stance on Unicode vs. m17n Strings. The Unicode problem for PDF > support is mostly that the PDF standards doc is a stinking pile that > is almost impossible to understand without your eyes bleeding and even > harder to implement. ;) I just
2006 Jun 12
2
Pdf::Witer question
Does anyone knows how to embed Type1 font with PDF::Writer? I read manual, tried everything but nothing seems to work (The font ''FontName'' contains a bad /BBox error on PDF). any help or hint would be really appreciated, Bojan Mihelac -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab:
2007 Sep 01
0
PDF Format
Hi I am Using the PDF:Writer to generate the pdf file. I getting trouble to format the pdf like making border and line for each heading.. I saw the wiki site its giving basic information.. Can I get any other example? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2009 Mar 23
0
export to pdf, txt and the utf8-problem.
Hi, can''t seem to figure it out. I have text saved as UTF8 in my MySQL database, and it shows up fine in the browser. However, I want to export to pdf (pdf;writer) and csv-text. When I do that the accented foreign characters do not show up. I''ve tried to convert them before exporting, but I don''t seem to be able to get it right. (Iconv etc. do not seem to convert it.)