Displaying 20 results from an estimated 5000 matches similar to: "Are there any HTML+CSS to PDF converters in ruby"
2009 Jul 13
12
.html/.html.erb/.rhtml to PDF
Hello All,
I wanted to convert .html file into .pdf.
is there any rails plugin ??
Thanks,
Sandip R~
--
Ruby on Rails Developer
http://sandip.sosblog.com
http://funonrails.wordpress.com
www.joshsoftware.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2007 Sep 18
3
html to pdf in rails
I''ve been searching for a way to easily convert an html page into a pdf
in my rails app and I haven''t found anything worth calling home about.
Has anyone found something good out there?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2010 Jan 15
2
Generating views in pdf, rtf, or doc format
I have a requirement to generate views (list and show views, including
data and uploaded images) into a format that can be saved and/or
emailed. I''m looking for opinions on the easiest way to achieve this.
I''ve researched the use of both PDF::Writer and Prawn, and it seems that
to re-generate my views in pdf format will require a lot of work. Is
there an easier way using .rtf
2010 Mar 16
7
Recommendations for pdf generators
hi, everyone,
i have googled around for some pdf generators. Found
1) PDF::Writer which is a little dated
2) Rupdf (http://scoop.simplyexcited.co.uk//2007/12/15/rupdf-simple-
ruby-pdf-rails-plugin/ and http://agilewebdevelopment.com/plugins/rupdf)
- it''s a little dated. Last revision was on 15th of Dec, 2007.
Any recommendations for pdf generators?
thank you
--
You received this
2011 Apr 13
3
R plots pdf() does not allow spotcolors?
Hi
We are about to publish a book, which contains figures made with R
plots. An important detail that we did not take into account is that the
book will not be printed in 4 colors (cmyk mode), but only 2 (black
+"spotcolor"). The spotcolor we use is part of the big Pantone family.
The problem is that both pdf() and postscript() offer either rgb or
cmyk, but no spotcolors such as
2008 Jan 03
5
Start script not working when run via Rake
Hi there
I''m using the latest release (r300) and ''script/backgroundrb start'' works
perfectly when executed on the server, but when put inside a Rake task, it
doesn''t launch the worker processes.
The Rake task is as follows:
task :start_backgroundrb do
run "cd #{current_path} && ./script/backgroundrb start"
end
When I run this task, the
2005 Mar 17
4
Specifying Which Environment I Am In
After I have uploaded my app where do I specify that my app should now
use production environment settings and not development?
Can that be done dynamically so that I don''t have to reset a value once
I upload website?
Thanks for your help!
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,
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 Jun 22
1
PDF output
Markdown speaks to a project I've engaged for nearly a decade. Ever
since I cobbled up an Apple Newton keyboard to connect to my Pilot
5000, I wanted to type plain text with formatting for later printing.
Class notes and such. Once I wrote a complex WordPerfect script using
custom markup. For a while I wrote raw TeX, relying on a macro file to
simplify things only a little.
Upon
2008 Sep 08
2
Problems with async worker request
Sorry if this comes through twice. I already sent this once, before joining
the mailing list.
I''m attempting to use Backgroundrb to handle asynchronous pdf creation, but
in doing so, I''ve run into a very strange problem. Below is a method that''s
called from the controller which creates a new worker, then grabs the worker
and calls the ''build_pdf''
2011 Sep 13
1
CMYK color space
dear R experts---I am struggling with the requirements to prepare my files
for my printers. I am printing in 2/2 format, which means cyan and black
for me, which they take from my color-separated pdf files. R comes into
play, because it produces all the figures that are embedded in my book
(pdflatex).
now, TeX has no problems producing CMYK files. However, R produces RGB
files (for
2009 Feb 05
2
Unexpected mfrow, layout behavior (pdf still has multiple pages)
My goal is to create a graph with one column and three rows into a
single graphic. The mfrow, mfcol, and layout functions all have the
same effect: three graphs are produced in a single pdf file, having
one graph per page. This is not what I want (I didn't want multiple
pages). Just before I sent this post, I was able to generate the
desired output with split.screen. Is this the expected
2008 May 27
1
(PR#11509) rgb to cmyk conversion is wrong in
Please do study the FAQ and posting guide: R 2.7.0 is not the current
sources, and this was changed a month ago in R-devel. You were asked to
check for such changes before submitting a report.
Also, there is no unique way to do undercover removal in conversion to
CMYK, and so it is wrong to call any method 'wrong' -- in fact the one
used in earlier versions of R was a documented
2007 Jul 29
16
Mongrel stops responding after period of inactivity
Hi
I posted this to the Ruby on Rails Talk group but I thought I''d post it here
too as it''s probably a more appropriate group. Hope this is ok.
I''m running a 2-instance Mongrel cluster behind Apache 2.2.4 with Rails
1.2.3. If no requests are received by the application for several hours
(this usually happens overnight) then Mongrel stops
responding and no requests are
2008 May 23
0
rgb to cmyk conversion is wrong in src/library/grDevices/src/devPS.c (PR#11509)
The conversion of RGB to CMYK takes place in PostScriptSetCol() starting at
line 2900 of R-2.7.0/src/library/grDevices/src/devPS.c
if(strcmp(mm, "cmyk") == 0) {
double c = 1.0-r, m=1.0-g, y=1.0-b, k=c;
k = fmin2(k, m);
k = fmin2(k, y);
if(k == 1.0) c = m = y = 0.0;
else {c /= (1.-k); m /= (1.-k); y /= (1.-k);}
r, g, and b have already been normalized to the
2010 Aug 22
5
Help me... how to convert amchart to pdf
Hi
Guys
I need help.. I want to making 1 controller for covert html to pdf.. But
that html have amchart (swf). When I tried convert, the swf not loadded...
Any body can help me Please????
--
Senior Rails Developer
Anton Effendi - Wu You Duan
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send
2008 Jan 11
1
BackgrounDRb::PacketLogger issue
Hi there
I have recently upgraded to v1.0.1 and I''ve noticed an issue which I don''t
believe was present in the 0.2 release. In my worker class I am logging
errors as follows:
logger.error "the error message"
However, this now causes an exception to be thrown in the new version:
undefined method `error'' for
2008 Nov 20
1
pdf device: rasterize portions of the plot to reduce file size
Dear list,
My favorite output format is usually pdf. I can include the graphics
in pdflatex documents and benefit from the scalable nature of vector
graphic formats.
However, I recently had to generate high-res 2D levelplot graphics as
in the example below,
N <- 100
# N <- 1000 # slow to diplay
xy <- expand.grid(x=seq(0, 10, length=N), y=seq(0, 10, length=N))
xy <- within(xy,
2007 Oct 04
3
pdf() device uses fonts to represent points - data alteration?
Hello all,
I discovered that the pdf device uses fonts to represent "points"
symbols (as in plot(...,type="p",...) ). Namely it uses ZapfDingbats
with symbol U+25cf. This can lead to problems when the font is not
available, or available in another version (such as points being
replaced by other symbols, or worst: slightly displaced).
Furthermore, it also causes