I have a bash file called 1.sh follows :
#!/bin/bash
lpr "this doc.pdf"
The properties are set to "allow executing file as a program".
when i open the terminal and type
lpr ./1.sh
it prints on the printer to paper.
when I double click on the file and choose either "Run" or "Run in terminal" it does not print. Anyone any ideas.
Thank you