I'm trying to print the contents of a listbox, but not getting them to print side by side. Also, it won't print until the application has been closed?? Any help would be greatly apprecited. Here's the code:

VB Code:
  1. '*CMDPRINT_CLICK()*************************************************************
  2. 'NAME: cmdPrint_Click()
  3. 'DESC: Prints the contents of the listbox (lstFirstScreen).
  4. Private Sub cmdPrint_Click()
  5.     If (lstFirstScreen.ListCount > 0) Then
  6.         Dim lngIndex As Long
  7.         Dim count As Integer
  8.         Dim strArray() As String
  9.         Printer.FontSize = 11
  10.         'Printer.Print lstFirstScreen.List(0) & vbNewLine;
  11.         Printer.Print "--------------------------------------------------------" _
  12.             & "----------------------------------------------------------------" _
  13.             & "----------------------------"
  14.        
  15.         For lngIndex = 0 To lstFirstScreen.ListCount - 1
  16.             'Printer.Print lstFirstScreen.List(lngIndex) & vbNewLine;
  17.             strArray = Split(lstFirstScreen.List(lngIndex), vbTab, -1, 1)
  18.             For count = LBound(strArray) To UBound(strArray)
  19.                 'MsgBox (lngIndex & ": " & strArray(count))
  20.                 Printer.Print strArray(count)
  21.                 Printer.Print vbTab
  22.             Next
  23.             Printer.Print vbNewLine
  24.         Next
  25.        
  26.         Printer.EndDoc
  27.     End If
  28. End Sub
  29. '*ENDOF*CMDPRINT_CLICK()*******************************************************