[cups] lpoptions not working within script, linux, cups 1.5.4
Thomas Thielemann
thomas at th-thielemann.de
Sat Apr 16 02:30:13 PDT 2016
Hello user group,
I wrote a script to install HP printer. The script is called from udev rule with „nohup my script [NEW_PRINTER] [PRINTEROPTIONS]”.
Within the script I call „lpoptions -d [NEW_PRINTER]”. But lpoptions does only print output similar to "lpoptions -h”.
If I do the same with „lpadmin -d [NEW_PRINTER]” it is working as expected. If I call lpoptions -d [NEW_PRINTER]” on command line, it is working as expected to.
Any reason for this?.
Regards,
Thomas
Telefon: +49 172 37 20 896
E-Mail: th-thielemann at web.de
Web: www.th-thielemann.de
More information about the cups
mailing list