Skip to content

Read Barcode Action: readBarcode

The readBarcode action is used to extract barcode data from a specific range of pages in a PDF file. This is helpful for applications like inventory management, shipping, and document tracking.

Example: A shipping department needs to extract barcodes from pages 1 to 3 of a shipping manifest PDF file.

Steps to Configure:

  1. Add a new step.
  2. Select Set a Variable Value from the Action dropdown.
  3. Enter a variable name in Element Key (e.g., BarcodeData). This variable will store the extracted barcode data.
  4. Click on Form, select Functions, and choose PDF File Handler Functions.
  5. In the Cmd field, select readBarcode and provide the following parameters:
    • FPath: Specify the path to the PDF file from which the barcode data will be read (e.g., C:\Shipping\Manifest.pdf).
    • Start: Enter the starting page number of the range to scan for barcodes (e.g., 1).
    • End: Enter the ending page number of the range to scan for barcodes (e.g., 3).
  6. Click Save.
scrn-read-barcode-command-tabular-view
Tabular View
scrn-read-barcode-command-card-view
Card View

Outcome on execution:

  • Barcode data is extracted from the specified pages of the PDF file.
  • The data is stored in the variable defined in the Element Key field for use in subsequent steps.

    Ensure barcode quality. They should be clear and scannable.

  • This variable can be referenced in subsequent steps of the automation process using the syntax ${VariableName} (e.g., ${BarcodeData}).

Back To Top