May be worth looking at the functions in
SVN/harbour/contrib/hbtpathy/telepath.prg
tp_ctrlcts( nPort, nNewCtrl )
tp_ctrlrts( nPort, nNewCtrl )
tp_iscts( nPort ) etc...
I think you will need to experiment as there is little documentation for
this.
You could send text in small packets and wait for tp_iscts( nPort ) == .T.
between each.
Barry
AbeB wrote:
Hi Alex,
Thanks for quick reply.
In the printer it's enabled, but in software i have no clue how.
Any guidance?
Thanks,
abe
AbeB wrote:
I'm printing to serial printer with hbtpathy.lib
f.e.
tp_send(1,
replic("012345678901234567890012345678901234567890"+chr(13)+chr(10),1000 ) )
but it whould cause overflow in the printed output.
any help?
Not specific to telepathy, but you must enable flow control on the printer and
in your software. Most common are DTR/DTS (hardware) or XOn/XOff (software).
HTH
Alex
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour