"[Viajero] Milan Banjanin" wrote:
Quote:
Hi. D3/NT problem:I have to send a secuency of commands to a serial
printer, and i have to receive an answer from this printer, indicating
some error code. How I can do this thing?. If i define a serial
printer, itīs only for send commands, not for receive, i supose.
Regards |
(Hope I'm understanding this and not over-complicating it.)
Seems to me the only way to do this is to have the exchange with the
printer as any serial device, then when you're ready to print, start
the printer for printed output. Detach the printer when done for the
next round. If this is the approach you want to take then write or
find a program to have the exchange with the serial port, and then
call that from D3. If the printer is on a client PC then you can
probably use AccuTerm. The approach is different depending on the
environment.
What kind of printer is this (specific brand/model)? I'm guessing you
want to send some ESC codes to get a status report?
If you want this done for you I may be able to write the code on a
consulting basis.
HTH
Tony
TG@ removethisNebula-RnD.com