User guide

IOLAN+, IOLAN+ Rack & IOLAN+ 102/104 User guide
Using RCP
Page 112
Chapter 8 Printing
RCP printing on a spooler system based on BSD Unix
Currently, the RCP printing utility will not work if the of filter is used in conjunction with any
other filter.
1. 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 IOLAN port 8
IOLAN8|IOLAN rcp Printer:\
:lp=/dev/null:\
:sf:\
:sd=/usr/spool/LPD/IOLAN8:\
:lf=/usr/spool/LPD/IOLAN8/log:\
:if=/etc/perle/hpif:
2. 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.
3. 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/perle/hpif.orig
4. Copy the Perle RCP shell script to the Perle directory /etc/perle. That is:
cp perle.rcp /etc/perle/hpif
5. Edit the interface script and insert the desired IOLAN+ name and port number. For
example, if the IOLAN+ name is ‘iceland’ and the printer is attached to port 8 (numbering
from 1 to 16).
Then the line:
rcp $TMP <IOLAN name>:tty<port number>
becomes:
rcp $TMP iceland:tty8
Some Unix systems may require the full pathname of the ‘RCP’ command. For example,
SunOS Unix and may require the line to become:
/usr/ucb/rcp $TMP iceland:tty8
6. Activate the printer for use. That is:
lpc start IOLAN8
lpc enable IOLAN8
7. Set up the IOLAN+ port for RCP printing. See the relevant section in the guide or call
Technical Support for an example fax. See Appendix F Contacting Perle.