Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜尋 Mozilla 技術支援網站

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

了解更多

printer pages scrambled

more options

I am trying to print labels directly from an html page. First Firefox seems to be the only browser currently that obeys the page-break-after sensibly and allows decent control of the printer settings, so that I could actually print labels accurately. However for doing multiple pages, the pages all display OK, but when I go into print mode, the first page is OK and prints OK, but subsequent pages display and print with all the labels superimposed on one another in the first row and have lost the vertical margin at the beginning of the page print. I've looked at the html source and I can not see any differences between the first and second pages and as I said they all display OK, it's just the printing. Firefox is telling me I'm on the latest version, so any help would be appreciated.

I am trying to print labels directly from an html page. First Firefox seems to be the only browser currently that obeys the page-break-after sensibly and allows decent control of the printer settings, so that I could actually print labels accurately. However for doing multiple pages, the pages all display OK, but when I go into print mode, the first page is OK and prints OK, but subsequent pages display and print with all the labels superimposed on one another in the first row and have lost the vertical margin at the beginning of the page print. I've looked at the html source and I can not see any differences between the first and second pages and as I said they all display OK, it's just the printing. Firefox is telling me I'm on the latest version, so any help would be appreciated.

所有回覆 (2)

more options

Does that show it in preview before printing?

more options

Considering that only Firefox works for the first HTML label page and subsequent label pages don't print correctly, along with other web browsers not even printing the first page correctly; I'd say that the HTML needs to be fixed.

Here;s the MDN documentation on page-break-after. https://developer.mozilla.org/en-US/docs/Web/CSS/page-break-after