title: How to arrange return content in pywin32
body: <p>I have few lines of code to send job to my printer using <code>pywin32</code> but when i send this command the content for the new line it doesn't appear on it row on the paper <code>(newline)</code> after printing but continue to follows the first row the content.
  When i print this to the terminal it print like what i desire but not when i send the job to the printer.
  <a href="https://i.stack.imgur.com/t2iU6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t2iU6.png" alt="image description of the printed result"></a></p>
  
  <p>Have been searching on this site on how am going to arrange my content when sending it printed but to no avail.</p>
  
  <pre><code>import win32con
  import win32print
  import win32ui
  
  
  def text():
      rows = (("PETER PAUL", "MALE", "100000"), ("MARGARET ", "FEMALE", "1000"), ("MICHAEL JORDAN", "MALE", "1"),("AGNES", "FEMALE", "200"))
      return '\r\n'.join('{:20} {:8} {}'.format(*row) for row in rows)
  
  
  print(text())
  
  
  def printer():
      dc = win32ui.CreateDC()
      printername = win32print.GetDefaultPrinter()
      dc.CreatePrinterDC(printername)
      dc.SetMapMode(win32con.MM_TWIPS)
      scale_factor = 20
      dc.StartDoc('Win32print ')
      pen = win32ui.CreatePen(0, int(scale_factor), 0)
      dc.SelectObject(pen)
      font = win32ui.CreateFont({
      "name": "Lucida Console",
      "height": int(scale_factor * 10),
      "weight": 400,
  })
      dc.SelectObject(font)
      dc.TextOut(scale_factor * 72, -1 * scale_factor * 72, text())
      dc.EndDoc()
  
  
  printer()
  </code></pre>