{"id":1989,"date":"2015-06-04T13:45:54","date_gmt":"2015-06-04T13:45:54","guid":{"rendered":"http:\/\/www.bardecode.com\/en1\/?p=1989"},"modified":"2015-06-04T13:46:46","modified_gmt":"2015-06-04T13:46:46","slug":"splitting-a-pdf-into-separate-pages","status":"publish","type":"post","link":"https:\/\/www.bardecode.com\/en1\/splitting-a-pdf-into-separate-pages\/","title":{"rendered":"Splitting a PDF into separate pages"},"content":{"rendered":"<p>More Tips and tricks with BardecodeFiler&#8230;<\/p>\n<h2>Splitting a PDF into separate pages named after the last bar code value<\/h2>\n<p>This is a guide to splitting a PDF document into separate pages, renamed according to the last bar code value found using BardecodeFiler.<\/p>\n<p>You can download BardecodeFiler from <a href=\"http:\/\/www.bardecode.com\/en1\/quick-download\/\">here<\/a>.<\/p>\n<p>Step 1: Start BardecodeFiler and click on the <strong>Options<\/strong> button.<\/p>\n<p>Step 2: Reset your settings back to default &#8211; Under Import, Export &amp; Reset Settings click on the <strong>Reset<\/strong> button.<\/p>\n<p>Step 3: Go to Splitting\/Mode and change the mode to &#8220;<strong>Split at fixed intervals<\/strong>&#8221; and also tick the option &#8220;<strong>Process images with no barcode<\/strong>&#8220;.<\/p>\n<p>Step 4: Go to Reformat Barcode Values\/Reformat Table and on the first line of the table enter the following in the left hand side: <strong>.*<\/strong> and the following on the right hand side: <strong>{0}<\/strong>. The .* matches any pattern of bar code and the {0} assigns the %VAL1 token with the entire value of the barcode. We can now use this token in our file naming template.<\/p>\n<p>Step 5: Go to Output Files\/Name Template and enter the following %PAGE_%VAL1. This will create file names based on a 3 digit page number followed by the value of the last barcode found in the document.<\/p>\n<p>Variations:<\/p>\n<p>Maybe every page has a unique barcode and you don&#8217;t want to use a barcode from a previous page if the application doesn&#8217;t find one. Well in this case just change Step 5 to enter %PAGE_%VALUES and if the page doesn&#8217;t contain a barcode then you will get a file called something like 001_NOVALUE. Then you can manually correct the NOVALUE files.<\/p>\n<p>Alternatively you could un-tick the &#8220;<strong>Process images with no barcode<\/strong>&#8221; from Step 3 and allow these pages to go to the exceptions folder for manual handling.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>More Tips and tricks with BardecodeFiler&#8230; Splitting a PDF into separate pages named after the last bar code value This is a guide to splitting a PDF document into separate pages, renamed according to the last bar code value found using BardecodeFiler. You can download BardecodeFiler from here. Step 1: Start BardecodeFiler and click on<\/p>\n<p><a href=\"https:\/\/www.bardecode.com\/en1\/splitting-a-pdf-into-separate-pages\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":314,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[196,18,76],"tags":[],"class_list":["post-1989","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bardecodefiler","category-knowledge-base","category-settings"],"_links":{"self":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts\/1989"}],"collection":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/comments?post=1989"}],"version-history":[{"count":1,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts\/1989\/revisions"}],"predecessor-version":[{"id":1990,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts\/1989\/revisions\/1990"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/media\/314"}],"wp:attachment":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/media?parent=1989"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/categories?post=1989"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/tags?post=1989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}