I am in the process of creating a web interface for printing barcodes on Avery label sheets. How can I ensure that the barcodes align perfectly on each label, using measurements like inches or centimeters? And most importantly, how do I prevent the barcodes from bleeding into neighboring labels on the same page?
My current approach involves using a table for each page that matches the label sizes as closely as possible. However, after printing multiple pages, the barcodes start to shift off the labels. This limits me from including additional information under the barcodes, as it exacerbates the issue. I have tried using CSS properties like page-break-after and page-break-before, but they do not seem to have any impact.
Any suggestions or advice would be greatly appreciated!