This may be a second post of this problem, but I didn't get a single reply
to my first post so maybe it didn't get posted for some reason.

I am trying to print to a samba shared printer with linux, but am having a
print filter problem. I have set up a queue "test2" to write to the
share "test."

The printer "test" works fine locally  with lpr -Ptest filetoprint and works fine with 
the
command below ON THE COMMAND LINE:

cat FileToPrint | enscript -Z -p -  | smbclient //hammer2/test -N "-c print - "

However, the command in a print filter:

enscript -Z -p -  | smbclient //hammer2/test -N "-c print - "

fails with a JABORT message in the status file when run by lpd. 

Removing the smbclient command allows the filter to function normally.

This filter script works when called from the command line:

cat FileToPrint | /var/spool/lpd/test2/filter.

Any insight appreciated.
Joel


        


-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to