# How to generate printer friendly view

**URL:** <https://www.ruby-forum.com/t/how-to-generate-printer-friendly-view/138628>\
**Category:** Rails\
**Created:** [May 26, 2008, 5:08am UTC](https://www.ruby-forum.com/t/how-to-generate-printer-friendly-view/138628 "2008-05-26T05:08:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jh100000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b2d939/32.png) [@jh100000](https://www.ruby-forum.com/u/jh100000)\
**Post date:** [May 26, 2008, 5:08am UTC](https://www.ruby-forum.com/t/how-to-generate-printer-friendly-view/138628/1 "2008-05-26T05:08:56Z")

</div>

I am looking to generate a printer friendly view for each page that  
hides my navigation, etc.

I found a technique that does something close to this:

> **[“Print this page” with Ruby on Rails · devroom.io](https://www.devroom.io/2007/01/19/print-this-page-with-ruby-on-rails/)**
>
> Ariejan de Vroom's personal website on software engineering, electronics tinkering and car mechanics.

The article’s method directly calls up the print dialogue to print the  
page.

What I want to do is actually render a new page with the print view in  
the browser.

Any ideas on how to best accomplish that?

Thanks,

John
