We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

  • 2 பதிலளிப்புகள்
  • 1 இந்த பிரச்சனை உள்ளது
  • 10 views
  • Last reply by the-edmeister

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)

Does that show it in preview before printing?

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