title: PHP printer not printing on a new line
body: <p>I'm attaching a <strong>80 mm thermal printer</strong> to my windows server, it's working great but when the text is longer than the page width the rest of the text disappears instead of moving it to the next line automatically. here's my code</p>
  
  <pre><code>$handle = printer_open("POS"); 
  printer_set_option($handle, PRINTER_PAPER_FORMAT, PRINTER_FORMAT_CUSTOM);
  printer_set_option($handle, PRINTER_PAPER_WIDTH, "80");
  printer_set_option($handle, PRINTER_MODE, "RAW");
  printer_start_doc($handle, "My Document");
  printer_start_page($handle);
  $font = printer_create_font("Arial", 40, 30, 400, false, false, false, 0);
  printer_select_font($handle, $font);
  printer_draw_text($handle, $lipsum, 10, 10);
  printer_delete_font($font);
  printer_end_page($handle);
  printer_end_doc($handle);
  printer_close($handle);
  </code></pre>