Printing postscript to PC printer from SUN
Liz Marlow
e.s.marlow at uces.bangor.ac.uk
Fri Jul 3 13:14:56 GMT 1998
Hi All
I've managed to get my SUN's (solaris 2.5.1) printing text files to a PC printer using the following script:-
client="pc1"
pshare="pr1"
printfile="/tmp/smbspool.$"
cat > $printfile
if [ -s $printfiel ] ; then
(echo "translate" ; echo "print $printfile" ; echo "quit" ) \
| /usr/local/samba/bin/smbclient \\\\$client\\$pshare -P -N
fi
rm -f $printfile
exit 0
But I want to be able to print postscript files too. Any info greatfully received :-)
Many thanks
Liz
"""
(O O)
|------------------oOO--(_)--OOo-----------------|
Liz Marlow - UCES Computer Manager
University of Wales, Bangor
Marine Science Laboratories
Menai Bridge e.mail: esm at uces.bangor.ac.uk
Anglesey Tel : +44 (0)1248 713808
N. Wales Mobile: +44 (0)973 543867
LL59 5EY Fax : +44 (0)1248 716729
|------------------------------------------------|
More information about the samba
mailing list