Printing with TCP-IP

Bob Beaulieu bobb at netcom.UUCP
Wed Jul 4 15:03:31 AEST 1990


We just got a pyramid M1E (mips) based system (sysv) at work and have it
set up at work running informix 2.10.03K sql 4gl. It connected to a Plexus
P/60 (m68000) (sysv) via ethernet tcp-ip.

I am having no problem sending data to a printer on the Plexus in Informix
using the following command (while on the pyramid)::

report to pipe "cat |/usr/ucb/rsh <systemname> 'lp -d<printername>'"

But, what I can't do it send OPTIONS to a printer on the Plexus side from
the Pyramid? I've tried modifying/creating various interface script to
handle #of copies and various printer control options (compress,etc.)
and would appreciate any help ...

I would like to end up with a script that can take an 'lp -d<printername>'
command and send this, and any -o options on one system and send the
command thru the ethernet to the <printername> on another system.

Thanks for any help.

Bob Beaulieu



More information about the Comp.unix.questions mailing list