Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print email / Print thread / Save to PDF #403

Open
marclaporte opened this issue May 21, 2020 · 3 comments
Open

Print email / Print thread / Save to PDF #403

marclaporte opened this issue May 21, 2020 · 3 comments
Labels
core core module set enhancement suggest an improvement

Comments

@marclaporte
Copy link
Member

Use case: to save an email or thread to a self-contained and easy to distribute / archive file. So a print view using CSS, which users can save as PDF.

Previous and Next links should not be in print version. Ref: #402

For threaded version, we'll first need this: #10

Within Tiki, we'll send to https://doc.tiki.org/mPDF but that is likely out of scope for standalone Cypht.

@dumblob
Copy link
Member

dumblob commented May 22, 2020

Note, there has to be at least 2 print buttons - one for A4 and the other for B4 due to cultural differences in the world.

To clarify - normally this wouldn't be needed, but if today someone already prints something, then the "something" is more probable to have precise units which should be correctly printed instead of reflowed and/or scaled.

@jasonmunro
Copy link
Member

We already support CSS print for the message view. Our CSS removes a bunch of page components not needed for printing including the previous/next links. (https://github.com/jasonmunro/cypht/blob/master/modules/core/site.css#L256-L258)

@jasonmunro jasonmunro self-assigned this Jun 10, 2020
@jasonmunro jasonmunro added core core module set enhancement suggest an improvement labels Jun 10, 2020
@PaulTGG
Copy link
Contributor

PaulTGG commented Jan 10, 2024

I don't know enough about CSS print media styles, but if it'd be an option to allow printing inline messages, without printing the entire list of messages along with it, that'd be a bonus! (At first glance, it looks like all that's needed is to print the "inline_msg" <tr> class.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core core module set enhancement suggest an improvement
Projects
None yet
Development

No branches or pull requests

4 participants