This is the first issue I've ever raised, so please be kind!

I would like my webform to print with the fields arranged, rather than down the page when I click print from the view or edit menu. I can print it in the browser in the edit page, but that prints all of the tabs and amin menus as well. Have I missed something, or is this just not possible. Any help is greatly appreciated.

The forums and feedback provide an amateur like me with an amazing source of information, so thanks everyone.

Comments

richardp’s picture

Status: Active » Closed (works as designed)

Hi sebmund, welcome aboard!

If you can print it in the edit view (and the fields stay arranged correctly?), but you just don't want the tabs and such to appear, then what you need is actually a CSS solution.

Themes in Drupal usually have an extra print.css file (or something similar) which is loaded when you go to print. If your theme has something like that, then you can edit that file and add in directions to "hide" the elements you don't want.

For example, to hide the tabs you might need:

.tabs { display: none; }

If your theme *doesn't* have a print.css file, I'd suggest switching to a theme that does. I usually use Zen theme for my sites, as it's a very neutral theme, but you may find others which have that. I'm sure there's a way to add in a print css file to any theme, but I've never done it before so I'm not sure what to tell you to do.

Good luck!

Richard