Edgewall Software

Ticket #5417 (closed enhancement: worksforme)

Opened 14 months ago

Last modified 14 months ago

[PATCH] Provide a stylesheet for use when printing that gets rid of irrelevant data

Reported by: robert.chin@… Owned by: jonas
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords: needinfo
Cc:

Description

It would be great to have a special printing stylesheet that gets rid of irrelevant UI widgets (buttons, search fields, etc.) for use when printing. This reduces paper consumption due to margins and other things taking up space.

This is especially useful if trac is used to print revision log PDFs for electronic reading (such as on an ebook reader, or other archival purposes).

Attachments

trac_print_stylesheet.diff (2.4 kB) - added by robert.chin@… 14 months ago.
Print stylesheet and associated changes to use the media attribute in the href tag

Change History

Changed 14 months ago by robert.chin@…

Print stylesheet and associated changes to use the media attribute in the href tag

Changed 14 months ago by eblot

  • keywords needinfo added

Which release of Trac are you using?
AFAICT, the widgets you're referring to (buttons, search boxes, headers/banners, ...) are already discarded for printing.

Changed 14 months ago by robert.chin@…

  • status changed from new to closed
  • resolution set to worksforme

You're right, I was using an older version of trac as a reference, and didn't bother to check the latest trac head that my development machine was using... oops.

Add/Change #5417 ([PATCH] Provide a stylesheet for use when printing that gets rid of irrelevant data)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.