#420 - Add a print stylesheet for better display when printing a ticket or a list
Type Enhancement
Status Accepted
Milestone 4.1
Version -
Component -
Priority Normal
Severity Normal
Assigned to -
Reported 8 years ago
Updated 8 years ago
Votes 0
Related tickets
Proposed time
Worked time

What does this enhancement do? If you add a print stylesheet, we can have a nice layout when we print a ticket or a list. Could be useful to generate a PDF file of the printed file.

Attachments

Ticket History

8 years and 4 months ago by Jack

  • Status New Accepted

8 years and 4 months ago by Michel LAURENT

  • Attached css.php

Here's what I did to solve this on my install :

  1. Update css.php file to be able to use print files on themes (see attachment)
  2. Rename default.css to screen.css in traq / vendor / traq / views / default / css /
  3. Create a print.css file in traq / vendor / traq / views / default / css / (see attachment)

With those enhancement, it already looks better but It's not yet a nice print layout. Will make some change for better rendering in the future.

8 years and 4 months ago by Michel LAURENT

  • Attached print.css

8 years and 3 months ago by Jack

  • Milestone 3.5.1 3.6

8 years and 1 month ago by Jack

  • Milestone 3.6 4.1