Terminal Server - User and Administration Guide
RCP printing on a
spooler system
based on BSD
Unix.
66
Currently, the RCP printing utility will not work if the of filter
is used in conjunction with any other filter.
a. Log in as root and create a print queue for the
printer with /dev/null as the device port. For
example, create a printer queue by placing this
record in /etc/printcap :
rcp Printer to TSERVER port 8
TSERVER8|TSERVER rcp Printer:\
:lp=/dev/null:\
:sf:\
:sd=/usr/spool/LPD/TSERVER8:\
:lf=/usr/spool/LPD/TSERVER8/log:\
:if=/etc/bbox/hpif:
b. Go into the directory containing the desired text
filter program intended for the if field. If there is
no filter required for this queue then create a
dummy filter program which calls the cat
command with no arguments.
c. Link the generic filter program to a file with the
suffix '.orig'. This generic filter program may be
in use by other printer queues and so is left
untouched. Using the example:
ln -s <filter-name> /etc/bbox/hpif.orig
d. Copy the Bbox RCP shell script to the Bbox
directory /etc/bbox . That is:
cp bbox.rcp /etc/bbox/hpif
e. Edit the interface script and insert the desired
Terminal Server name and port number. For
example, if the Terminal Server name is 'iceland'
and the printer is attached to port 8 (numbering
from 1 to 16).