New issue
Advanced search Search tips

Issue 749080 link

Starred by 4 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Printing to pdf with "screen" media type not generating the same result as screenshot

Reported by bakhtiyo...@gmail.com, Jul 26 2017

Issue description

Chrome Version       : 61.0.3159.5 dev
URLs (if applicable) : https://www.kontaktify.com

I'm trying to generate pdf the same as screenshot result,
I tried with 96 dpi conversation of viewport sizes to pdf width/height and emulated screen media, but generated pdf is wrong sizes.


I attached the generated pdf and the real screenshot, and also here's the code snippet which i used https://gist.github.com/hbakhtiyor/5b171602d4ee4e312f7d25d66557731b
 
screenshot.jpeg
798 KB View Download
screenshot.pdf
352 KB Download
Cc: thestig@chromium.org
Components: Internals>Printing
Status: Available (was: Unconfirmed)
Lei, is this to be expected / is printing in screen mode (via overriding the media type through DevTools) in any way tested or supported?

Comment 2 Deleted

What I can help else for quick resolving?
Is the problem the webpage spills over onto a second page in the PDF? The blue background is also missing in the top right corner in the PDF, and an ad near the bottom left is different.
Project Member

Comment 5 by sheriffbot@chromium.org, Dec 20

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment