[cut]

カットの実行をプリンターに指示します。

パラメーター

Parameter

Description

feed

このパラメーターが存在する場合、カットする前に用紙送りをするようプリンターを制御します。値は不要です。
これはデフォルトの動作です。

nofeed

このパラメーターが存在する場合、カットする前に用紙送りをしないようにプリンターを制御します。値は不要です。

partial

このパラメーターが存在する場合、パーシャルカット(一部を残したカット)を実行するようプリンターを制御します。(プリンターがパーシャルカットをサポートする場合)。値は不要です。
これはデフォルトの動作です。

full

このパラメーターが存在する場合、フルカットを実行するようプリンターを制御します。(プリンターがフルカットをサポートする場合)。値は不要です。

Feed と NoFeed

ほとんどのプリンターでは、印刷ヘッドの少し上に自動カッターが取り付けられています。
つまり、紙を切ると実際に最後に印刷された出力の数ミリ上を切ることができます。
この距離は、プリンターモデルにより異なります。
この違いを補うために、通常プリンターはカットを実行する前にカッターと印刷ヘッド位置間分の用紙送りを実行します。
なお、この feed 指定時の用紙送りを回避したい場合は nofeed パラメーターを指定してください。

Full と Partial Cut

パーシャルカットを行うと、印刷されたドキュメントとロール紙の間の一部を残してカットが行われます。
これはデフォルト設定になり、手で簡単に分離でき、またカット後にドキュメントが床に落ちないようにする方法です。
ただし、キオスク用途など一部の環境では、フルカットにより用紙を完全にカットすると便利です。
フルカットが必要な場合は、 full パラメーターを指定してください。

注釈

すべてのプリンターがパーシャルカットとフルカットの両方をサポートしているわけではありません。
1つのカット方法のみをサポートするプリンターの場合、 partial または full パラメーターが存在するかどうかに関係なく、サポートしているカット方法にて実行されます。

サンプル

入力

これは、[cut] コマンドのみを使用した簡単なStar マークアップの例です。

Cut Example

\[cut\: feed\]
Cut with feed
Cut with feed
Cut with feed
Cut with feed
Cut with feed
Cut with feed
[cut: feed]\
\
\[cut\: partial\]
Cut with feed and partial
Cut with feed and partial
Cut with feed and partial
Cut with feed and partial
Cut with feed and partial
Cut with feed and partial
[cut: partial]\
\
\[cut\: full\]
Cut with feed and full
Cut with feed and full
Cut with feed and full
Cut with feed and full
Cut with feed and full
Cut with feed and full
[cut: full]\
\
\[cut\: nofeed\; partial\]
Cut with nofeed and partial
Cut with nofeed and partial
Cut with nofeed and partial
Cut with nofeed and partial
Cut with nofeed and partial
Cut with nofeed and partial
[cut: nofeed; partial]\

\[cut\: feed\; partial\]
Cut with feed and partial
Cut with feed and partial
Cut with feed and partial
Cut with feed and partial
Cut with feed and partial
Cut with feed and partial
[cut: feed; partial]\
\
\[cut\: nofeed\; full\]
Cut with nofeed and full
Cut with nofeed and full
Cut with nofeed and full
Cut with nofeed and full
Cut with nofeed and full
Cut with nofeed and full
[cut: nofeed; full]\

\[cut\: feed\; full\]
Cut with feed and full
Cut with feed and full
Cut with feed and full
Cut with feed and full
Cut with feed and full
Cut with feed and full
[cut: feed; full]
\
\[cut\:\]
Cut with feed
Cut with feed
Cut with feed
Cut with feed
Cut with feed
End
[cut:]

出力 58mm幅

これは、Star マークアップシステムを利用して生成した出力結果をmC-Print2 58mm(2inch)プリンターに送信した場合の結果です。

../../_images/cut_58mm.jpg

出力 80mm幅

これは、Star マークアップシステムを利用して生成した出力結果をmC-Print3 80mm(3inch)プリンターに送信した場合の結果です。

../../_images/cut_80mm.jpg