how to setup remote printing services
Leslie Mikesell
les at chinet.chi.il.us
Fri Apr 26 01:11:00 AEST 1991
In article <1991Apr24.211451.15693 at usenet.ins.cwru.edu> grover at skybridge.SCL.CWRU.Edu (Grover Davidson) writes:
>thanks for the replies, but all the replies addresses setting up remote
>print service on a bsd like system. we are running a sys5r3 system.
>in talking to prime, they suggest setting up an interface to
>route the file over to the rs/6000 and print it. i am hoping that
>there is a better way.
The interface script for lp can do pretty much anything you want, including
uux'ing off somewhere else. I prefer to control things at the front
end instead of the back as much as possible, though, so I use a script for
each printer instead of invoking lp directly. In my case, the same script
might be invoked from different machines over a network mount, so it
looks something like:
if [ `uname` = printmachine ]
then
lp -dprinter $*
else
cat $* | uux - "printmachine!lp -dprinter"
fi
Where printmachine is the hostname connected to the printer and printer
is the "destination" name as defined to lp on that machine. There are
a few problems (which don't happen to bother me...), in that cat'ing
multiple files on the source machine will not add page breaks between
files and the destination machine will not know the sending user's name.
The advantage is that there is a single administrative point to
control the action of print jobs handled by this script.
Les Mikesell
les at chinet.chi.il.us
More information about the Comp.unix.aix
mailing list