Terminal Server User Guide
Using RCP
Page 107
Chapter 8 Printing
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.
Summary of Contents for 37687
Page 19: ...Page 19 show ports 167 show lines 167 show statistics 167 su 167 telnet 167 test 168 ...
Page 192: ...Terminal Server User Guide Diagnostics Page 192 ...
Page 210: ... A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Page 210 ...
Page 211: ... A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Page 211 ...