Page 1 of 1

Print view style sheet enhancements

Posted: Tue Sep 15, 2020 6:11 pm
by step

In the old forum, using a Chromium based browser, I can print a topic as PDF without background graphics (it's an advanced option of the Chromium print dialog). No background graphics, at least in the old forum, disables all background colors of all HTML div tags plus a number of smaller page embellishment. Without background, a topic prints cleanly as black text on white background, saving a lot of color ink.
With the new forum toggling the "without background graphics" checkbox makes no difference; pages always print with a color background, they are harder to read, and ink is wasted.
Is there a way to style the new forum so that pages can be printed without background graphics?

2024-07-24 edit: changed original topic title from "[REQ] How to print a forum topic without background graphics? (Chromium)"


Re: Print topic without background graphics (Chromium)

Posted: Tue Sep 15, 2020 6:29 pm
by rcrsn51
Beside the Post Reply button, click Topic Tools > Print View

Re: How to print a forum topic without background graphics? (Chromium)

Posted: Wed Sep 16, 2020 6:39 am
by step
Thank you, @rcrsn51. The forum tool you suggested does fix my two requests (black on white, no background graphics). It also makes better use of horizontal space for a printed page, which implies hardcopy needs less paper. However, the print style sheet goes overboard hiding other page elements. This comment is not to criticize your answer.

The remainder is a note to the forum maintainers in hope they can improve the print style sheet.

Requests for the forum style sheet (prioritized, highest top)

- Emphasize clickable links -- currently, they're there but they look like regular text
- Emphasize code blocks -- currently, the only clue they're code blocks is in the mono font
- Show signature blocks -- often people add useful links to their signatures
- Show a visible separator between posts

Thank you in advance

Re: [REQ] How to print a forum topic without background graphics? (Chromium)

Posted: Tue Nov 03, 2020 7:38 am
by step

I just noticed the print view seems to hide attachment boxes. Here is an example. Enable the print view and print the page. Vivaldi browser's print preview shows no image and no attachment link for the attachment box.


Print view style sheet enhancements

Posted: Wed Jul 24, 2024 9:32 am
by step

@rockedge, would you please be able to modify the print view style sheet to
underline clickable links? The current link style is plain text, so when I read a PDF printout I have no clue that a link is disguised under regular text. No hurry. Thank you in advance, and for the improvements you've already made to the print style sheet.


Re: Print view style sheet enhancements

Posted: Wed Jul 24, 2024 9:54 am
by rockedge
step wrote: Wed Jul 24, 2024 9:32 am

@rockedge, would you please be able to modify the print view style sheet to
underline clickable links? The current link style is plain text, so when I read a PDF printout I have no clue that a link is disguised under regular text. No hurry. Thank you in advance, and for the improvements you've already made to the print style sheet.

I will work on it some more. Looking at the suggestions and we'll see if we can make the improvements :thumbup2:


Re: Print view style sheet enhancements

Posted: Fri Jul 26, 2024 2:11 am
by rockedge

@step,

Okay!! I did some more refinement to the print view to better define <code> blocks in the print view. Also fixed out of order margin settings for inline <c> blocks.

A code block example.

Code: Select all

#!/bin/sh
chown -R daemon:daemon /opt/lampp/htdocs
chown -R daemon:daemon /var/www/hiawatha
gxmessage web server ownership fixed! -font 16 -center -timeout 4

Try out the print view with this Topic page


Re: Print view style sheet enhancements

Posted: Fri Jul 26, 2024 2:39 pm
by step

Thank you! `<c>` is much easier to spot now.