Hello, I tried my first Miletus application. I want to print directly on my connected local printer. It works from the console like this:
echo "Test" > /dev/usb/lp0
How can I do the same in Miletus? I tried it with Textfile, TFileStream - but both not supported.
Hope someone can help..
/Werner
At this moment, there is no built-in support for this. We'll investigate how we could make this possible.
Hi,
While we research this, if it's just the console command you need to execute from your Miletus application you could try the following: MiletusShell.Execute('echo "Test" > /dev/usb/lp0')
MiletusShell.Execute('echo "Test" > /dev/usb/lp0')
It returns a promise so you can also await if it's needed.