# Print a PDF file

**URL:** <https://www.ruby-forum.com/t/print-a-pdf-file/129764>\
**Category:** Rails\
**Created:** [February 21, 2008, 11:09am UTC](https://www.ruby-forum.com/t/print-a-pdf-file/129764 "2008-02-21T11:09:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![crazybass](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/eb9ed0/32.png) [@crazybass](https://www.ruby-forum.com/u/crazybass)\
**Post date:** [February 21, 2008, 11:09am UTC](https://www.ruby-forum.com/t/print-a-pdf-file/129764/1 "2008-02-21T11:09:05Z")

</div>

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
