Hello, I am trying to run an lp (That is LP in caps for clarity), and am getting an error:
/usr/bin/lp: No such file or directory
that executable exists on the box because ‘which lp’ returns /usr/bin/lp
Here is how I am running it:
System.cmd("/usr/bin/lp", [ "-h", "printer:631", "-U", "printuser", "-o", "fit-to-page", "-d", name, path ])
I have also tried by not providing the full path to lp but also get the same error. Additionally, i’ve tried with :os.cmd and that also shows the same error… Anyone have any ideas?