メインコンテンツへスキップ

バーコードを作成する Make

このモジュールの機能

PDF4meバーコードを作成する スタンドアロンのバーコードを生成するか、 QR 任意のテキストまたはデータ文字列からコードを作成し、ソースなしの画像ファイルとして返します。 PDFファイルアップロードは不要です。以下の6つの形式から選択できます。 QR Code、 Code128、 そして Data Matrix結果をクラウドストレージに保存したり、メールに添付したり、ドキュメントテンプレートにマッピングしたりできます。バーコードを追加するのとは異なり、 PDF 既存の文書にスタンプを押すモジュールとは異なり、このモジュールはバーコード画像を独立して作成し、シナリオ内のどこでも使用できるようにします。

関連ブログ記事
この機能に関するブログ記事はまだありません。近日公開予定です。
その間、PDF4me ブログを閲覧して、あらゆるプラットフォームのチュートリアルやワークフローをご覧ください。
ブログをご覧ください →

認証 API リクエスト​

毎 PDF4me モジュール Make 有効な 繋がり. 作成または選択して、 PDF4me API シナリオがバーコード生成要求を安全に認証できるようにするためのキー。

見逃してはならない重要な事実​

ソースなし PDF またはファイル入力が必要です
このモジュールはテキストのみを受け取ります。ファイル、ファイル名、 PDF バイナリ。エンコードするデータとフォーマットを指定すると、モジュールはバーコード画像を返します。既存のバーコードにバーコードを埋め込む必要がある場合は、 PDFバーコードを追加するには、 PDF その代わり。
出力はファイルであり、 Base64 弦
このモジュールは、ファイル名を含む Name フィールドとバイナリコンテンツを含む Document フィールドという 2 つのマッピング可能なフィールドとして画像を返します。これら 2 つのフィールドを次のモジュールにマッピングして、バーコードを Google Drive または Dropbox にアップロードしたり、メールに添付したり、 HTTP リクエスト。
テキストを非表示にするのは、 Code 128
モジュールヒントには正確に「バーコードの下に表示されるテキストを非表示にします。(適用対象は Code 128)。" のために QR Code、 Data Matrix、 Aztec、 PDF417、 そして HanXin人間が読めるテキスト行が表示されない場合、このトグルは設定値に関係なく効果がありません。
PDF4meのバーコード作成モジュールで、接続設定をtestuser01@pdf4me.com、バーコードテキストフィールドに例「PROD-2024-00456」とヒント「バーコードにエンコードするテキスト」、バーコードタイプのドロップダウンをQRコードに設定しヒント「生成するバーコードタイプを選択してください」、テキスト非表示を「いいえ」に設定しヒント「バーコードの下に表示されるテキストを非表示にする(Code 128のみ適用)」を表示します。

必要な入力項目は、エンコードするテキスト、バーコードのフォーマット、そしてオプションでラベルを非表示にするかどうかの3つだけです。 Code 128 バーコード。

パラメータ​

必須: 接続情報、バーコードテキスト、バーコードタイプの3つすべてを指定する必要があります。テキストの非表示はオプションです。

パラメータ必須その機能例
ConnectionRequiredPDF4me API connection. Click Add and paste your API key if connecting for the first time.Your PDF4me connection
Barcode TextRequiredThe data to encode in the barcode: a URL, product code, order ID, or any alphanumeric string. Hint: "Text to be encoded in the Barcode."PROD-2024-00456
Barcode TypeRequiredFormat of the barcode to generate. Options: QR Code, Data Matrix, Code128, Aztec, HanXin, PDF417. Hint: "Select barcode type to be generated."QR Code
Hide TextOptionalWhether to suppress the human-readable text shown below the barcode. Applies only to Code 128, with no effect on other formats. Defaults to No.No

出力​

このモジュールは2つのフィールドを返します。どちらのフィールドも、シナリオ内の後続のモジュールでマッピングに使用できます。

