> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Document とバッチの分割

> Scanning Station で、スキャン時のバッチとDocumentの命名方法および分割方法を設定します。

バッチとDocumentの分割は、次の 2 か所で設定できます。

* **バッチタイプの場合** — [Batch Type Wizard](/ja/vantage/documentation/scanning-station/interface/batch-type-wizard) でバッチタイプを作成するとき、または後で [Batch Type Properties](/ja/vantage/documentation/scanning-station/interface/batch-type-properties-dbox) ダイアログの **Batch Options** タブで設定します。
* **個々のバッチの場合** — [Options](/ja/vantage/documentation/scanning-station/interface/options-dialog-box) ダイアログの **Batch Options** タブで設定します。

<div id="batch-separation">
  ## バッチ区分
</div>

<div id="batch-naming-scheme">
  ### バッチ名の命名規則
</div>

**Naming Scheme...** をクリックして **Batch Name** ダイアログを開き、新しいバッチ名に使用するテンプレートを設定します。

バッチ名には、固定テキストと動的トークンを組み合わせることができます。トークンはルール内で山かっこ (`<>`) で囲んで表され、山かっこの外側にあるテキストはそのまま使用されます。使用できるトークンは次のとおりです。

* 現在時刻
* 現在の日付
* バッチタイプ
* 自動採番 — 既定では、一意のバッチ識別子を使用します。その識別子が割り当てられていたバッチを削除しても、識別子が再利用されることはありません。
* 登録パラメーター

**例:** `Batch_<Time>` を使用すると、各新規バッチには `Batch_` という接頭辞に現在時刻を続けた名前が付けられます。

<div id="when-to-create-a-new-batch">
  ### 新しいバッチを作成するタイミング
</div>

**Create new batch** オプションを使用して、スキャン中に Scanning Station が新しいバッチを開始するタイミングを選択します。

| オプション                               | 動作                          |
| :---------------------------------- | :-------------------------- |
| **Never**                           | すべての画像が 1 つのバッチにまとめられます。    |
| **Each time scanning is initiated** | スキャンを開始するたびに、新しいバッチが作成されます。 |
| **Every n pages**                   | 各バッチには *n* ページが含まれます。       |

<div id="document-separation">
  ## Document の分離
</div>

<div id="document-naming-scheme">
  ### Documentの命名規則
</div>

**Naming Scheme...** をクリックして **Document 名** ダイアログを開き、新しいDocument名に使用するテンプレートを設定します。構造はバッチの場合と同じで、山括弧内がトークン、その外側が固定テキストです。

使用可能なトークン:

* 現在時刻
* 現在の日付
* バーコード値
* 自動採番
* バッチ名

**例:** `Document_<Time>` を使用すると、新しい各Documentには接頭辞 `Document_` に現在時刻を続けた名前が付けられます。

<div id="when-to-create-a-new-document">
  ### 新しいDocumentを作成するタイミング
</div>

スキャン中に Scanning Station がいつ新しいDocumentを開始するかを選ぶには、**Create new document** オプションを使用します。

* **Never** — スキャンした画像はすべてバッチ内に保持され、新しいDocumentは作成されません。
* **Every n pages** — 各Documentは *n* ページで構成されます。
* **For images separated by...** — 区切りが検出されるたびに、新しいDocumentが作成されます。
  * **Blank pages** — [Empty Page Detection](/ja/vantage/documentation/scanning-station/interface/empty-page-detection) ダイアログで検出パラメーターを設定します (**Options...** をクリック) 。
  * **Barcodes** — **Barcode Options** ダイアログで設定します (**Options...** をクリック) 。バーコード種別と値を指定するか、次のいずれかの一括指定を使用します。
    * **Any type** — サポートされている任意のバーコードで新しいDocumentを作成します。
    * **Any type (except post barcodes)** — **Any type** と同じですが、郵便バーコードを対象外にするため、検出が高速になります。

バーコードの値には正規表現構文を使用できます。`*` は任意の文字列に一致し、`?` は任意の1文字に一致します。

<Note>
  **QR Code**、**Aztec**、**DataMatrix**、**Code 39 without asterisk** は明示的に指定する必要があります。**Any type** または **Any type (except post barcodes)** を選択しても、これらは検出されません。
</Note>

<div id="delete-separation-pages">
  ### 分割用ページの削除
</div>

区切りとして使用された空白ページまたはバーコード付きページを削除するには、**分割用ページの削除**を選択します。

<div id="related-topics">
  ## 関連トピック
</div>

* [空白ページ検出設定ダイアログ](/ja/vantage/documentation/scanning-station/interface/empty-page-detection)
* [バッチ、Document、ページの操作](/ja/vantage/documentation/scanning-station/operator/working-with-batches)
* [バッチタイプのプロパティ ダイアログ](/ja/vantage/documentation/scanning-station/interface/batch-type-properties-dbox)
* [対応しているバーコード種別](/ja/vantage/documentation/scanning-station/appendix/supported-barcode-types)
* [インターフェイス](/ja/vantage/documentation/scanning-station/interface/interface)
