|
Lines 1913-1920
Link Here
|
| 1913 |
|
1913 |
|
| 1914 |
<programlisting>:if=/usr/local/libexec/ifhp:</programlisting> |
1914 |
<programlisting>:if=/usr/local/libexec/ifhp:</programlisting> |
| 1915 |
|
1915 |
|
| 1916 |
<para>That is it. You can type <command>lpr plain.text</command> and |
1916 |
<para>That is it. You can type <command>lpr <replaceable>plain.text</replaceable></command> and |
| 1917 |
<filename>lpr whatever.ps</filename> and both should print |
1917 |
<filename>lpr <replaceable>whatever.ps</replaceable></filename> and both should print |
| 1918 |
successfully.</para> |
1918 |
successfully.</para> |
| 1919 |
</sect3> |
1919 |
</sect3> |
| 1920 |
|
1920 |
|
|
Lines 1940-1947
Link Here
|
| 1940 |
we convert the DVI file into &postscript;. The command sequence |
1940 |
we convert the DVI file into &postscript;. The command sequence |
| 1941 |
goes like this:</para> |
1941 |
goes like this:</para> |
| 1942 |
|
1942 |
|
| 1943 |
<screen>&prompt.user; <userinput>dvips seaweed-analysis.dvi</userinput> |
1943 |
<screen>&prompt.user; <userinput>dvips <replaceable>seaweed-analysis.dvi</replaceable></userinput> |
| 1944 |
&prompt.user; <userinput>lpr seaweed-analysis.ps</userinput></screen> |
1944 |
&prompt.user; <userinput>lpr <replaceable>seaweed-analysis.ps</replaceable></userinput></screen> |
| 1945 |
|
1945 |
|
| 1946 |
<para>By installing a conversion filter for DVI files, we can skip |
1946 |
<para>By installing a conversion filter for DVI files, we can skip |
| 1947 |
the hand conversion step each time by having |
1947 |
the hand conversion step each time by having |
|
Lines 1949-1955
Link Here
|
| 1949 |
Now, each time we get a DVI file, we are just one step away from |
1949 |
Now, each time we get a DVI file, we are just one step away from |
| 1950 |
printing it:</para> |
1950 |
printing it:</para> |
| 1951 |
|
1951 |
|
| 1952 |
<screen>&prompt.user; <userinput>lpr -d seaweed-analysis.dvi</userinput></screen> |
1952 |
<screen>&prompt.user; <userinput>lpr -d <replaceable>seaweed-analysis.dvi</replaceable></userinput></screen> |
| 1953 |
|
1953 |
|
| 1954 |
<para>We got <application>LPD</application> to do the DVI file |
1954 |
<para>We got <application>LPD</application> to do the DVI file |
| 1955 |
conversion for us by specifying |
1955 |
conversion for us by specifying |
|
Lines 3076-3082
Link Here
|
| 3076 |
<literal>rattan</literal> and <literal>bamboo</literal>. If, for |
3076 |
<literal>rattan</literal> and <literal>bamboo</literal>. If, for |
| 3077 |
example, a user on <hostid>orchid</hostid> typed:</para> |
3077 |
example, a user on <hostid>orchid</hostid> typed:</para> |
| 3078 |
|
3078 |
|
| 3079 |
<screen>&prompt.user; <userinput>lpr -P bamboo -d sushi-review.dvi</userinput></screen> |
3079 |
<screen>&prompt.user; <userinput>lpr -P bamboo -d <replaceable>sushi-review.dvi</replaceable></userinput></screen> |
| 3080 |
|
3080 |
|
| 3081 |
<para>the <application>LPD</application> system on <hostid>orchid</hostid> |
3081 |
<para>the <application>LPD</application> system on <hostid>orchid</hostid> |
| 3082 |
would copy the job to the spooling |
3082 |
would copy the job to the spooling |
|
Lines 3248-3254
Link Here
|
| 3248 |
multiple times, or from submitting the same file multiple times in |
3248 |
multiple times, or from submitting the same file multiple times in |
| 3249 |
one job like this:</para> |
3249 |
one job like this:</para> |
| 3250 |
|
3250 |
|
| 3251 |
<screen>&prompt.user; <userinput>lpr forsale.sign forsale.sign forsale.sign forsale.sign forsale.sign</userinput></screen> |
3251 |
<screen>&prompt.user; <userinput>lpr <replaceable>forsale.sign forsale.sign forsale.sign forsale.sign forsale.sign</replaceable></userinput></screen> |
| 3252 |
|
3252 |
|
| 3253 |
<para>There are many ways to prevent this abuse (including ignoring |
3253 |
<para>There are many ways to prevent this abuse (including ignoring |
| 3254 |
it) which you are free to explore.</para> |
3254 |
it) which you are free to explore.</para> |
|
Lines 4014-4020
Link Here
|
| 4014 |
available from other hosts. The following command sequence |
4014 |
available from other hosts. The following command sequence |
| 4015 |
demonstrates this:</para> |
4015 |
demonstrates this:</para> |
| 4016 |
|
4016 |
|
| 4017 |
<screen>&prompt.user; <userinput>lpr -P rattan myfile</userinput> |
4017 |
<screen>&prompt.user; <userinput>lpr -P rattan <replaceable>myfile</replaceable></userinput> |
| 4018 |
&prompt.user; <userinput>rlogin orchid</userinput> |
4018 |
&prompt.user; <userinput>rlogin orchid</userinput> |
| 4019 |
&prompt.user; <userinput>lpq -P rattan</userinput> |
4019 |
&prompt.user; <userinput>lpq -P rattan</userinput> |
| 4020 |
Rank Owner Job Files Total Size |
4020 |
Rank Owner Job Files Total Size |
|
Lines 4048-4057
Link Here
|
| 4048 |
|
4048 |
|
| 4049 |
<indexterm><primary>&tex;</primary></indexterm> |
4049 |
<indexterm><primary>&tex;</primary></indexterm> |
| 4050 |
<para>For example, the following command prints a DVI file (from the |
4050 |
<para>For example, the following command prints a DVI file (from the |
| 4051 |
&tex; typesetting system) named <filename>fish-report.dvi</filename> |
4051 |
&tex; typesetting system) named <filename><replaceable>fish-report.dvi</replaceable></filename> |
| 4052 |
to the printer named <literal>bamboo</literal>:</para> |
4052 |
to the printer named <literal>bamboo</literal>:</para> |
| 4053 |
|
4053 |
|
| 4054 |
<screen>&prompt.user; <userinput>lpr -P bamboo -d fish-report.dvi</userinput></screen> |
4054 |
<screen>&prompt.user; <userinput>lpr -P bamboo -d <replaceable>fish-report.dvi</replaceable></userinput></screen> |
| 4055 |
|
4055 |
|
| 4056 |
<para>These options apply to every file in the job, so you cannot mix |
4056 |
<para>These options apply to every file in the job, so you cannot mix |
| 4057 |
(say) DVI and ditroff files together in a job. Instead, submit the |
4057 |
(say) DVI and ditroff files together in a job. Instead, submit the |