[comp.unix.questions] how to setup remote printing services

grover@skybridge.SCL.CWRU.Edu (Grover Davidson) (04/25/91)

 
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.


thanks in advance.....
grover

--
Grover Davidson  (grover@ccai.clv.oh.us) | I speek ONLY for myself. My views do
Conley, Canitano, & Assoc. Inc.          | not in any way relect those of my
25201 Chagrin Blvd. Ste. 390             | employer, even if the like them and
Beachwood, Oh  44122                     | especially if they don't.

les@chinet.chi.il.us (Leslie Mikesell) (04/25/91)

In article <1991Apr24.211451.15693@usenet.ins.cwru.edu> grover@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@chinet.chi.il.us