|
Capturix ScanShare API
This information should be
only used by DEVELOPERS
to be used with Capturix Scanshare Version
2.05 or higher
If
you want to integrate Capturix ScanShare with your own applications you can
use Capturix Scanshare API.
Just
create a HTML that redirects to Scanshare server the following commands:
http://<server>[:<port>]/api.x?result=<result
page>&exe=<application to be run>¶m=<parameters>&format=<image
file format>
Parameters:
server
– Address of the ScanShare server (eg: 192.168.1.1)
port
– Listening Port of the Scanshare server (if the default port is used, the port
is not required)
result
– URL that will be opened when scanshare finishes the scan process. (http:// is
not required)
exe
– Custom application that will handle the image file generated by Capturix
ScanShare
param
- Parameter the be used by the exe:
-file- will be replaced by the scan image filename
format
– Image file format:
jpeg,bmp,png,pdf,tif One of this words should be placed
Example:
http://192.168.1.1/api.x?result=www.capturix.com&exe=copy¶m=C:\sample.jpeg&format=jpeg
Using a different port:
http://192.168.1.1:1001/api.x?result=www.capturix.com&exe=copy¶m=C:\sample.jpeg&format=jpeg
This URL
will scan a image and then copy the file to C:\sample.jpeg
Recomendations:
We
recommend to copy executable files to ScanShare directory if you will use exe <>
copy.
|