LPRng Reference Manual: 3 May 2004 (For LPRng-3.8.27) | ||
---|---|---|
Prev | Appendix C. Testing and Diagnostic Facilities | Next |
Set your current directory to the location of the compiled Test Version executables. Execute the various executables using ./cmd, or set . as the first entry in the PATH . If it is not the first entry, then the standard system executables will be used.
Run ./checkpc. this will print out the various values for the spool queues in the Test Version setup. If the t1, t2,... spool queues are not displayed, make sure that the LPD_CONF environment variable is set correctly and that you are using the Test Version executable.
Run ./checkpc -f. This will fix up the (deliberately introduced) problems in the spool queues.
Next, run ./lpd -F in one window, and then run ./lpq -a in another window. This will check that the server is working.
You can now amuse yourself by sending jobs, setting up permissions checking, and other chores.
When everything appears to be working correctly, you can then remove the Test Version flag from the src/Makefile, recompile, and install the LPRng software.