Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Executing a command from the lpsrvr file.
Ref. No. QNX.000010115
Category(ies) Utilities
Issue Is there a way to execute a command from the /etc/config/lpsrvr print file?
Solution Yes, this can be done by using the "ok" key.

e.g.

ok=/bin/command

This can be added anywhere in your lpsrvr file.

For more information on keys see http://qdn.qnx.com/support/docs/qnx4/user_guide/printspool.html under "The spool setup file".