84
EasyLAN User’s Guide
Chapter 6 — Advanced Confi guration
<sexp
3
> should always be "HTTP" (case-sensitive).
Remarks: HTTP implies that the argument list in <sexp
2
> is encoded in
“x-www-url-encoding.”
ON HTTP GOTO
ON HTTP GOTO is used to defi ne the Fingerprint handler for the
CGI-request. When a request for an application CGI is received,
the current execution point will be pushed on to the stack and then
execution will commence in the handler with stdin and stdout redirected
from/to the web browser.
Syntax:
ON HTTP GOTO<ncon>|<line label>
<ncon>
is the number of the line to which the program will
branch when the CGI request is received.
<line label>
is the label of the line to which the program will branch
when the CGI request is received.
Remarks: Th
is statement is used in connection with EasyLAN and
defi nes a Fingerprint subroutine that handles the CGI-request. Setting
the handler’s line number or line label to 0 disables it. When a request
for an application CGI is received, the current execution point will be
pushed on to the stack and then the execution will commence in the
handler with stdin and stdout redirected from/to the Web browser.
RESUME HTTP
When RESUME HTTP is executed, the application layer fi nishes
and the web server closes the TCP-connection and pops the execution
point so that the program continues where it was before the request was
received. Stdin and stdout will be restored to their original values.
Interrupt
If mode is set to interrupt but the program is not running, the error
message “
Application not started
” is shown when the resource is requested.
If ON HTTP GOTO is defi ned, the interrupt handler will be called
even for other Fingerprint CGI-programs, and it is up to the application
to handle/honor this.
To look-up which program that was requested, you should use
GETASSOC$("ENV","SCRIPT_NAME")
.
Example of Fingerprint program:
10 'Intermec-CGI/1.0:
mode=interrupt&send_hdr=no
Summary of Contents for EasyLAN 100E
Page 1: ...EasyLAN User s Guide ...
Page 4: ...iv EasyLAN User s Guide ...
Page 9: ...EasyLAN User s Guide ix Contents A Glossary 97 B Technical Specifications 103 ...
Page 10: ...x EasyLAN User s Guide Before You Begin ...
Page 14: ...xiv EasyLAN User s Guide Before You Begin ...
Page 32: ...18 EasyLAN User s Guide Chapter 2 Setting Up the Printer in Windows 5 Click Close ...
Page 38: ...24 EasyLAN User s Guide Chapter 2 Setting Up the Printer in Windows ...
Page 70: ...56 EasyLAN User s Guide Chapter 4 Using the EasyLAN Web Browser Interface ...
Page 117: ...EasyLAN User s Guide 103 B Technical Specifications ...
Page 120: ...106 EasyLAN User s Guide Appendix B Technical Specifications ...