C.3. Running the Test Version Software

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.

  1. 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.

  2. Run ./checkpc -f. This will fix up the (deliberately introduced) problems in the spool queues.

  3. Next, run ./lpd -F in one window, and then run ./lpq -a in another window. This will check that the server is working.

  4. You can now amuse yourself by sending jobs, setting up permissions checking, and other chores.

  5. 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.