為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 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