I have a test script that contains the following:
lp -d HP ~/cap/alpha/error
HP is a designated printer on my wireless network and ~/cap/alpha/error is the full file path to the file containing the report from a python unit test.
The command works from the terminal window but not from the script called test.
I can't figure out why this is not working?