Axis 7000 Application Integration
7000 Axis Server PDF Application Integration (11 pages)
Text of Axis 7000 Application Integration
Copyright © 2000 Axis Communications
AXIS 7000 Application Integration using HTTP / FTP
Introduction
This document describes how the AXIS 7000 can be integrated
with different kinds of applications using two of the most
common TCP/IP protocols, FTP and HTTP. There are two
main ways to perform the scanning process using the AXIS
7000 together with an application:
•
Pull Type Scanning - initiated from an application and
performed using the HTTP protocol.
Axis Communications AXIS 7000 Application Integration using HTTP or FTP
00-05-31
2/11
Copyright © 2000 Axis Communications
Overview
Figure 1 shows the different components involved when integrating an application running on a
client or server together with an AXIS 7000. There are two main ways to perform the scanning
process using the AXIS 7000 together with an application:
•
Pull Type Scanning - initiated from an application and performed by using the
Axis Communications AXIS 7000 Application Integration using HTTP or FTP 00-05-31
3/11
Copyright © 2000 Axis Communications
Pull Type Scanning
Pull Type scanning is conducted by sending HTTP commands to the AXIS 7000 over a TCP/IP
network. In this section the basic idea is described and then exemplified by showing more
specifically how it can be done using the Microsoft Foundation Classes (MFC) in a Windows
environment. However, Pull type scanning can be
Axis Communications AXIS 7000 Application Integration using HTTP or FTP 00-05-31
4/11
Copyright © 2000 Axis Communications
contains a complete Scan Document page, including an error message. The 302 Moved
Temporarily response means that the scanning has been initiated.
2.
The 302 Moved Temporarily response includes the URL to the scanned image. The
syntax is /image.xxx where xxx is one of pdf, jpg, pcl or tif. The table below lists the
image name and MIM
Axis Communications AXIS 7000 Application Integration using HTTP or FTP 00-05-31
5/11
Copyright © 2000 Axis Communications
1.
Create a CInternetSession object:
The parameter is a string identifying the application. An application needs only one
instance of this class.
2.
Using this object the applications can now retrieve an HTTP connection:
3.
Using this connection, the application can now open a request. By default, redirected
responses are handled aut
Axis Communications AXIS 7000 Application Integration using HTTP or FTP 00-05-31
6/11
Copyright © 2000 Axis Communications
If it was successful, aContType will have the value “image/jpeg” (if JPEG is the chosen
format. See table above), otherwise “text/html”.
8.
Finally we are ready to receive the data:
UINT nBytesRead = anHttpFile->Read(buffer, MAXBUF - 1);
while( nBytesRead > 0)
{
//Save data somewhere
.
.
.
//Read next chunk
nBytesRead = anHtt
Axis Communications AXIS 7000 Application Integration using HTTP or FTP 00-05-31
7/11
Copyright © 2000 Axis Communications
Push Type Scanning
We refer to scanning initiated from the control panel of your AXIS 7000 as Push Type scanning.
The images are pushed out to a directory on an FTP server.
Your application can be configured to scan the directory on the FTP server. When new images
arrive, the application can, depending on information sent with the im
Axis Communications AXIS 7000 Application Integration using HTTP or FTP 00-05-31
8/11
Copyright © 2000 Axis Communications
The Information File is always written after the image file so when your application processes the
Information File the image file itself is guaranteed to be there already.
Example: A document distributing system may check the file name to see whom the image is
targeted for. The file name may have the syntax name_lastNameXXX.tif, whe
Axis Communications AXIS 7000 Application Integration using HTTP or FTP 00-05-31
9/11
Copyright © 2000 Axis Communications
Accessing the List of Profiles
The profile list is stored in the config.ini file, along with all other parameters. It can be obtained
using FTP (please see the AXIS 7000 Users Manual). There is a Profiles group, which states the
number of available profiles, along with their names. In addition, there is one parameter group for
each p
Axis Communications AXIS 7000 Application Integration using HTTP or FTP 00-05-31
10/11
Copyright © 2000 Axis Communications
References
http://www.w3.org/Protocols/
http://www.ietf.org/
RFC-1945, “Hypertext Transfer Protocol -- HTTP/1.0”
Axis Communications AXIS 7000 Application Integration using HTTP or FTP 00-05-31
11/11
Copyright © 2000 Axis Communications
Axis Communications
Axis is a world leader in the rapidly growing network-attached peripherals industry. Headquartered
in Sweden, Axis designs and manufactures network-attached print servers, network document
servers, CD/DVD servers, camera servers and storage devices based on its ThinServerTM
Technology.
All Axis products leverage
Axis Server Owners Instructions:
| Device Model | Type of Document | Pages | Size | Views | Downloads | Updated |
|---|---|---|---|---|---|---|
247S |
2 | 0.46 Mb | 197 | 44 | 14-05-2026 | |
291 1U |
9 | 108 | 25 | 24-06-2026 | ||
7000 |
25 | 1.11 Mb | 940 | 235 | 16-09-2026 | |
200+ |
107 | 1.87 Mb | 1422 | 256 | 25-07-2026 |