In shell of Raspberry, when I run command :
So, this same command I'm trying to send from inside application. Code is this :
On ProcessCompleted i got this :
But nothing is printed.
Any ideas ?
it get's printed on USB POS printer.echo "some text to be printed" >> /dev/usb/lp0
So, this same command I'm trying to send from inside application. Code is this :
B4X:
Dim shl As Shell
shl.Initialize("shl", "echo", Array As String("some text to be printed", ">>", "/dev/usb/lp0"))
shl.WorkingDirectory = File.DirApp
shl.Run(-1)
On ProcessCompleted i got this :
Success:true
ExitCode:0
StdOut:Hello > /dev/usb/lp0
StdErr:
But nothing is printed.
Any ideas ?