I have this piece of code
Printline send a line to a bluetooth printer.
Several lines are sent one after another.
If I don't use the doevents, printing is truncated at some point. As using doevents has been recommended not top be used, what should I do here?
B4X:
Sub PrintLine(wLinea As String)
printer.Write(wLinea)
printer.Flush
f.ForceDoevents(20) 'this function repeat the doevents n times
End Sub
Printline send a line to a bluetooth printer.
Several lines are sent one after another.
If I don't use the doevents, printing is truncated at some point. As using doevents has been recommended not top be used, what should I do here?