- ページ 3
サーバー Axis 7000のPDF アプリケーションの統合をオンラインで閲覧またはダウンロードできます。Axis 7000 11 ページ。 Network document server
Axis 7000 にも: インストレーション・マニュアル (1 ページ), インストレーション情報 (1 ページ)
Axis Communications AXIS 7000 Application Integration using HTTP or FTP
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 done from almost any environment that has an
HTTP client.
Send-to-Web
One of the scanning methods of the AXIS 7000 is Send-to-Web which enables scanning directly into
a Web-browser. This is done through the Scan Document page of the AXIS 7000 internal web
pages by following the steps described below. There are two different approaches. The first is based
on starting the scanning directly. The second method reserves the scanner first and then initiates the
actual scanning from the AXIS 7000 control panel. The same method as when scanning from a
Web-browser will be used when you scan from an application. The application will communicate
with the AXIS 7000 using HTTP.
Scan directly:
1. Select a profile from the profile list.
2. Click the Scan button.
Reserve:
1. Select a profile from the profile list.
2. Click the Reserve button.
3. Initiate the scanning from the AXIS 7000 control panel.
Application Example
To initiate a scanning job from the application a POST request is sent to the AXIS 7000. It contains
the name of the page, the name of the selected profile and the name of the selected function.
Follow the steps below to scan an image to your application using your AXIS 7000.
Send a HTTP request with the following headers:
1.
POST /user/scan/scan.shtml HTTP/1.0
Content-type: application/x-www-form-urlencoded
Content-length: 40
page=scan&profileName=Color+low&scanNow=
The last row contains the parameters to the AXIS 7000.
page=scan
profileName=Color+low
scanNow
A space is not a valid character in an HTTP parameter therefore it is replaced by "+" in
the profileName (e.g. "Color low" becomes "Color+low").
If scanNow is replaced with reserve then the AXIS 7000 and the scanner are reserved, and
the user is required to press the Send button on the AXIS 7000 control panel. This is the
same as clicking the Reserve button on the Scan Document page.
The AXIS 7000 will respond with either status 302 Moved temporarily or 200 OK. If
you receive the 200 OK response then an error has occurred; e.g. the scanner could be busy.
The reason for using 200 OK is that the 302 Moved temporarily message includes a
way to send a reference to the image which the 200 OK do not. The 200 OK response
- necessary for the AXIS 7000 to process the request.
- tells the AXIS 7000 which profile to use.
- immediate scan. No value is needed.
3/11
Copyright © 2000 Axis Communications
00-05-31