I have a Red Hat 9 Linux box running Samba version:2.2.7a-8.9.0-security-rollup-fix and Hylafax acting as a fax server. I print from my Windows XP machine to the Samba shared printer hoping the file name would be passed to Hylafax to use as the outbound phone number but Samba is submitting the job to Hylafax with a job name like: smbprn.000117.JrVPBv Hylafax can't process the job since there's no phone number. I tried configuring the print line in SWAT with the command: lpr -r -P%p `strings %s|grep %%Title:|gawk '{print "-T "$2 " -o phone="$2}'` %s which actually had the phone number as the job name but Hylafax didn't process. I then thought that since the -T might be confusing the location of the actual spooled job I'd try with the next line but that failed to be processed by hylafax also. lpr -r -P%p `strings %s|grep %%Title:|gawk '{print %s " -o phone="$2}'` %s Can someone tell me how to configure samba so the job name submitted can be interpreted by Hylafax as a phone number? I'm hoping this posts to the samba mailing list since I'm new and don't want more spam than I'm already getting. My email add ress is r continue on next line owan continue on next line @rown continue on next line etco.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Annonymous wrote:> lpr -r -P%p `strings %s|grep %%Title:|gawk '{print %s " -o phone="$2}'` %s > > > Can someone tell me how to configure samba so the job name submitted can > be interpreted by Hylafax as a phone number?Use the %J smb.conf variable for the job name as transmitted by the client. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD0QysIR7qMdg1EfYRAlZnAJ9nYu6EMjWwDbsnZQR6rLeJjmW6hwCfdjQo xJLrLnzcwWwNswMdWGpSoU8=3a/u -----END PGP SIGNATURE-----