-----BEGIN PGP SIGNED MESSAGE----- On 11 May 1997, Carey Evans wrote:
> Something like the following should work better. Also, are you sure > you want to do CR/LF translation in this case? ljet3-filter doesn't. > The "$@" passes on the options from lpd to magicfilter, as documented > at the top of magicfilter(8). > > #!/bin/sh -x > ( > echo translate > echo "print -" > /usr/sbin/ljet3-filter "$@" > ) | /usr/bin/smbclient '\\MAIN\HPLIII' -N -P > /var/log/smb-print.log Thanks for the help. For future reference, the CR/LF translation should _not_ be in the script as magicfilter takes care of that itself. One other note, I could not find a reference to $@ in my manpage for magicfilter (Version 1.2 March 1996). Cheers, Colin. - -- Colin R. Telmer, Institute of Intergovernmental Relations School of Policy Studies, Queen's University Kingston, Ontario, Canada, K7L-3N6 (613)545-6000x4219 [EMAIL PROTECTED] PGP Fingerprint = 09 E9 DA 66 9C EE 33 DC B8 3B 97 0E 01 BC EC 0B PGP Public Key at <URL:http://terrapin.econ.queensu.ca> -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv iQCVAwUBM3XjFRhhzOJJktw1AQFdUwQAmfFDykw4Lq2apvo1c9AVi3uFYk0Lb0Wt 7y4YufZrJVibGUnR62J2tx7rDOw32QqTuea/JwZMLgA5JxrUbNTgeCNpIzMC/O51 sAtmpPTLAVQdaL9GyXys9dP673x/ODI/PJwYr/zBGxJa8gLVk+ts56dXzr3EEHJh Ln13525Ox7g= =koe1 -----END PGP SIGNATURE----- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .