【Postal BarCodeMacでバーコード【短時間に大量に作る】
郵便バーコードやクーポン用等バリアブルな値で
大量にバーコードを発行する場合
ローランの『SakuraBar PLUS X』[LINK]
が一番扱いやすいとは思います。
(Serial Barcode[LINK]もありますがこれは連番のみでバリアブルには作れない)
バーコードROBO[LINK]については『組版ROBO』を併用する事で可能になります。(合計で7万円弱ですからかなりリーズナブルです)
商用ベースで大量にバーコードを作る場合で
しかも
Macで!となると非常に選択の幅がありませんが
tec-itのtbarcodex[LINK]を使うと
大量なバーコードを短時間に生成出来ます。
(800ドル超とちょっと高価ですが)
毎月大量のバーコードで組版する場合や
DMでバーコード割引に対応する量のバーコードを作るのに
向いています。
(本来は組み込み用でプログラムして使うタイプですね)
まずはこちら[LINK]のページから
ソフトウェアをダウンロードします。
64bit用と通常ユニバーサルと2種類ありますので
自分の環境にあう方をダウンロードしましょう。
ダウンロードするとパッケージになりますので
インストールします。
インストールが終われば準備完了です。
こんな感じでルートにディレクトリが出来ます。
サンプルのプロジェクトも用意されていますが
ここではコマンドラインを使って
バーコードを出力する方法をメモしておきます。
詳しいオプションはドキュメントを見てもらうとして
かなり細かく指定してバーコードを生成できます。
ヘルプは以下
$ /tecit/TBarCode9/bin/TBarCodeX -?
tbarcode creates barcodes in PostScript(R), PCL(R) or various image
formats.
It can also filter PostScript or PCL files to replace certain escape
sequences with barcodes.
Usage: tbarcode [OPTIONS] [BARCODE_SETTINGS]
Options may be specified as
* POSIX style options (short options, e.g. "-o FILE"),
* GNU style options (long options, e.g. "--output=FILE") or
* DOS style options (e.g. "/o=FILE" or "/output=FILE").
Short options are case sensitive.
If a long option shows an argument as mandatory, then it is mandatory
for the equivalent short option also. Similarly for optional arguments.
General options:
-o, --output=FILE Write output to FILE.
--inifile=FILE Set pathname of ini-file to FILE.
--license=DIRECTORY Set pathname of directory with license file.
--globalxoffset=X Offset for x position is set to X (in mm).
--globalyoffset=Y Offset for y position is set to Y (in mm).
Filter options:
--filter Filter data from stdin.
--stream=TYPE Type of input stream ('PS' or 'PCL')
The type is detected automatically if this option
is missing.
--escapebegin=STRING STRING identifies the begin of a barcode
escape sequence (default: "$_tbcs").
--escapeend=STRING STRING identifies the end of a barcode
escape sequence (default: "$_tbce").
--insert=MODE Set insert mode for barcode data to MODE
("beforeline", "afterline", "beforestring"
or "afterstring").
--insertpattern=TEXT TEXT is a pattern that describes in which line
of the input stream the barcode will be placed.
--linebyline Filter data line by line.
--pclreset Create reset command for PCL files
-S, --SAP This flag should be set in SAP(R) environments.
--easybar=STATE Turn EasyBar sequence handling on or off;
STATE = "on" or "off" (default).
Compatibility options:
--v1format All barcode escape sequences will be interpreted
as TBarCode v1.x barcode escape sequences.
If this flag is set in the ini-file, command
line parameters will be interpreted as
TBarCode v1.x parameters.
Error message and debug options:
--errorfile=FILE Save error messages in FILE.
--syslog Log messages using syslog.
--nostderr Do not write messages to stderr.
--trace=LEVEL Set trace level to LEVEL ("error" (default),
"warning", "info" or "verbose").
--onerror=ACTION Ignore barcode errors (except missing data)
or write error message.
ACTION = "ignore" or "message" (default).
--onnodata=ACTION Ignore missing barcode data or write error
message.
ACTION = "ignore" or "message" (default).
Informative output:
-s, --barcodesettings Display options for barcode settings.
-?, --help Display this help and exit.
--shorthelp Display a short help text.
--version Output version information and exit.
Examples:
# Create PostScript file with Code128 barcode with content "abc1234":
tbarcode --output=barcode.eps --barcode=20 --data="abc1234"
or
tbarcode -obarcode.eps -b20 -d"abc1234"
# Create PostScript PDF417 barcode and print output to standard
# output:
tbarcode --barcode=55 --data="abc1234"
# Filter file input.ps and write result to output.ps:
tbarcode --filter
# Show detailed help text:
tbarcode --help
# Show available barcode settings:
tbarcode --barcodesettings
See www.tec-it.com for more information.
-bオプションはQRバーコードを含めた
100種類を超えるバーコードをサポートしていますので
主要なバーコードはこれでばっちりです
(ばっちり....って死語かなぁ)
例えば 以下の方法でグレースケールの郵便バーコードのEPSを作ります。
通常
/tecit/TBarCode9/bin/TBarCodeX -o /tecit/TBarCode9/bin/barcode.eps -b 76 -h 3.6 -d "2439999" --colormode=GRAY -t hide -m 0.6
64bit版
/tecit/TBarCode9/bin/TBarCodeX64 -o /tecit/TBarCode9/bin/barcode.eps -b 76 -h 3.6 -d "2439999" --colormode=GRAY -t hide -m 0.6
このように『barcode.eps』が生成されます。
後は工夫次第で色々なバーコードを生成出来ます。
一見オプションの構成が複雑ですが
Barcode Studio[LINK]の
オプション内容と同一ですので
少し色々と試してみれば使えるようになると思います。
| 固定リンク
「BarcodePostal」カテゴリの記事
- [郵便バーコード]料金受取人払い【その2】(2010.08.31)
- [郵便バーコード]料金受取人払い【その1】(2010.08.30)
- [郵便バーコード]無料で使えるフォント(商用可)(2010.08.10)
- [Barcode]郵便バーコード用フォント【非商用向き】(2010.08.06)
- [郵便バーコード]ポスタル・バーコード作成ツール(フォント)(2010.07.30)
この記事へのコメントは終了しました。
コメント