1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
3<html>
4  <head>
5    <meta name="generator" content="HTML Tidy, see www.w3.org">
6    <title>Running the Test Version Software</title>
7    <meta name="GENERATOR" content=
8    "Modular DocBook HTML Stylesheet Version 1.7">
9    <link rel="HOME" title=" LPRng Reference Manual" href=
10    "index.htm">
11    <link rel="UP" title="Testing and Diagnostic Facilities" href=
12    "testing.htm">
13    <link rel="PREVIOUS" title=
14    "Setting Up The Test Version Spool Queues" href="x11663.htm">
15    <link rel="NEXT" title="Index" href="i11720.htm">
16  </head>
17
18  <body class="SECT1" bgcolor="#FFFFFF" text="#000000" link=
19  "#0000FF" vlink="#840084" alink="#0000FF">
20    <div class="NAVHEADER">
21      <table summary="Header navigation table" width="100%" border=
22      "0" cellpadding="0" cellspacing="0">
23        <tr>
24          <th colspan="3" align="center">LPRng Reference Manual: 5
25          Sep 2003 (For LPRng-3.8.22)</th>
26        </tr>
27
28        <tr>
29          <td width="10%" align="left" valign="bottom"><a href=
30          "x11663.htm" accesskey="P">Prev</a></td>
31
32          <td width="80%" align="center" valign="bottom">Appendix
33          C. Testing and Diagnostic Facilities</td>
34
35          <td width="10%" align="right" valign="bottom"><a href=
36          "i11720.htm" accesskey="N">Next</a></td>
37        </tr>
38      </table>
39      <hr align="LEFT" width="100%">
40    </div>
41
42    <div class="SECT1">
43      <h1 class="SECT1"><a name="AEN11691">C.3. Running the Test
44      Version Software</a></h1>
45
46      <p>Set your current directory to the location of the compiled
47      <var class="LITERAL">Test Version</var> executables. Execute
48      the various executables using <tt class=
49      "FILENAME">./cmd</tt>, or set <var class="LITERAL">.</var>
50      <span class="emphasis"><i class="EMPHASIS">as the first entry
51      in the PATH</i></span> . If it is not the first entry, then
52      the standard system executables will be used.</p>
53
54      <ol type="1">
55        <li>
56          <p>Run <tt class="FILENAME">./checkpc</tt>. this will
57          print out the various values for the spool queues in the
58          <var class="LITERAL">Test Version</var> setup. If the
59          <var class="LITERAL">t1</var>, <var class=
60          "LITERAL">t2</var>,... spool queues are not displayed,
61          make sure that the LPD_CONF environment variable is set
62          correctly and that you are using the <var class=
63          "LITERAL">Test Version</var> executable.</p>
64        </li>
65
66        <li>
67          <p>Run <var class="LITERAL">./checkpc -f</var>. This will
68          fix up the (deliberately introduced) problems in the
69          spool queues.</p>
70        </li>
71
72        <li>
73          <p>Next, run <var class="LITERAL">./lpd -F</var> in one
74          window, and then run <var class="LITERAL">./lpq -a</var>
75          in another window. This will check that the server is
76          working.</p>
77        </li>
78
79        <li>
80          <p>You can now amuse yourself by sending jobs, setting up
81          permissions checking, and other chores.</p>
82        </li>
83
84        <li>
85          <p>When everything appears to be working correctly, you
86          can then remove the <var class="LITERAL">Test
87          Version</var> flag from the <tt class=
88          "FILENAME">src/Makefile</tt>, recompile, and install the
89          <b class="APPLICATION">LPRng</b> software.</p>
90        </li>
91      </ol>
92      <br>
93      <br>
94    </div>
95
96    <div class="NAVFOOTER">
97      <hr align="LEFT" width="100%">
98
99      <table summary="Footer navigation table" width="100%" border=
100      "0" cellpadding="0" cellspacing="0">
101        <tr>
102          <td width="33%" align="left" valign="top"><a href=
103          "x11663.htm" accesskey="P">Prev</a></td>
104
105          <td width="34%" align="center" valign="top"><a href=
106          "index.htm" accesskey="H">Home</a></td>
107
108          <td width="33%" align="right" valign="top"><a href=
109          "i11720.htm" accesskey="N">Next</a></td>
110        </tr>
111
112        <tr>
113          <td width="33%" align="left" valign="top">Setting Up The
114          Test Version Spool Queues</td>
115
116          <td width="34%" align="center" valign="top"><a href=
117          "testing.htm" accesskey="U">Up</a></td>
118
119          <td width="33%" align="right" valign="top">Index</td>
120        </tr>
121      </table>
122    </div>
123  </body>
124</html>
125
126