Am 10.08.2012 15:01, schrieb loial:
I am writing an application to send data to a printer port(9100) and
then recieve PJL responses back on that port. Because of the way PJL
works I have to do both in the same process(script).
If I understand that right, you are opening a TCP connection, so
ob
On 2012-08-10, loial wrote:
> At the moment I do not start to read responses until the data has
> been sent to the printer. However it seems I am missing some
> responses from the printer whilst sending the data, so I need to be
> able to do the 2 things at the same time.
>
> Can I open a port on
A select() loop should work.
On Fri, Aug 10, 2012 at 1:01 PM, loial wrote:
> I am writing an application to send data to a printer port(9100) and then
> recieve PJL responses back on that port. Because of the way PJL works I
> have to do both in the same process(script).
>
> At the moment I do n
loial writes:
> I am writing an application to send data to a printer port(9100) and then
> recieve PJL responses back on that port. Because of the way PJL works I have
> to do both in the same process(script).
>
> At the moment I do not start to read responses until the data has been sent
> t
I am writing an application to send data to a printer port(9100) and then
recieve PJL responses back on that port. Because of the way PJL works I have to
do both in the same process(script).
At the moment I do not start to read responses until the data has been sent to
the printer. However it s