similar to: HTMLDOC PDF Generation

Displaying 20 results from an estimated 4000 matches similar to: "HTMLDOC PDF Generation"

2006 May 10
0
Making pdf with HTMLDOC
Hello, I''m having a problem with HTMLdoc and rails. I''ve set it up as per http://wiki.rubyonrails.com/rails/pages/HowtoGeneratePDFs and I''m using windows and version 1.8.24. I can make ps files without a problem and I can make pdfs using the stand alone app, however I can''t get the pdf created in RoR to work. Loading it into gsviewer I get the error
2006 Jun 19
11
html to pdf?
in one of my apps i am currently using redcloth to use textile formatting on my content. i am wanting to add reporting to the system, but the content that prints out doesn''t have the formatting obviously that i can have with html. what''s a good solution for some kind of formatting where i can use it on both web and print? i''m using pdf/writer right now and i think
2009 Jun 17
2
Using a cgi perl program?
I have a cgi/perl program that I want to use on the same server as my RoR app and I keep getting: The page you were looking for doesn''t exist. You may have mistyped the address or the page may have moved. I load the program to the cgi-bin directory in its own folder /cgi-bin/ fump/ In the /public folder of my app I have the following .htaccess file: # General Apache options
2006 Oct 26
0
Setting-up HTMLDOC
I need to generate PDF files from HTML and HTMLDOC is listed in the Rails wiki as an option. It looks interesting, and I can see from the example posted that it''s usable from within a Rails app. But I can''t find anything on how to set it up for use within a Rails app. No Gem. No Plugin. Anybody know anything about this? Thanks! Bill
2009 Apr 29
0
HTMLDOC Table header row(s) to repeat on subsequent pages
Hello, I need to display table headers on each page in the pdf generated using HTMLDOC. For example, my table contains header as Name, Address, Age. It is displayed in first page. When the content of the table extends to next page, only the content is displayed and header is not displayed. If you note, in the attached pdf, table header is displayed only in the first page, pasted in top and not
2010 Feb 02
3
Generating a PDF using popen and wkhtmltopdf
As described on wkhtmltopdf Google group (http://code.google.com/p/wkhtmltopdf/issues/detail?id=162), I have a problem generating a PDF while using popen and wkhtmltopdf. wkhtmltopdf takes HTML code as input and ouputs a PDF file. Here is what I''m doing: command = ''"C:\Program Files\wkhtmltopdf\wkhtmltopdf.exe" - - -q'' IO.popen(command,
2005 May 13
0
Apache config for Squirrelmail?
This is my corrected configuration file for squirrelmail over ssl if anyone is interested: # squirrelmail.conf 2005 May 13 James B. Byrne JBB8 # # SquirrelMail is a webmail package written in PHP. # This configuration file forces users to connect via SSL # # If the incoming request is already https:// then this # file will only be processed if the directive: # # Include
2006 Jan 04
4
How to open a pdf file in new window
Hi all I made a pdf file in ruby and to display it used the method send_data like # send_data pdf.render, :filename => "Hello.pdf",:type => "application/pdf" # Now I want to open it in another window or as a popup. How can I achieve it? Thanks to all. Sainaba. -- Posted via http://www.ruby-forum.com/.
2008 Jul 14
0
How to Send Itext Generated PDF to Browser?
I am still attempting to figure out how to send an Itext generated pdf Document to the browser. I am looking at the following blog posting where someone is using jruby and iText to create a pdf file and then sending it to the browser : http://codersifu.blogspot.com/2007/06/howto-generate-pdf-files-in-ruby-on.html Unlike the above example I am using only ruby / on rails. I would like to do
2008 Dec 16
3
Princely Plugin: get nil.size error
Hi All, I want to generate pdf with css. I am using princely plugin. This is code which I written def pdf prince = Prince.new() html_string = render_to_string(:template => ''/users/paid_invoice.pdf.erb'') send_data( prince.pdf_from_string(html_string), :filename => ''some_document.pdf'', :type =>
2007 May 30
0
Headers munged into RAW_POST_DATA
Hi, we''re seeing a really weird problem in our production environment. "Connection: Keep-Alive\r\n" is being pre-pended to the RAW_POST_DATA, which makes requests error out. This bug is seen infrequently and *seems* to be browser-related, although I can''t reproduce it using the browser reported in HTTP_USER_AGENT. Set up is a apache 2.2 -> hardware load balancer
2007 May 29
1
Headers munged into RAW_POST_DATA
Hi, we''re seeing a really weird problem in our production environment. "Connection: Keep-Alive\r\n" is being pre-pended to the RAW_POST_DATA, which makes requests error out. This bug is seen infrequently and *seems* to be browser-related, although I can''t reproduce it using the browser reported in HTTP_USER_AGENT. Set up is a hardware load balancer (NetScaler)
2011 Apr 13
1
[OT] SQL*Plus output as PDF [Linux]
> I generate with SQL*Plus a CSV file. How to convert this to PDF? Or more > generally: how to get SQL*Plus output to PDF on Linux? Marked as Off Topic. I would do this: sqlplus SET MARKUP HTML ON SPOOL foo.html SELECT * FROM emp; SPOOL OFF Quit sqlplus and use htmldoc to convert foo.html to foo.pdf, or load it in a browser and use CutePDF or something to print it to a .pdf if in a
2010 Jun 03
1
need to save generated pdf in public folder
hai im ruby on rails developer, im integrating princely plugin and prince software to my rails application i have generated pdf file successfully using the following code princely = Princely.new() html_string = render_to_string(:template => ''test_methods/ visual_test/generate_report.rhtml'', :layout=> false) send_data(
2008 Oct 26
2
use Prawn to generate pdf
Hello: when i use Prawn to generate pdf file for download, i got a blank pdf file, can someone tell me why? require ''prawn'' class DownloadController < ApplicationController def download_pdf send_data(generate_pdf, :filename => ''test.pdf'', :type => ''application/pdf'') end private def generate_pdf
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
2006 Jun 19
1
pdf simpletable help needed
i am trying to generate a pdf of all of the users in an application that i have built. i am still pretty new to ruby and rails so i don''t know the best way to go about it. here is my controller code: require ''pdf/writer'' require ''pdf/simpletable'' class ReportsController < ApplicationController def test _pdf = PDF::Writer.new table =
2012 Feb 03
2
PDF and Ruby on Rails
Hi, I am sticking in one problem. Please help me out. The problem is like: What problems can arise when users hits the get_pdf action? If there are problems, how can it be solved? class PdfController < ApplicationController def get_pdf send_data Pdf.create(params[:contents]) end end class Pdf def self.create(contents) make_pdf(contents) # takes 30 seconds to run end
2006 Apr 05
0
apache and subdomains
Hi, I''m trying to get a subdomain to map to a controller. For example: blog.domain.com to point to /list so in my virtual host I tried: RewriteEngine On RewriteCond %{HTTP_HOST} ^blog.localhost$ RewriteCond %{REQUEST_URI} !^/blog/ RewriteRule ^(.*)$ /blog/$1 but it just goes to the root of my rails app. any ideas? scott.
2005 Jun 26
0
Bug in Mailman version 2.1.5
Bug in Mailman version 2.1.5 We're sorry, we hit a bug! If you would like to help us identify the problem, please email a copy of this page to the webmaster for this site with a description of what happened. Thanks! Traceback: Traceback (most recent call last): File "/var/mailman/scripts/driver", line 87, in run_main main() File