On Tuesday 24 September 2002 3:41 pm, fliptop wrote:
> On Tue, 24 Sep 2002 at 13:24, Geraint Jones opined:
>
> GJ:I'm trying to get the output from a barcode scanner into my CGI script.
> What I GJ:would like to see is the barcode going straight into a text box
> in my GJ:browser. I am using Device::SerialPort to read the output which
> works fine as GJ:a normal Perl script, but I don't know how to allow Perl
> CGI scripts to GJ:access my /dev/ttyS1 port. Any help on this matter would
> be greatly GJ:appreciated.
>
> you may have a permission problem.  does the user your webserver runs as
> have permission to read from /dev/ttyS1?

Probably not. How do I go about permitting Apache to see ttyS1?

Bob's suggestion to use a wedge type scanner is the best option, but one that 
I don't have since the powers above won't buy me a new scanner, and I don't 
want to fork out my own cash since the program is for the college I work for 
;-) Instead I have to use some old serial scanner that used to be connected 
to an Acorn! Perhaps, after I show them I can effectively use a scanner 
within the program they will buy some nice new wedge scanners....
-- 
Geraint Jones


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to