EasyLAN User’s Guide
81
Chapter 6 — Advanced Confi guration
stdout and then sent to the web browser. To be identifi ed as an IPP-
resource, the fi rst line in the fi le must contain options that tell which
command parser that should be used and how the HTTP request shall
be handled.
Th
e options are x-www-url-encoded, that is, multiple arguments are
passed as name1=value1&name2=value2. Recognized options are
ush
for
command parser,
rec_hdr
and
prot
for arguments.
Application Specifi c CGI
Application specifi c CGI is a fi le identifi ed as CGI, which does not fall
into the previous category. To be identifi ed as a CGI resource, the fi rst
non-empty line in the fi le must contain
Intermec-CGI/1.0: <option>
.
Th
e options are x-www-url-encoded, that is, multiple arguments are
passed as name1=value1&name2=value2. Recognized parameter names
are
mode
,
send_hdr
and
prot
.
Other Files
Files that do not fall into any of the previous categories are considered
regular fi les and are sent to the web browser without further inspection.
Fingerprint CGI-scripting
Fingerprint CGI-scripting is a kind of application specifi c CGI.
Fingerprint CGI-scripting has been inspired by concepts commonly
used in web programming and the web servers. When the web server
gets a request it sets environment variables to refl ect the request, and
redirects stdin and stdout to the TCP-connection established with the
web browser. Th
en it starts the CGI program. When the program ends,
the web server (or OS) disconnects the TCP-connection. As a request
is received, a string-associative environment named ENV is created
to refl ect the nature of the request; stdin and stdout are redirected to
the web browser and control is given to the application layer. When
the application layer fi nishes, the web server disconnects the TCP-
connection to the web browser.
Th
e format of the parameter stream passed from the web browser follows
the standard formatting given by the HTTP and CGI standards. For
GET requests the arguments are given in the QUERY_STRING, and for
POST requests the arguments are passed on stdin. Th
e numbers of bytes
to read on stdin are given by CONTENT_LENGTH. Decoded data is
Содержание EasyLAN 100E
Страница 1: ...EasyLAN User s Guide ...
Страница 4: ...iv EasyLAN User s Guide ...
Страница 9: ...EasyLAN User s Guide ix Contents A Glossary 97 B Technical Specifications 103 ...
Страница 10: ...x EasyLAN User s Guide Before You Begin ...
Страница 14: ...xiv EasyLAN User s Guide Before You Begin ...
Страница 32: ...18 EasyLAN User s Guide Chapter 2 Setting Up the Printer in Windows 5 Click Close ...
Страница 38: ...24 EasyLAN User s Guide Chapter 2 Setting Up the Printer in Windows ...
Страница 70: ...56 EasyLAN User s Guide Chapter 4 Using the EasyLAN Web Browser Interface ...
Страница 111: ...EasyLAN User s Guide 97 A Glossary This appendix lists the network terms used in this User s Guide in alphabetic order ...
Страница 117: ...EasyLAN User s Guide 103 B Technical Specifications ...
Страница 120: ...106 EasyLAN User s Guide Appendix B Technical Specifications ...