Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
<?xml version="1.0"?>
<configuration>
	<tempDirectory>D:/temp</tempDirectory>
	<workingThreads>4</workingThreads>
	<debug>false</debug>
	<filters></filters>
 
	<unit name="DokumentyKosztowe">
		<source>
			<directory path="D:/BarcodeReader/PiP/DokumentyKosztowe/input" recursive="true"
				pattern="(^.*\.[pP][dD][fF]$)" />
		</source>
		<barcodes multiple="false">
			<barcode name="Faktury" type="CODE_128" pattern="(^[0-9]{7,8}$)" skipNextIdentical="true" />
		</barcodes>
		<classify>
			<class name="Faktury">
				<start>
					<barcode>Faktury</barcode>
				</start>
				<end>
					<barcode>Faktury</barcode>
					<lastpage/>
				</end>
				<indexes>
					<index name="Index1" type="barcode">Faktury</index>
				</indexes>
				<destination split="false">
					<filename>${Index1}.pdf</filename>
					<directory path="D:/Praca/BarcodeReader/PiP/DokumentyKosztowe/Faktury" flat="false" />
				</destination>
			</class>
		</classify>
		<actions>
			<success>
				<move>
					<destination>
						<filename>${filename}</filename>
						<directory path="D:/Praca/BarcodeReader/PiP/DokumentyKosztowe/success"/>
					</destination>
				</move>
			</success>
			<!-- Akcje jeżeli wystąpił jakikolwiek błąd -->
			<error>
				<copy><move>
					<destination>
						<resize scale="1.5" />
						<filename>${filename}</filename>
						<directory path="D:/Praca/BarcodeReader/PiP/DokumentyKosztowe/error"/>
					</destination>
				</copy>move>
			</error>
		</actions>
	</unit>
</configuration>

...