Custom Report Writer: Barcode List Example

When using the Custom Formatted Reports — you define the field where the barcode is stored, and then using the Report Formatter, output the data in the format required to output in barcode format.

Example Record:

=LDR  01301cam a22003137i 4500
=001 99153751199103941
=005 20190220161617.0
=008 180912s2017\\gw\a\\\\\000\1\per\
=010 \$a 2018371559
=020 \$a9783943147568
=020 \$a3943147568
=035 \$a(OCoLC)1055569145
=040 \$aDLC$beng$erda$cDLC$dOCLCO$dOCLCF
=100 1\$6880-01$aIsmāʻīlī, Muḥammad Taqī,$eauthor.
=880 1\$6100-01$aاسماعيلى، محمد تقى.‎
=245 10$6880-02$aShīrīnʹtar az talkh! /$cṭanznivishtahʹhā-yi Muḥammad Taqī Ismāʻīlī (Mīrzā Taqī Khān).
=880 10$6245-02$aشيرين‌تر از تلخ! : /‎$cطنزنوشته‌هاى (محمد تقى اسماعيلى (ميرزا تقى خان.‎
=250 \$6880-03$aChāp-i avval.
=880 \$6250-03$aچاپ اول.‎
=264 \1$6880-04$aKöln :$bIntishārāt-i Furūgh,$c2017.
=880 \1$6264-04$aKöln :$bانتشارات فروغ،‎$c‪2017‬.
=300 \$a110 pages :$billustrations ;$c20 cm
=336 \$atext$btxt$2rdacontent
=337 \$aunmediated$bn$2rdamedia
=338 \$avolume$bnc$2rdacarrier
=500 \$aHumor.
=546 \$aIn Persian.
=650 \0$aPersian wit and humor.
=650 \7$aPersian wit and humor.$2fast$0(OCoLC)fst01058550

Barcode should be derived from the 001 where the value here: 99153751199103941 should convert to: 537-511-991. So, using the Format options, output would be set to:

{001}.regex(“(=001.{5})(.{3})(.{3})(.{3})(.{5})”,”$2-$3-$4″)