473,563 Members | 2,867 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Scanner input for PHP

I have a scanner connected to my server running Apache.

I would like to have a script that allows me to get a pdf file directly
from the scanner.

Is this do-able?

Jul 17 '05 #1
4 3706
ka****@gmail.co m wrote:
I have a scanner connected to my server running Apache.

I would like to have a script that allows me to get a pdf file directly
from the scanner.

Is this do-able?


You'll have to check with your scanner's manufacturer. You'll need to
see if they have a developer's toolkit available for the scanner, and if
so, if it has PHP extensions.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Jul 17 '05 #2
"karimt" wrote:
I have a scanner connected to my server running Apache.

I would like to have a script that allows me to get a pdf file
directly
from the scanner.

Is this do-able?


doubtful. PHP is not a recognized language for this sort of thing. I
think you can find a scanner model with api (windows, Linux, etc.)
written in a non-php language. Then you can develop a simple app in
that language that would save the scanner out put to files in a
directory. Then you can write a php app that reads the scans for
files in that directory.

--
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbforumz.com/PHP-Scanner-...ict224255.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbforumz.com/eform.php?p=773031
Jul 17 '05 #3
steve,
"karimt" wrote:
> I have a scanner connected to my server running Apache.
>
> I would like to have a script that allows me to get a pdf file
> directly
> from the scanner.
>
> Is this do-able?


doubtful. PHP is not a recognized language for this sort of thing. I
think you can find a scanner model with api (windows, Linux, etc.)
written in a non-php language. Then you can develop a simple app in
that language that would save the scanner out put to files in a
directory. Then you can write a php app that reads the scans for
files in that directory.


Not really correct. PHP is based off of C, of which, you can build a
PHP Extension from that. Basically what he should look for is an API
utilizing C or C++ and build an extension to work with PHP. Then load
it within the script he needs to keep other people from accessing it.

Mike
Jul 17 '05 #4
> Not really correct. PHP is based off of C, of which, you can build a
PHP Extension from that. Basically what he should look for is an API
utilizing C or C++ and build an extension to work with PHP. Then load
it within the script he needs to keep other people from accessing it.


By load it in the script I am talking about loading the module within
the script instead of including it with the PHP Extensions that are
within the ini or statically linked.

Mike
Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1889
by: cricket | last post by:
i need help with Python lexical scanner for this assignment, i have create a scanner using the Flex scanner generating tool. The requirements of the scanner are as follows: 1) Accept input via stdin (standard input). 2) Return output via stdout (standard output) 3) Recognize tokens of the Python programming language 3.1) Tokens are...
4
4509
by: teddysnips | last post by:
I posted yesterday about a project I'm involved in to build a login application using a barcode scanner. I've solved most of the problems, but one remains. The client want to disable keyboard input (except at some remote sites where there won't be a scanner). The session "knows" whether that site should be keyboard enabled, but...
1
11198
by: Louis Cypher | last post by:
I'm working on an application (OEM) using c# that uses input from a keyboard and a USB Barcode Scanner. I need to be able to identify keystrokes from the barcode scanner and remove them from the message queue, regardless of what application has focus. I can identify the keystrokes and input device by registering for raw input...
7
25880
by: DemonWasp | last post by:
I've been having some trouble getting the Scanner class to operate the way I'd like. I'm doing some fairly basic file IO and I can't seem to get the class to load the last line/token any way I try. First, I tried using the following: File InFile=new File("input.txt"); Scanner In=new Scanner(InFile);
4
20182
by: Gerry19 | last post by:
Hi All, I'm trying to monitor data passed from a USB Barcode scanner but I can't find any decent code examples of what I need to do, including any references I need to include. I know I need to use RegisterRawInputDevices & WM_INPUT but have no idea where to start. Any help greatly appreciated.
14
2404
tolkienarda
by: tolkienarda | last post by:
hi all i read the scanner class documentation from sun's website and i thought i would have some fun trying to write a program that stores a line from the user to var input and then parses it on white space then depending on what the new string is i will do somthing. i think there is an easier way than what i am trying but i am just trying to get...
3
2936
by: thename1000 | last post by:
Hi, I'm trying to create this output: Input team 1's name: Team 1 Input team 1's ranking: 90.4 etc.
3
2386
by: Dameon99 | last post by:
Hi.. Im experiencing a weird error I dont know how to fix. I have a scanner object and whenever I use nextInt, anything above 3 causes the program to crash saying and links me to this line of the class: (one I added all the asteriss to. // If we are at the end of input then NoSuchElement; // If there is still input left then...
2
23563
by: CRGoose | last post by:
For my class i have to write a program that has a method to combine integer time input values into a single double value, return that to a method that sums the values, then return that to a main. The method names i have written have to be exactly as they are shown, and i cannot for the life of me figure out how to call the "public static double...
0
7950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6255
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.