title: Paper run out in esc/pos printer
body: <p>I'm making system to print ticket using esc/pos printer
  the problem is when the paper almost run out the printer just print some of it
  and when I insert new paper the printer just continue to print the the rest of the ticket, so the ticket is now printed in 2 papers</p>
  
  <p>how to tell the printer to start printing from the beginning when the paper run out?</p>
  
  <p>I'm using mike42/escpos-php to print the ticket</p>
  
  <p><a href="https://i.stack.imgur.com/q1GGk.jpg" rel="nofollow noreferrer">the ticket</a></p>
  
  <p><a href="https://i.stack.imgur.com/wYtwP.jpg" rel="nofollow noreferrer">the ticket when paper run out</a></p>
  
  <p>Pic show below:</p>
  
  <p><a href="https://i.stack.imgur.com/q1GGk.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/q1GGk.jpg" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/wYtwP.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wYtwP.jpg" alt="enter image description here"></a></p>