cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
trashfromoceans
New member
Status: New idea

The Save as PDF on Firefox defaults to the Operating system based save as PDF dialogue. However, in Opera there is a "Save as PDF..." when right clicking anywhere on a page that gives a WYSIWYG PDF copy of the web page. This has worked for me for a long time, however due to privacy concerns I am moving to Firefox from Opera. This feature is the only reason why I still have Opera on my machine, the Save as PDF produces an EXACT copy of the website, while retaining images and searchable text. Would be amazing to have something like this in Firefox.

Note: there are open source packages (such as https://wkhtmltopdf.org/) however all that I have found is outdated and non-session related (i.e. if I have to login to a website then save a PDF, open source solutions cannot do that at the moment, however Opera produces an exact PDF copy of the webpage).

6 Comments
Status changed to: New idea
Jon
Community Manager
Community Manager

Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.

marco
Employee
Employee

@trashfromoceanswe are actually not using the OS-based save as PDF dialog, it is part of Firefox itself.

Are you asking we have a better UI for it, with a context menu, or are you asking that we improve the feature because it doesn't work well on some pages?

trashfromoceans
New member

Ah I see, my bad for misrepresenting the save as PDF dialog.

But my idea request is only for the output PDF generated. I want there to be some in-built (not 3rd party add-on) way of taking a WYSIWYG page printout, complete with selectable text and links and images.

Here's an example: if I print this very page we are on right now (link for reference: https://connect.mozilla.org/t5/ideas/opera-like-save-as-pdf-for-firefox-desktop/idi-p/36547) to PDF on Firefox, it is printing out differently from how I see it on my screen. However, if I use Opera to print it, it prints out EXACTLY how I see it on my screen.

Hope that helps explain my feature request. If needed, I can provide two PDFs comparing the output as well. Thanks for responding!

dholbert
Employee
Employee

Opera's Right-click | Save-to-PDF seems to essentially be: "take a screenshot of the whole scrollport, and save that as an extremely-tall single-page PDF".  (I'm using "screenshot" a bit loosely, since it does include selectable text / links / etc.)

Firefox has something akin to this with our own screenshotting functionality -- right-click, "take screenshot", and then use the "Save full page" button.  But of course this is missing the selectable text and clickable links.

I think https://bugzilla.mozilla.org/show_bug.cgi?id=1843407 is filed on getting that screenshot into a PDF.  Probably that bug covers the request here (or if it doesn't, then the request here is a natural evolution of what's discussed in that bug).

trashfromoceans
New member

Hello, I appreciate the reply, here are some points which might provide more information regarding the linked bugzilla thread:

1) In the linked thread, they want to import the screenshot into the PDF. My request is about the generation of a PDF from the beginning. Perhaps this requires generating an image initially, however I do not believe this is the case; Opera does not seem to screenshot, since the text font quality + background image quality does not degrade on zooming into the PDF. (I would assume that if it was an image converted/imported to a PDF, zooming into the PDF would show pixelization.)

2) You mention the feature "akin" that is already present in firefox. Thank you, I have started using that more nowadays. However, since it is a PNG image, pixels are visible when zoomed in (unlike Opera). I'm thinking, maybe Opera uses SVG to save the initial image then adds text on top? not sure about this.

I would definitely be open to mentioning this post on there, if it could be considered related and thus expedite the feature implementation.

dholbert
Employee
Employee

(1) Good point; I added a note to that bug report, regarding screenshot vs. "actual text" (since users like yourself might expect the latter if given an opportunity to capture a screenshot as a PDF).

(2) Right, our save-full-page is definitely rasterized (pixelated) text in a PNG right now, which makes it only loosely akin to the full save-as-pdf feature, where PDF offers actual real text that can be selected and won't pixelate when scaled.