Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > f505c4c5327c360be380fcb0f1cb2d94 > files > 150

auto-multiple-choice-1.4.0-1.2.mga7.armv7hl.rpm

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>AMC-imprime</title><link rel="stylesheet" type="text/css" href="../style.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="home" href="index.html" title="Auto Multiple Choice" /><link rel="up" href="commands.html" title="コマンドマニュアル" /><link rel="prev" href="re03.html" title="AMC-meptex" /><link rel="next" href="re05.html" title="AMC-getimages" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">AMC-imprime</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re03.html">戻る</a> </td><th width="60%" align="center">コマンドマニュアル</th><td width="20%" align="right"> <a accesskey="n" href="re05.html">次へ</a></td></tr></table><hr /></div><div class="refentry"><a id="AMC-imprime"></a><div class="titlepage"></div><div class="refnamediv"><h2>名前</h2><p>AMC-imprime — AMC試験問題用紙を受験者に配布できるように印刷する</p></div><div class="refsynopsisdiv"><h2>概要</h2><div class="cmdsynopsis"><p><code class="command">auto-multiple-choice</code>   imprime
             --sujet <em class="replaceable"><code>subject.pdf</code></em>
             --fich-nums <em class="replaceable"><code>numbers-file.txt</code></em>
             --data <em class="replaceable"><code>data-dir</code></em>
             --methode <em class="replaceable"><code>method</code></em>
            [where-to-print-arguments...]</p></div></div><div class="refsect1"><a id="idm2943"></a><h2>Description</h2><p><span class="command"><strong>AMC-imprime.pl</strong></span>コマンドは選択した試験問題用紙を印刷します。</p><div class="refsect2"><a id="idm2947"></a><h3>印刷内容の指定</h3><p>以下の引数により、印刷対象を指定します:</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="option">--sujet
              <em class="replaceable"><code>subject.pdf</code></em></code></span></dt><dd><p>(<span class="citerefentry"><span class="refentrytitle">AMC-prepare</span>(1)</span>で作成された)試験問題ファイルを設定します。</p></dd><dt><span class="term"><code class="option">--fich-nums
              <em class="replaceable"><code>numbers-file.txt</code></em></code></span></dt><dd><p>印刷する試験問題番号が(各行に一つ)書かれたファイルを指定します。この引数が指定されなければ、すべての試験問題が印刷されます。</p></dd><dt><span class="term"><code class="option">--data
              <em class="replaceable"><code>data-dir</code></em></code></span></dt><dd><p>データファイルがあるディレクトリを指定します(<span class="citerefentry"><span class="refentrytitle">AMC-meptex</span>(1)</span>などを参照してください)。データディレクトリのレイアウトデータベースは一つの試験問題が何ページ目から何ページ目まであるかを知るのに使われます。</p></dd><dt><span class="term"><code class="option">--split</code></span></dt><dd><p>別紙答案用紙を別に印刷します。</p></dd><dt><span class="term"><code class="option">--answer-first</code></span></dt><dd><p>別紙答案用紙が最初に来るようにソートします。</p></dd></dl></div></div><div class="refsect2"><a id="idm2985"></a><h3>印刷方法の指定</h3><p>いくつかの印刷方法が定義されています:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="quote">「<span class="quote"><code class="option">--methode CUPS</code></span>」</span>を用いると、
              <span class="command"><strong>AMC-imprime.pl</strong></span>はCUPSプリンタに印刷します。試験問題ごとに自動ステープルなどができるように1部につきプリントジョブを1件送ります。この方法では、以下のオプションを使用してください:</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="option">--imprimante
                  <em class="replaceable"><code>printer</code></em></code></span></dt><dd><p>印刷するCUPSプリンタ名を設定します。</p></dd><dt><span class="term"><code class="option">--options
                  <em class="replaceable"><code>cups-options</code></em></code></span></dt><dd><p>CUPSオプションを<code class="option">opt1=value1,opt2=value2,...</code>の形式で指定します。</p></dd></dl></div></li><li class="listitem"><p><span class="quote">「<span class="quote"><code class="option">--methode file</code></span>」</span>を用いると、<span class="command"><strong>AMC-imprime.pl</strong></span>は試験問題用紙をファイルに(1部につき1個)出力します。</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="option">--output
                  <em class="replaceable"><code>filename</code></em></code></span></dt><dd><p>出力するファイル名を設定します。<span class="quote">「<span class="quote"><code class="literal">%e</code></span>」</span>というシーケンスがあれば4桁の試験問題番号に置換されます。<em class="replaceable"><code>filename</code></em>が<span class="quote">「<span class="quote"><code class="literal">%e</code></span>」</span>を含んでいない場合、<span class="quote">「<span class="quote"><code class="literal">-%e.pdf</code></span>」</span>という文字列が付け足されます。</p></dd></dl></div></li><li class="listitem"><p><span class="quote">「<span class="quote"><code class="option">--methode command</code></span>」</span>を用いると、<span class="command"><strong>AMC-imprime.pl</strong></span>は試験問題1部ごとに指定したコマンドを使用します。</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="option">--print-command
                  <em class="replaceable"><code>command</code></em></code></span></dt><dd><p>印刷に使用するコマンドを指定します。<em class="replaceable"><code>command</code></em>の文字列は(引用符を使用していても)空白文字の場所で区切られます。<span class="quote">「<span class="quote"><code class="literal">%f</code></span>」</span>というシーケンスは(印刷する試験問題を含んだ)PDFファイル名に置換され、<span class="quote">「<span class="quote"><code class="literal">%e</code></span>」</span>は試験問題番号に置換されます。</p></dd></dl></div></li></ul></div></div><div class="refsect2"><a id="idm3044"></a><h3>その他のオプション</h3><p>他に次のオプションが使用可能です:</p><div class="variablelist"><dl class="variablelist"><dt><span class="term">--extract-with <em class="replaceable"><code>command</code></em></span></dt><dd><p>試験問題PDFからページを抽出するためのコマンドを指定します。現在、<span class="command"><strong>pdftk</strong></span>、<span class="command"><strong>gs</strong></span>または<span class="command"><strong>qpdf</strong></span>が指定可能です。デフォルトは<span class="command"><strong>pdftk</strong></span>ですが、インストールされていなければ<span class="command"><strong>qpdf</strong></span>、<span class="command"><strong>gs</strong></span>の順に使用されます。</p></dd></dl></div></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re03.html">戻る</a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html">上に戻る</a></td><td width="40%" align="right"> <a accesskey="n" href="re05.html">次へ</a></td></tr><tr><td width="40%" align="left" valign="top">AMC-meptex </td><td width="20%" align="center"><a accesskey="h" href="index.html">ホーム</a></td><td width="40%" align="right" valign="top"> AMC-getimages</td></tr></table></div></body></html>