Using the protocols
2-20
PagePrinter Network Adapter: Utilities & Environments
Time-out periods
There are two time-out periods that may occur in FTP: one during the control
connection and one on the data connection.
The time-out during the control connection is 60 seconds. If the control
connection is started and no other command is issued for 60 seconds, then the
control session is closed. The adapter sends a 421 reply code (service not
available, closing control connection).
The time-out default on the data connection is 90 seconds.
If data is not received from the host for this data time-out period, then the
adapter closes the FTP data session and begins listening for a new session. The
input/output port to the printer and the print job are also closed. This time-out
prevents incomplete print jobs from hanging up in the printer and keeping other
jobs from printing.
Writing an FTP shell script
If you have written FTP shell scripts to send print jobs to the printer, you can
revise those scripts to be used with this adapter. You may send print jobs to
/prt1. The adapter will respond to the various commands with standard FTP
reply codes.
A sample shell script, on page 2-21, shows you what can be done. We do not
guarantee that this script will be usable on your computer; it is simply given as
an example for you.
This script does as ASCII FTP of files specified on the command line, to the
host identified in the variables. This shell takes data from stdin or from the print
file you specify on the command line.
You can specify several files on the command line. The -b option causes the
transfer to occur in binary.
Summary of Contents for PagePrinter
Page 1: ...PagePrinter Network Adapter Utilities Environments ...
Page 2: ......
Page 8: ...Contents iv PagePrinter Network Adapter Utilities Environments ...
Page 10: ...Preface vi PagePrinter Network Adapter Utilities Environments ...
Page 14: ...Introduction 1 4 PagePrinter Network Adapter Utilities Environments ...
Page 66: ...Printing under Windows NT 4 0 4 8 PagePrinter Network Adapter Utilities Environments ...
Page 86: ...Introduction A 4 PagePrinter Network Adapter Utilities Environments ...
Page 94: ...G 8 PagePrinter Network Adapter Utilities Environments ...
Page 96: ......
Page 97: ......