Hi Huebs,
Below is the error.
Also what does the below mentioned part in the script do can you guide me.
cd /etc/lp/fd
for f in *.fd
do
lpfilter -f `basename $f .fd` -F $f
done
UX:lpfilter: ERROR: "basename $f .fd" doesn't have the correct syntax.
TO FIX: Give a name that has 1 to 14 letters,
digits, dashes, or underscores.
UX:lpfilter: ERROR: "basename $f .fd" doesn't have the correct syntax.
TO FIX: Give a name that has 1 to 14 letters,
digits, dashes, or underscores.
UX:lpfilter: ERROR: "basename $f .fd" doesn't have the correct syntax.
TO FIX: Give a name that has 1 to 14 letters,
digits, dashes, or underscores.
UX:lpfilter: ERROR: "basename $f .fd" doesn't have the correct syntax.
TO FIX: Give a name that has 1 to 14 letters,
digits, dashes, or underscores.
UX:lpfilter: ERROR: "basename $f .fd" doesn't have the correct syntax.
TO FIX: Give a name that has 1 to 14 letters,
digits, dashes, or underscores.
UX:lpfilter: ERROR: "basename $f .fd" doesn't have the correct syntax.
TO FIX: Give a name that has 1 to 14 letters,
digits, dashes, or underscores.
UX:lpfilter: ERROR: "basename $f .fd" doesn't have the correct syntax.
TO FIX: Give a name that has 1 to 14 letters,
digits, dashes, or underscores.
UX:lpfilter: ERROR: "basename $f .fd" doesn't have the correct syntax.
TO FIX: Give a name that has 1 to 14 letters,
digits, dashes, or underscores.
UX:lpfilter: ERROR: "basename $f .fd" doesn't have the correct syntax.
TO FIX: Give a name that has 1 to 14 letters,
digits, dashes, or underscores.
UX:lpfilter: ERROR: "basename $f .fd" doesn't have the correct syntax.
TO FIX: Give a name that has 1 to 14 letters,
digits, dashes, or underscores.
UX:lpfilter: ERROR: "basename $f .fd" doesn't have the correct syntax.
TO FIX: Give a name that has 1 to 14 letters,
digits, dashes, or underscores.
UX:lpfilter: ERROR: "basename $f .fd" doesn't have the correct syntax.
TO FIX: Give a name that has 1 to 14 letters,
digits, dashes, or underscores.
UX:lpfilter: ERROR: "basename $f .fd" doesn't have the correct syntax.
TO FIX: Give a name that has 1 to 14 letters,
digits, dashes, or underscores.
UX:lpfilter: ERROR: "basename $f .fd" doesn't have the correct syntax.
TO FIX: Give a name that has 1 to 14 letters,
digits, dashes, or underscores.
Print services started.
printer "sunny" now enabled
destination "sunny" now accepting requests
Thank you very much huebs.