Displaying 20 results from an estimated 8000 matches similar to: "Printing an Order"
2006 May 24
2
PDF Writing without Cached File
I''m researching generating PDF files via RoR. I see there are packages
available to do this. One such package is the PDF-Writer. The examples
I saw for this package save the PDF to a file. Is there a way I can
output the PDF on-the-fly to the browser rather than having a temporary
PDF file?
I just can''t have these files laying around since they contain sensitive
2006 Jul 28
3
forms to pdf generation
hello Everyone,
would like to search this subject in the forms, but since search is
disabled I am posting this one. Any insight is much appreciated.
I am a newbie to ROR. Wondering what it takes to take a form that is
filled by a user and generate a PDF on the fly for his to save or print.
I am aware of some PDF libraries for PHP to accomplish this, but not
quite sure how to get this done
2006 May 24
4
pdf on the fly
In my rails app I need to create pdf reports on the fly. I have
installed railspdf, wich is working fine. But, how can I create tables
and paragraphs and stuff? Can I mimic an .rhtml file (using <% for
...%> etc? Or is it wise to use Ruby::PDF directly? Is there anyone out
there with experience in this, and who is willing to share his findings?
Thx
--
Posted via
2006 Aug 04
6
Errors ... errors and errors.
I bought the second edition of the ruby on rails, it seems to work fine
now, did some adjustments to the code. But now I get a second error and
I want to learn to understand to fix them myself. So here is the error.
ArgumentError in StoreController#add_to_cart
wrong number of arguments (1 for 0)
#{RAILS_ROOT}/app/models/cart.rb:15:in `initialize''
#{RAILS_ROOT}/app/models/cart.rb:15:in
2005 Dec 31
9
Railspdf plugin problem
Hi,
For my app i need to generate pdf file for reports. I am trying the railspdf
plugin, got it installed using command:
ruby script/plugin install
svn://rubyforge.org//var/svn/railspdfplugin/railspdf/
The problem is that when i re-started my webrick it won''t run, with errors
messages like this (shown only first message):
*D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5
2008 Jul 05
18
Java Bridge Itext Example Anyone?
I MAY be able to derive something out of the present example given here
:
http://blog.codeinmotion.com/index.php/2006/12/22/pdf-generation-in-ruby-on-rails/
but this deals with filling out forms. Is there a simpler example that
just allows you to talk to itext , send it some plain text and get back
a pdf and then send that pdf to the user as downloadable / renderable
data?
--
Posted via
2006 Jun 01
8
[Pdf::Witer]
Is anyone using Pdf::Writer?
I don know how to insert html tags in a pdf using Pdf::Writer, except <b>
and <i>
I think an idea is with Pdf::TechBook but i hadn''t seen any example till
now.
--
Cheers,
ioana k&a
http://boulangerie.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
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 Mar 20
1
Rails CGI calls
I apologise in advance for this newbie question but I am still waiting
to receive some books on ruby & rails and I can''t find the solution
online.
I am learning rails, (and since rails is the only thing I have used that
is based on ruby I am also learning ruby,) by developing a small
application for work to index and serve up images from a document store.
The documents are
2006 Jan 18
1
The 30 year old *Ruby* Virgin
All,
Apologies for the simplicity of the problem but getting started with
InstantRails.
Does anyone have any experience of setup in this way?
Get to the:
* Click on the Start SCGI button.
* Once the SCGI server says that it is listening to 127.0.0.1:9999,
open
our browser and go to:
www.mycookbook.com
Unfortunately once I press the button, a DOS cmd window pops up and
2005 Sep 13
12
PDF views?
I know there''s wiki page on generating PDF[*], but that''s not really
what I want. I don''t need to create arbitrary PDF. What I''d like to do
is create PDF templates and fill in the blanks. Roughly, I''m looking
for functionality akin to the mail merge feature of word processors,
including conditional and repeated elements, say, table rows.
Michael
2006 Jan 14
19
Stopping WEBrick?
Is there any way to request WEBrick to shutdown besides hitting CTRL-C
at the console?
I''m looking for, perhaps, a script/shutdown command, or perhaps a
special URL that will request WEBrick to die.
It can be a command run in a different shell, or, as I said, a special
URL.
Anyone?
Tom Harris
Cisco Systems
--
Posted via http://www.ruby-forum.com/.
2006 Aug 04
4
cannot convert String into Integer
Hi, I''m trying to implement a live search that supports searching for
multiple words. So for example, if I type "ruby rails" in the search
field, I would return results that have either the word "ruby" in them
or the word "rails" in them. However, this is just a background as to
what the following code is trying to do and might not even be needed to
fix
2005 Mar 25
1
CRAN website: link targets
Hello R-masters!
R and CRAN webpages use HTML frames for layout. Links to files such as PDF
are therefore opened within frame. However, with PDFs this can be
distracting if you have a small monitor, since left frame can be small for
viewing PDFs with bookmark toolbar in the left in Acrobat Reader. It isn't
such a bug problem with others i.e. (K)Ghostview etc, but it can be still
small to
2005 Dec 30
6
Rails in High School Curriculum?
Hi folks,
I''m working with a local high school in the Portland, OR area on the
subject of computer science curriculum. We are thinking of introducing
a class in web development and I think Rails would be a perfect vehicle.
I''ve done some searching on the web but haven''t found any suggestion of
HS curriculum for Rails. Any pointers or suggestions?
Thanks,
---
2006 Jan 16
11
Plans to intigrate ObjectGraph in to Rails
Are there any plans to move the schema definition from migrations to the
model, where it should be?
Like og does, which I think is used by the ruby Nitro framework...
ObjectGraph:
http://www.rubygarden.org/index.cgi/Libraries/og_tutorial.rdoc
Example code:
[code]
class Post
property :title, String, :sql => ''VARCHAR2(32) NOT NULL''
property :body, String
property
2006 Aug 05
5
Searching a database
If I have a list of items, how can I search some item in the list, by
some criteria or something else?
--
Posted via http://www.ruby-forum.com/.
2006 Jul 27
2
Agile Web Development Problem
I am following that book, and I bump into this error in the Cart
Creation Chapter. Can anyone help me?
NoMethodError in Store#display_cart
Showing app/views/store/display_cart.rhtml where line #6 raised:
undefined method `product'' for 666.0:Float
--
Posted via http://www.ruby-forum.com/.
2006 Apr 21
2
Rails report engine?
Is there such a thing as a report engine that can be used in a rails
application? Maybe something like jasper?
2006 Aug 04
3
<img onclick> vs link_to_remote()
In one of my view , I have an image the user need to click to close a
<div>selections</div> added by an Ajax call.
if I use :
<img src ="/images/icon_closeitem.gif", size="16*16",
border="0",alt="Close Selection", title="Close", onclick="<%=
remote_function(:url => { :controller => ''property'',