Summary: | [Qt] Webkit print using the screen media type + Patch | ||
---|---|---|---|
Product: | WebKit | Reporter: | Tor Arne Vestbø <vestbo> |
Component: | Printing | Assignee: | QtWebKit Unassigned <webkit-qt-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | hausmann, h.goebel, kenneth, kent.hansen |
Priority: | P2 | Keywords: | Qt |
Version: | 528+ (Nightly build) | ||
Hardware: | Other | ||
OS: | OS X 10.5 |
Description
Tor Arne Vestbø
2009-09-29 05:45:53 PDT
OK, need to decide if we want to add this enhancement. Kenneth, I recall that you were recently talking about a similar patch for setting the media type. Is this a duplicate bug? (In reply to comment #2) > Kenneth, I recall that you were recently talking about a similar patch for > setting the media type. Is this a duplicate bug? Why would you want to print with disaccordance to the spec? When printing you are supposed to use CSS according to the "print" media type. I don't understand the use case. This is very useful for making a "screenshot" of the web-page into a PDF. In this case you do not want to "print", but get the same result as displayed on screen. This is a quite common case for documentation purposes, marketing, etc. The web is full of people looking for such a solution. There are quite a few add-ons for Firefox promising this -- but all of them are using some online-service. Having such a feature in Webkit would be a great benefit. (In reply to comment #4) > This is very useful for making a "screenshot" of the web-page into a PDF. In this case you do not want to "print", but get the same result as displayed on screen. > > This is a quite common case for documentation purposes, marketing, etc. The web is full of people looking for such a solution. There are quite a few add-ons for Firefox promising this -- but all of them are using some online-service. > > Having such a feature in Webkit would be a great benefit. You do not need to print to make a screenshot, you an just paint to an image. Print might do more that what you want as it layouts with a given width. Can you please point me so a example code painting to a PDF file then? Thanks a lot! |