Appendix H Telnet Printer Application
Example S/W Program
This appendix provides an example of Telnet printer application software
which may be used to transfer files from a host to a printer, configured on
the Router WAN service menu, and mimicking a host spooler facility. For
applicability see your Customer Services representative.
(The example is provided as a sample only and Cray do not guarantee the
accuracy or full operability of it, nor is it supported by Cray.)
To use this application:
1. Compile under a c-compiler.
2. Rename the a.out file to an appropriate file.
3. Configure a service with TCP PORT No 2000 on the Router.
4.
cat<file name>\<a.out file renamed><Egate IP add> tcp port no –n
If any problems arise, consult your Telnet specialist. It may be necessary
to remove lines marked
•
for certain hosts.
X870-300351 Issue 1 H-1 Rev.0