> I am usign an RS6000 on a net with a number of PCs (working on Windows
> for Workgroups). Some of these PCs are driving printers. What I want
> to do is spool print jobs to these printers. I try to configure the
> remote print queues and devices using SMIT, but of course, there really
> isn't a device designation for the remote PCs. How do I access these
> printers from my UNIX?
> Thanx in advance.
You can use some third party products on your PC that support LPD/LPR,
such as Novell's LanWorkplace 5.
You can also use escape sequences to redirect your screen input to
your printer. This example is for vt102 emulation.
Create a script with these line in it.
echo "\033[5i" # this opens printer port
cat $* # this cat's all input
echo "\033[4i" # this closes printer port
If using Windows, the print will goto whatever your default windows
printer is set to even if it's a workgroup printer on someone else's
PC. If you call this script "salveprint" then you would use it this
$ slaveprint "filename"