Hi All,
I am using princly plugin to generate pdf with css.
Code is:
respond_to do |format|
format.html
format.pdf do
render :pdf => "paid_invoice",
:template => "/users/paid_invoice",
:stylesheets =>
["prince","sabsebolo_admin"],
:layout => false
end
end
But I got following result .
sh: Usage:: command not found
prince: warning: failed to load external entity "[OPTIONS]"
prince: [OPTIONS]: error: could not load input file
prince: warning: failed to load external entity "file.xml"
prince: file.xml: error: could not load input file
prince: warning: failed to load external entity "Convert"
prince: Convert: error: could not load input file
prince: warning: failed to load external entity "file.xml"
prince: file.xml: error: could not load input file
prince: warning: failed to load external entity "to"
prince: to: error: could not load input file
prince: error: no input documents to process
prince: warning: failed to load external entity "[OPTIONS]"
prince: [OPTIONS]: error: could not load input file
prince: warning: failed to load external entity "doc.html"
prince: doc.html: error: could not load input file
prince: warning: failed to load external entity "Convert"
prince: Convert: error: could not load input file
prince: warning: failed to load external entity "doc.html"
prince: doc.html: error: could not load input file
prince: warning: failed to load external entity "to"
prince: to: error: could not load input file
prince: warning: failed to load external entity "out.pdf"
prince: out.pdf: error: could not load input file
prince: error: no input documents to process
prince: warning: failed to load external entity "[OPTIONS]"
prince: [OPTIONS]: error: could not load input file
prince: warning: failed to load external entity "FILES..."
prince: FILES...: error: could not load input file
prince: warning: failed to load external entity "Combine"
prince: Combine: error: could not load input file
prince: warning: failed to load external entity "multiple"
prince: multiple: error: could not load input file
prince: warning: failed to load external entity "files"
prince: files: error: could not load input file
prince: warning: failed to load external entity "to"
prince: to: error: could not load input file
prince: warning: failed to load external entity "out.pdf"
prince: out.pdf: error: could not load input file
prince: error: no input documents to process
sh: line 5: Try: command not found
sh: line 6: --input=html: command not found
Can neone tell how can I solve this.
--
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 to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---