Browse the Ruby on Rails Community.

You are here: Forums General Discussion Print a PDF file...

Replytotopic

Print a PDF file

Posted in Forums : General Discussion

 
Profile

Authority 0
Posting Rating 0
Sign in to rate this post

Hello

I have a PDF file and I want to print it when I click on a button of my rails application. I also want, if it is possible, to be possible the user choose the printer to be used.
How can I do that?
thanks
regards

 
836891

Authority 12
Posting Rating 80
Sign in to rate this post

Probably with JavaScript. In many browsers, window.print() will display the system Print dialog, exactly as if the user had chosen the browser’s Print command.

Replytotopic

Other Recent Topics

General Discussion : May 13th - Toronto Ruby on Rails Project Night Returns

General Discussion : Agile Web Development with Rails, 3rd Edition released!!

General Discussion : www.rubyonrails.org was Hijacked /Hacked ???

General Discussion : Data tracking and site statistics

General Discussion : Heroku Invite

General Discussion : mod_rails

General Discussion : Orphan start-up - suggestions?

General Discussion : Where to find RoR contractors in Chicago?

General Discussion : Promote a website / project

General Discussion : very basic question about what is possible with ROR

Formatting Help
  • *bold*       _italics_      
    bq. (quotes)
  • "DSC":http://www.dsc.net
  • * or # (lists)
or cancel