66
TERMINAL SERVERS
5. When defining the queue name, choose a name other than the printer
name.
6. Answer any other questions relevant to the printer attached.
7. Create a script file with the following script:
#!/bin/sh
/usr/lib/lpd/piobe $*|telnet IP_address_of_Passaport TCP_port
This will be the “back-end shell script” for the printer. It uses the piobe
program (standard AIX printing program) and pipes the results to a Telnet
program that drives the information to the Terminal Server.
If prtcp is used, replace the Telnet program in the above script with prtcp.
Note that in this case, you must start the STREAMS environment of the AIX,
by executing the
strload
command. Refer to the AIX documentation regarding
PSE
(Portable STREAMS Environment) for more information on the
STREAMS environment. The prtcp program uses the TLI system services
provided by PSE.
8. Make the script executable:
chmod +x backend_file_name
9. Define the script the AIX system by:
smit chquedev
10. Choose the printer and queue defined earlier and edit the “backend
program path name” to contain the script created in step 7.
11. Use the lp -d
printer_name
command to print.
HP/UX
Summary of Contents for LE2101A-BT-R2
Page 2: ......