分野タイプ内容物
NameFile nameFile name of the resulting barcode image. Map it together with Document into the next module, for example to upload or email the file.
DocumentFile (binary data)Content (binary data) of the resulting barcode image. Map it together with Name into the next module.

クイックセットアップ​

  1. 追加 PDF4me -> バーコードを作成する あなたの Make シナリオ。
  2. 選択 繋がり (またはクリック) 追加 あなたと一緒に作成する API 鍵)。
  3. エンコードするテキスト、URL、またはIDを入力してください バーコードテキスト 分野。
  4. 選択してください バーコードの種類 ドロップダウンメニューから: QR Code リンクと一般的なデータについては、 Code128 小売用および配送用ラベル。
  5. シナリオを保存して実行します。出力には以下が含まれます。 Name そして Document: バーコード画像ファイル。アップロード、メールへの添付、または他のモジュールへのマッピングが可能です。

ワークフローの例​

ワークフローの例Common Make scenario patterns using Create Barcode.
埋め込む QR 注文確認メールに記載されているコード
  1. ウェブフックは、ShopifyまたはWooCommerceストアから新しい注文を受信します。
  2. バーコードタイプを設定したバーコード実行を作成します QR Code バーコードテキストは、注文追跡URLにマッピングされます。
  3. Gmailは、名前とドキュメントから直接マッピングされたバーコード画像を添付した注文確認メールを送信します。
  4. 顧客はスキャンします QR 配送状況を追跡するためのコードは、受信トレイから直接入手できます。
生成する Code128 新規在庫品目用のラベル
  1. Googleスプレッドシートの在庫台帳に新しい行が追加されると、このシナリオがトリガーされます。
  2. バーコードタイプを設定したバーコード実行を作成します Code128 そして、シートからSKUにマッピングされたバーコードテキスト。
  3. 1 HTTP モジュール POSTバーコード画像ファイルをラベル印刷サービスに送信する API。
  4. 新規入荷品には、倉庫内で自動的に物理的なバーコードラベルが印刷されます。
ユニークなものを追加する QR イベントチケットにコードを送信する前に
  1. TypeformまたはEventbriteでの新規イベント登録が、このシナリオをトリガーします。
  2. バーコードを作成すると、 QR Code バーコードテキストとして固有のチケット検証IDを使用します。
  3. バーコード画像はチケットに挿入されます PDF 文書生成モジュールを介してテンプレートを作成する。
  4. Gmailはスキャン可能なパーソナライズされたチケットを送信します QR 参加者へのコード。

よくある質問​

Does this module need a source PDF or any file input?+
No. This module takes only text: you provide what to encode and which format to use. There is no file input of any kind. If you want the barcode embedded inside an existing PDF document, use the Add Barcode to PDF module instead.
What format does the output come in?+
The module returns the barcode as an image file across two fields: Name holds the file name and Document holds the binary content. Map both together into the next module to save it to cloud storage, attach it to an email, or pass it to an HTTP request.
Which barcode formats can I generate?+
Six formats are available via the Barcode Type dropdown: QR Code, Data Matrix, Code128, Aztec, HanXin, and PDF417. QR Code is the most widely scanned by mobile devices. Code128 is the standard for retail and shipping linear barcodes. Data Matrix is compact and suited for small labels. HanXin follows the Chinese national 2D barcode standard.
Does the Hide Text option work for all barcode types?+
No. The module hint states it applies only to Code 128. For QR Code, Data Matrix, Aztec, PDF417, and HanXin: which have no human-readable text line beneath them: the setting has no effect regardless of what value you choose.
How do I get the barcode into a PDF after generating it?+
Use the Add Barcode to PDF module in a subsequent step: it accepts an existing PDF and stamps a barcode directly onto the pages you specify. Alternatively, map the returned image file into a Word or HTML document template before converting to PDF.

関連モジュール​

ヘルプが必要な場合​