搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

saving webpages as pdfs without page breaks

  • 18 回覆
  • 0 有這個問題
  • 7 次檢視
  • 最近回覆由 frank258

more options

In Firefox-Mac, I used to be able to save webpages as PDFs without page breaks as one long page (sometimes 120 inches), depending on the page. The newer version it doesn't work. Now I have to use Safari (!) for this. This is a useful feature for proofreading, where page breaks often break up or omit entire sentences.

In Firefox-Mac, I used to be able to save webpages as PDFs without page breaks as one long page (sometimes 120 inches), depending on the page. The newer version it doesn't work. Now I have to use Safari (!) for this. This is a useful feature for proofreading, where page breaks often break up or omit entire sentences.

所有回覆 (18)

more options

What method have you been using to generate the PDFs?

As you know, a year or two ago Firefox got a new print experience that has a "Save to PDF" destination. That option uses an internal PDF generator and does paginate the output. If you scroll to the bottom of the settings panel on the right side of the print preview overlay, you can click "Print using the system dialog..." to use the Mac OS print dialog that Firefox used to call up directly. Does that work the same as Safari?

more options

Thank you. Sadly, that doesn't do it. I do remember that because that's when it stopped. Using the system dialog was great but not that does not work either! The best fix is to use Safari (!). My wife's laptop has an older version that saves webpages great but it's not suitable for my work. Can't Moz fix this? Maybe I'm the only person who needs this feature.

more options

The only software that gives a pdf print is Adobe Acrobat but that is a paid program to use that installs a Create PDF options that I use currently. Unless you use Foxit that isn't a Firefox program that but you have to pay to us the other option beyond the free Reader. It would help if you can recall the program you used for what your referring to but since that wasn't a Firefox software I doubt the ability to implement that would cost prohibited to do for Firefox browser and would paying license to use it and that would more or less not happen. AFAIK - there is Print to PDF if that options exists to use as that would print the doc to pdf but if it's a website sometimes it work and sometimes the pdf of the site doesn't include graphics or layout like the website as well and can be missing graphics or text to properly present the pdf correctly.

more options

frank258 said

The best fix is to use Safari (!).

What method are you using in Safari -- just regular Print or is there a separate feature/button?

My wife's laptop has an older version that saves webpages great but it's not suitable for my work.

What method works on your wife's laptop -- just regular Print or is there are separate feature/button? Can you check what version it is (for example, using Help > More Troubleshooting Information).

Can't Moz fix this? Maybe I'm the only person who needs this feature.

I don't think most people want a PDF with unprintably long pages, but maybe there is still a way to do it.

more options

"What method are you using in Safari -- just regular Print or is there a separate feature/button?" - Command P. In the print window you can see page size, which varies depending on the page. Once that is set, then click "save as pdf."

The thing is, I never print these and neither does the client. I mark up the changes and send it. Simple! The old way was to print the page, mark it up, scan it as PDF, then return. Not only was this cumbersome but some of the printed font sizes were so small I needed a magnifying glass and could see individual dots-on a laser printer! So.

Also, the page breaks sometimes lose copy. One long page preserves all of it.

The procedure is the same on my wife's laptop, a Macbook Air.

more options

frank258 said

Command P. In the print window you can see page size, which varies depending on the page. Once that is set, then click "save as pdf."

Hmm, I don't know why the system print dialog would work differently in Firefox than in Safari. Maybe Safari has some extra features.

(As a Windows user, I can't experiment with this myself, unfortunately.)

I have an add-on that generates a PDF, and I experimented with longer/custom page lengths (like 100" long). With that method, it's easy to reduce the number of page breaks, but I don't know how to estimate the proper length in advance to avoid an excessive blank area. (There are several reasons it is difficult to estimate the length: the window on screen usually isn't the exact width used for printing, the page break locations are somewhat unpredictable, and the effect of "Shrink to Fit" is difficult to determine.)

more options

Thanks! It's a mystery for sure. What's the add-on you have? Maybe I can get it! Meanwhile, Safari is OK - it does what I need.

more options

Okay, you can take it for a spin here:

https://addons.mozilla.org/firefox/addon/save-to-pdf-now/

Choosing custom settings lets you specify length in inches, but doesn't have a method to calculate what would be best.

To add this directly to the toolbar, you need to "Pin" it from the Extensions button drop-down. See: Manage your extensions using the extensions button in the toolbar.

more options

Thank you! Will report back.

more options

Well, I tried it. There is no place to change the page length, which is necessary. Thanks, though!

more options

You don't get the dialog shown in my earlier reply where you can replace 100 with any value you like?

more options

I did, but there are still page breaks. Maybe I missed something.

more options

Page breaks where there is a huge gap at the end of the first page, or even at a longer length it's not long enough? I only tested on a 65" page.

more options

Between each page. I even removed headers/footers, which helped some. I set it for 500 on a short page! It's too bad I can't upload the pdfs, but the "upload images" won't let me. I could include the Firefox version, the FF save-to-pdf version, and Safari. Well, hell!

more options

If you check the properties of the PDF (in Acrobat, it's File > Info), does it say that the page is 500" long or only 11" long (i.e., your custom length is not being used)?

more options

Well, I don't have Acrobat. Just Preview in Mac. So, no error about being too long.

more options

Does Preview show you the page dimensions somewhere? What I'm wondering is whether the add-on is using your settings when you click its "Generate PDF" button or whether it is not ignoring the settings and just generating the default size (Letter).

more options

This last time I set the page for 800 (!). There are always page breaks. So, Safari is still better. Too bad. To me this reflects how developers constantly tinker with things, usability or features be damned, to justify their existence. But I digress.