Using Rcp With Unix System V Line Printer Spoolers - Black Box 37687 User Manual

102/104 rack / terminal server 16/8
Hide thumbs Also See for 37687:
Table of Contents

Advertisement

Using RCP with Unix System V line printer spoolers.

1. Log in as root and create a print queue for the printer with /dev/null as the device port. For
example, create an HP LaserJet printer queue via the command:
/usr/lib/lpadmin -hpjet -v/dev/null -mHPLaserJet
Do not accept or enable the printer at this stage.
2. Go into the directory containing the interface scripts for all printers. This is normally found
in:
/usr/spool/lp/admins/lp/interfaces (Rel 3 Unix).
/etc/lp/interfaces (Rel 4 Unix).
/usr/spool/lp/interfaces (XENIX).
3. Find the interface shell script for this printer and copy it to a file with the suffix '.orig'. using
the example: cp hpjet hpjet.orig
4. Copy the Server RCP shell script from the TSSD support disk to the interface script,
e.g:cp /etc/xxxx/src/xxxx.rcp hpjet
5. Having created the hpjet file set the permissions to allow execution of the script, e.g:
chmod a+x hpjet
6. Edit the interface script and insert the desired server name and port number. For
example, if the name is 'iceland' and the printer is attached to port 8 (numbering from 1 to
16). Then the line:
rcp $TMP <server name>:tty<port number>
becomes:
rcp $TMP iceland:tty8
Some Unix systems may require the full pathname of the 'RCP' command. For example:
/usr/ucb/rcp $TMP iceland:tty8
7. Activate the printer for use, e.g:
/usr/lib/accept hpjet enable hpjet
8. Set up the Terminal Server port for RCP printing by changing the Local Port field in the
Access section of the Port Setup Menu to 514.
Terminal Server User Guide
Using RCP
Page 107
Chapter 8 Printing

Advertisement

Table of Contents
loading

This manual is also suitable for:

3768840871408704187441872

Table of Contents