Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/d/devc-par.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/d/devc-par.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/d/devc-par.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/d/devc-par.html on line 8
Parallel port manager (QNX Neutrino)
|
You must be root to start this driver. |
devc-par [options] &
Neutrino
x86
- -b port
- Which BIOS port to use (1-4). Don't use this option with
the -p option.
- -p address
- Base I/O address of the parallel port. The I/O port
address may be specified in hexadecimal form (e.g.
0x140) or octal form (e.g. 0140) as well as in
decimal. Don't use this option with the -b option.
- -N name
- Register the parallel devices using name as the name
(defaults to par, giving /dev/par).
- -O size
- Size of the output buffer in bytes (default 1000).
- -o nodaemon
- Don't call procmgr_daemon() to make the driver run in the background. Use this option if you need to know when the devc-par device terminates.
- -P priority
- Priority of the writer agent task. Because the writer
agent polls the parallel ports, it should run at a lower priority than
most other tasks.
The default priority is 9.
- -s number
- Number of times to check a busy printer before
resorting to a 100 ms sleep. (Default is -1, always sleep if the
printer is busy.)
The devc-par manager is a parallel port manager for
QNX Neutrino. It can support up to 4 parallel ports.
The devc-par driver polls the hardware to detect if a character has
been sent.
If you don't specify any ports (using the -p or
-b options), devc-par tries to interrogate the BIOS
area to determine the number of parallel ports detected by the BIOS.
If no ports are found, devc-par silently exits.
You can use the -p option to override the use of the BIOS data area
(at 0040:0008).
The only translation of output is the mapping of a newline
character to a CR/LF if the
OPOST flag is set.
Reading from devc-par works the same as reading from
/dev/null.
Start devc-par, defaulting for all parallel ports found
by the BIOS:
devc-par &
Start devc-par with only the first parallel port:
devc-par -p 0x3f8 &
Or:
devc-par -b 1 &
Connecting Hardware
in the Neutrino User's Guide
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/d/devc-par.html on line 178
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/d/devc-par.html on line 178