Vassilis K ha scritto: > Thank you Alessandro very elegant solution. I'll give it a try! > > Doriano, I don't understand how could netcat work here. > > Open a terminal and type:
nc -p27 -l |while read; do echo "send this to /dev/lp0: $REPLY"; done Then open another terminal and type: echo "PRINT THIS" |nc -w1 localhost 27 ...I leave the rest to your imagination. If you think that a gambas program can do this so easily, hat off to you! Read the documentation about netcat - I bet you can not even imagine what it can do... :-) Regards, Doriano ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user