title: How to print labels from a label printer using html
body: <p>I have an application where I will need to print labels from the browser. I have done this before when printing a sheet of labels (i.e. Avery 5160). This is fairly straightforward as it just requires a combination of html and css and your content and you can print the page from a normal 8.5x11 printer.</p>
  
  <p>My dilemma, however, is that I need to print labels from a label printer, the kind where it prints one at a time from a roll. The specific model that will be used is a Brother QL-500. The part I am struggling with is that the number of labels to be printed will not always be the same. It could be 1, could be 4, could be 15. How can I style a page where the printer will know that each label needs to be printed individually, rather than just printing out all of the content on one long label. Does anyone know if this is actually possible / has done this before successfully?</p>