19 lines
1.0 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1 id="lprm">lprm</h1>
<p>删除打印队列中的打印任务</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>lprm命令</strong> 用于删除打印队列中的打印任务。尚未完成的打印机任务会被放在打印机贮列之中,这个命令可用来将常未送到打印机的任务取消。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">lprm(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code class="language-bash">-E与打印服务器连接时强制使用加密
-P指定接受打印任务的目标打印机
-U指定可选的用户名。</code></pre>
<h3 id="参数">参数</h3>
<p>打印任务:指定需删除的打印任务号。</p>
<h3 id="实例">实例</h3>
<p>将打印机hpprint中的第102号任务移除</p>
<pre><code class="language-bash">lprm -Phpprint 102</code></pre>
<p>将第101号任务由预设打印机中移除</p>
<pre><code class="language-bash">lprm 101</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->