Paperless-ngx - How to enable barcodes for document separation

Hello,

I’d likle to use barcodes for separating documents when scanning several documents at once.
In paperless-ngx documentation I found that:

  • If you run paperless on docker, paperless.conf is not used. Rather, configure paperless by copying necessary options to docker-compose.env.
  • If you are running paperless on anything else, paperless will search for the configuration file in these locations and use the first one it finds:
  • The environment variable PAPERLESS_CONFIGURATION_PATH
  • /path/to/paperless/paperless.conf
  • /etc/paperless.conf
  • /usr/local/etc/paperless.conf

My question is, which is the right option and how then to open and manipulate it in my TrueNasScale web interface?

I think from there on it should be relatively straight forward, to set using Barcodes up with the documentation page:

Barcodes

PAPERLESS_CONSUMER_ENABLE_BARCODES=<bool>

Enables the scanning and page separation based on detected barcodes. This allows for scanning and adding multiple documents per uploaded file, which are separated by one or multiple barcode pages.

For ease of use, it is suggested to use a standardized separation page, e.g. here.

If no barcodes are detected in the uploaded file, no page separation will happen.

The original document will be removed and the separated pages will be saved as pdf.

See additional information in the advanced usage documentation
Defaults to false.

Thank you very much!
Marco

There is this option:

Where I have set the following:

image

But it still does not work :confused:

Any Ideas?

You’re doing it correctly. It does work on my machine.

How are you testing if it is working? Did you use the PATCH T barcode from https://www.alliancegroup.co.uk/downloads/patch-code-t.pdf?

Thank you very much, this worked!

Patch T is the correct one used for Document or Batch separation as also stated here

I just tried “Patch 1” and “Patch 2” from this document: https://www.alliancegroup.co.uk/downloads/patches-for-printing-on-a4-paper.pdf
thinking it should also work with those, but I was wrong :sweat_smile:

Just for completeness, can paperless-ngx also use these other patchcodes somehow - can you have any additional functionality with Patch 1,2,3 or 4?

The setting PAPERLESS_CONSUMER_BARCODE_STRING controls what barcode is used for splitting. It’s PATCHT by default.

There isn’t any default behaviour for the other Patch barcodes.