This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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.

All Replies (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