Axis 7000 Uygulama Entegrasyonu - Sayfa 4
Sunucu Axis 7000 için çevrimiçi göz atın veya pdf Uygulama Entegrasyonu indirin. Axis 7000 11 sayfaları. Network document server
Ayrıca Axis 7000 için: Kurulum Kılavuzu (1 sayfalar), Kurulum Bilgileri (1 sayfalar)
Axis Communications AXIS 7000 Application Integration using HTTP or FTP
contains a complete Scan Document page, including an error message. The 302 Moved
Temporarily response means that the scanning has been initiated.
The 302 Moved Temporarily response includes the URL to the scanned image. The
2.
syntax is /image.xxx where xxx is one of pdf, jpg, pcl or tif. The table below lists the
image name and MIME types for the different image types.
Image Type
PDF
TIFF
JPEG
PCL
HTTP/1.0 302 Moved Temporarily
Content-Length: 169
Content-Type: text/html
Location: /image.jpg
<head><title>Moved Temporarily</title></head>
<body><h2>Moved Temporarily!</h2>
</body>
Send a GET request with the URL to the AXIS 7000 to retrieve the image data. The
request would look something like this:
GET /image.jpg HTTP/1.0
Accept: image/jpeg, */*
The AXIS 7000 will now respond by sending you a 200 OK response and the image data.
Error handling
When a request is received the following is verified by the AXIS 7000:
•
A scanner is connected and supported.
•
The scanner or the AXIS 7000 is not busy.
•
The selected profile exists.
•
Users are allowed to do Send-to-Web.
When all of these conditions are met the application will receive an HTTP response stating that the
document has been temporarily moved, along with the URL, to the image itself. However, if some of
the conditions are not met, e.g. the scanner is busy, the response will contain the complete Scan
Document page, including an error message at the top.
Scanning Using MFC
Microsoft Foundation Classes (MFC) offers good support for Internet connections, especially when
it comes to HTTP and FTP. As described above, scanning is performed by sending a POST request
using HTTP. If the operation is successful, the image is returned via a redirect response. The steps
below describe how a scanning job is performed using MFC. If you need more information about
the classes described, see the MFC documentation. The following code sample does not perform any
error handling, as a real application would do. There is a complete example application for Microsoft
Visual C++ available at
Image Name
image.pdf
image.tif
image.jpg
image.pcl
<p>The requested resource has been temporarily moved
to a new location.
</p>
http://www.axis.com/products/axis_7000/
Copyright © 2000 Axis Communications
MIME Type
Application/pdf
Image/tiff
Image/jpeg
Image/pcl
in the Developer section.
4/11
00-05-31