0

I have a node with a simple article in it (an <H1>, a bit of <H2>s and some <p>s).

If I print this page from the web browser as-is, I will get it with grandiose spacings, Drupal blocks, images and even JavaScript popups repeating in each printable page often.

Copy-pasting the node content into LibreOffice Writer where I can easily remove the images and don't get the Drupal blocks and the JavaScript popups was not rendered properly with some whitespaces actually turning into strange gray rectangles (are these line breaks?).
I don't use Microsoft Word so I don't have a say on this one.

Anyway, how will you suggest to get a printable version of a Drupal node?

1
  • 4
    Not really Drupal specific, but the IMHO best solution: Create CSS styles in your theme specifically targeting @media print { /* rules for printing here */ }, see MDN
    – Hudri
    Commented Jan 2 at 14:18

1 Answer 1

2

Use the Printer and PDF versions module.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.