Skip to main content

Placeholders

Placeholders are variables that BarcodeOCR replaces with a current value when it saves a file, for example the date or a counter. This lets you add information to file names that is not contained in the barcode.

Where you can use placeholders​

You enter placeholders in the Naming and sorting step:

  • Add to the file name as a prefix and Add to the file name as a suffix: the text you enter, including placeholders, is added in front of or behind the file name. Example: a timestamp in front of every file name, so that the files are sorted chronologically in File Explorer.
  • Replacing text in the output file name: a string in the barcode is replaced with a placeholder or another string. Add each replacement with Add to list.
FindReplace withBarcode textAfter replacement
DATE%TODAY%SCAN-DATESCAN-01.01.16

Available placeholders​

PlaceholderSample valueDescription
%YEAR%2016The current year
%MONTH%01The current month
%DAY%01The current day
%TODAY%01.01.16The current date
%TIMESTAMP%09-12-06-032The current timestamp down to the millisecond (hh-mm-ss-fff). Recommended for sorting in the file system.
%OLDFILENAME%Scanner-01929284File name of the input file
%MD5%3c4cbcc7b0b7422b2c0e99ecfebdab14MD5 hash of the output file
%PGCNT%2Number of pages in the output document
%LOCALCOUNTER%15Consecutive number per configuration, increased by 1 for each saved document
%GLOBALCOUNTER%628Consecutive number per BarcodeOCR installation, increased by 1 for each saved document