# How to Put Form Buttons In PDFs

**URL:** <https://www.ruby-forum.com/t/how-to-put-form-buttons-in-pdfs/141199>\
**Category:** Rails\
**Created:** [June 23, 2008, 2:40pm UTC](https://www.ruby-forum.com/t/how-to-put-form-buttons-in-pdfs/141199 "2008-06-23T14:40:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ror\_arch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e19adc/32.png) [@ror\_arch](https://www.ruby-forum.com/u/ror_arch)\
**Post date:** [June 23, 2008, 2:40pm UTC](https://www.ruby-forum.com/t/how-to-put-form-buttons-in-pdfs/141199/1 "2008-06-23T14:40:50Z")

</div>

So I am using pdf :: writer for creating pdf files. I would like them to  
be printable but NOT viewable. The workaround I was told of was this :  
create a button the size of a page filled in with black ; set the button  
property to “visibile but doesnt print”. This will prevent anyone from  
reading the text behind the button but it will cause the button to  
disappear once it makes it to the printer.

Now here is my question is there a pdf generation tool that allows one  
to create buttons on pdf files? I am looking at pdf::writer and it  
doesnt seem like it s capable of doing that.
