question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Certificate print styles need updating - many bugs, including missing header

See original GitHub issue

Issue Description

When printing certificates, the result is very messy. Even when enabling “print background images”, the header (including the logo) doesn’t appear.

The signature is enormous, and there are also other smiler smaller style issues (e.g. the verification URL in the footer breaks over two lines).

Sample print results

When printed in landscape mode, broken over two pages 😄 : certificate print landscape

When printed in portrait mode, stays on one page: certificate print portrait

Proposed solution

It seems that the only media query for printing is the default print.less, apparently generated by bootstrap. Given the importance of the certificates looking good (especially if printed by a recruiter/employer), I think it might be good to write up a print-specific CSS file for certificates or to extend the print.less stylesheet for the certificates.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
thecodingaviatorcommented, Jul 13, 2019

I think we should explicitly set the browser viewport’s height and width to A4 landscape.

cc: @QuincyLarson

1reaction
raisedadeadcommented, Jul 16, 2019

The certificates were intentionally not designed to be printed initially. These are meant to be digitally verified. I am in strong favor of keeping it as such.

Anyway, I understand that some users want the printed version. In this I think we would take this as a feature request and overhaul during our re-styling run.

@ahmadabdolsaheb is going to be taking point on these.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug in printing certs after update
I cannot print my certificates from Acrobat now. I have to move to word to print each page with a boarder. This started...
Read more >
Known issues with PaperCut MF, NG, Hive, Pocket and ...
When using PaperCut NG/MF version 21.1.2 and the hidden document names feature in the print provider is enabled, print jobs sent for release...
Read more >
additional options in Chrome headless print-to-pdf
I am trying to print a page to pdf using headless feature of the chrome. However, header and footer is present in the...
Read more >
Security with network protocols - Android Developers
Assuming you have a web server with a certificate issued by a well-known CA, you can make a secure request as shown in...
Read more >
Common Problems with Google Sheets on Zapier
Some of my fields have gone missing in the Zap editor ... Zaps using New or Updated Spreadsheet Row will also trigger for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found