search for: acct_fil

Displaying 6 results from an estimated 6 matches for "acct_fil".

Did you mean: acct_file
2001 Mar 29
1
Samba Printing to Win98
...me I'm flirting with a world of pain. I *can* print a file by going: smbclient //rory/EPSON translate print /etc/group but I cannot print from applications, nor can i use smbprint. I tried going: cat /etc/passwd | sh -x smbprint but this is the output I get: + logfile=/dev/null + eval acct_file=${0} ++ acct_file=smbprint ++ dirname smbprint + spool_dir=. + config_file=./.config ++ cat ./.config cat: ./.config: No such file or directory + eval + echo server , service + /usr/bin/smbclient /// -U -N -P + echo print - + cat doesn't look right. if anyone's interested in helping,...
1999 Jul 13
1
Printing to NT: problem with smbprint
...he smbprint file: <Snip just including the last section> logfile=/tmp/smb-print.log # logfile=/dev/null # # The last parameter to the filter is the accounting file name. # Extract the directory name from the file name. # Concat this with /.config to get the config file. # TRANS=0 eval acct_file=\${$#} spool_dir=`dirname $acct_file` config_file=$spool_dir/.config # Should read the following variables set in the config file: # server # service # password eval `cat $config_file` while getopts t c; do case $c in t) TRANS=1 ;; '?') # Bad parameters,...
2001 Sep 28
1
BUG + FIX in smbprint
...nge to /dev/null if you like. # logfile=/tmp/smb-print.log # logfile=/dev/null # # The last parameter to the filter is the accounting file name. # Extract the directory name from the file name. # Concat this with /.config to get the config file. #MR28092001MR added acct to path # TRANS=0 eval acct_file=\${$#} spool_dir=`dirname $acct_file` config_file=$spool_dir/acct/.config # Should read the following variables set in the config file: # server # service # password #TRANS=1 eval `cat $config_file` # force translation while getopts t c; do case $c in t) TRANS=1 ;;...
1999 Jul 26
2
SAMBA digest 2177
...s it and even print. However, when I >> use the smbprint I alway get a file not found error. Here is what I >> have for the printcap: >> smb:lp=/dev/null:sd=/var/spool/lpd/smb:sh:if=/usr/samba/bin/smbprint: >> >> Here is what I have in the smbprint file: >> eval acct_file=\${$#} > ^^^^^^ >This will only work if you have an af=/var/spool/lpd/smb/acct: entry >in your /etc/printcap > >Kevin >-- > _ | Kevin Ivory | Tel: ++49-551-3700005 > |_ |\ | | Service Network GmbH | Fax: ++49-551-3700009 &...
2003 Dec 01
0
No subject
...uot; # # Debugging log file, change to /dev/null if you like. # logfile=/tmp/smb-print.log # logfile=/dev/null # # The last parameter to the filter is the accounting file name. # Extract the directory name from the file name. # Concat this with /.config to get the config file. # TRANS=0 eval acct_file=\${$#} spool_dir=`dirname $acct_file` config_file=$spool_dir/.config # Should read the following variables set in the config file: # server # service # password eval `cat $config_file` while getopts t c; do case $c in t) TRANS=1 ;; '?') # Bad parameters,...
2003 Dec 01
0
No subject
...== .config ============================================================ server=PRINTMAN service=BROTHER password="" ============================================================ smbprint ============================================================ #!/bin/sh logfile=/tmp/smb-print.log eval acct_file=\${$#} spool_dir=`dirname $acct_file` config_file=$spool_dir/.config eval `cat $config_file` echo "server $server, service $service" >> $logfile ( echo "print -" cat ) | /usr/bin/smbclient "\\\\$server\\$service" $password -U $server -N -P >> $logfile R...