Print view style sheet enhancements

Ideas and discussion


Post Reply
step
Posts: 546
Joined: Thu Aug 13, 2020 9:55 am
Has thanked: 57 times
Been thanked: 198 times
Contact:

Print view style sheet enhancements

Post 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)"

Last edited by step on Wed Sep 16, 2020 6:40 am, edited 1 time in total.
User avatar
rcrsn51
Posts: 1390
Joined: Sun Aug 23, 2020 4:26 pm
Been thanked: 357 times

Re: Print topic without background graphics (Chromium)

Post by rcrsn51 »

Beside the Post Reply button, click Topic Tools > Print View
step
Posts: 546
Joined: Thu Aug 13, 2020 9:55 am
Has thanked: 57 times
Been thanked: 198 times
Contact:

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

Post 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
step
Posts: 546
Joined: Thu Aug 13, 2020 9:55 am
Has thanked: 57 times
Been thanked: 198 times
Contact:

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

Post 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.

step
Posts: 546
Joined: Thu Aug 13, 2020 9:55 am
Has thanked: 57 times
Been thanked: 198 times
Contact:

Print view style sheet enhancements

Post 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.

User avatar
rockedge
Site Admin
Posts: 6543
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2749 times
Been thanked: 2624 times
Contact:

Re: Print view style sheet enhancements

Post 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:

User avatar
rockedge
Site Admin
Posts: 6543
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2749 times
Been thanked: 2624 times
Contact:

Re: Print view style sheet enhancements

Post 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

step
Posts: 546
Joined: Thu Aug 13, 2020 9:55 am
Has thanked: 57 times
Been thanked: 198 times
Contact:

Re: Print view style sheet enhancements

Post by step »

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

Post Reply

Return to “Forum Organization & Structure Council”