Device::ParallelPort::drv - Standard pacakge to be imported by all drivers
(Not Applicable) - do not use this directly, use another driver
* Device::ParallelPort::drv::auto * Device::ParallelPort::drv::linux * Device::ParallelPort::drv::parport * Device::ParallelPort::drv::win32
This driver is the base class recommended for all Parallel Port Drivers. It is not useful in itself. Although against proper OO design, this particular module does not work by itself.
A special system of device names has been deviced. Basically we are trying to be compatible with most systems, and not force people to learn something new.
You can enter parallel port device in a number of ways
- N Unix style, where 0 is the first port - lptN Windows style, where 1 is the first port - 0xNNN Direct hardware location
This is totally dependent on the driver being used. For example the script driver would not use these but the auto driver does.
Now these are not necessarily supported in all operating systems. By default this base driver converts lpt notation into lp notation, it then optionally converts all lp notation into a hardware location. However what would not work for parport control, which is generally done as parport device, mapping the same number as the lp above (check that?), in that case passing the direct hardware location is pointless.
Copyright (c) 2002,2004 Scott Penrose. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Scott Penrose scottp@dd.com.au, http://linux.dd.com.au/
Device::ParallelPort
To install Device::ParallelPort, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::ParallelPort
CPAN shell
perl -MCPAN -e shell install Device::ParallelPort
For more information on module installation, please visit the detailed CPAN module installation guide.