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:
Thank you Alessandro very elegant solution. I'll give it a try!
Doriano, I don't understand how could netcat work here.
--
Download IntelĀ® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, fi
Alessandro Rinaldi ha scritto:
> Mounting doesn't work: specials files like the ones in /dev work only
> if opened from the local PC.
>
Right - just tested now (at the time I wrote the other message, I
couldn't verify)
> In any case, you could do a Gambas app that is executed on the
> printing
Mounting doesn't work: specials files like the ones in /dev work only
if opened from the local PC.
In any case, you could do a Gambas app that is executed on the
printing server, waits for data from the network and print it on the
local printer...
So the client app would just send the text over the
Vassilis K ha scritto:
> Some months ago Doriano suggested the code for the printing of 1 line on
> a parallel printer which is the following:
>
> PUBLIC SUB bEktiposi_Click()
> DIM hPrinter AS File
> hPrinter = OPEN "/dev/lp0" FOR OUTPUT
> hPrinter.EndOfLine = gb.Windows
>
Some months ago Doriano suggested the code for the printing of 1 line on
a parallel printer which is the following:
PUBLIC SUB bEktiposi_Click()
DIM hPrinter AS File
hPrinter = OPEN "/dev/lp0" FOR OUTPUT
hPrinter.EndOfLine = gb.Windows
PRINT #hPrinter, "test a line: