This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* License: GPL-3.0+ | |
*/ | |
.weekly-link { | |
/*border-left: 3px solid rgba(0,0,0,.8);*/ | |
border-left: 3px solid rgba(255, 160, 0, 1); | |
padding-left: 2em; | |
padding-right: 2em; | |
margin-bottom: 2em; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfset jarsPath = expandPath('/java/barcode4j/') /> | |
<!--- Path where the necessary jar files are located (downloadable from https://www.dropbox.com/s/skl9fwky2n7mnjr/java-files-barcode4j.zip?dl=0) ---> | |
<cfset libraryList = arrayToList( directoryList(jarsPath, false, 'array', '*.jar') ) /> | |
<cfset configBuilder = createObject('java', 'org.apache.avalon.framework.configuration.DefaultConfigurationBuilder', libraryList) /> | |
<cfset barcodeUtil = createObject('java', 'org.krysalis.barcode4j.BarcodeUtil', libraryList) /> | |
<cfset grayImageType = createObject('java', 'java.awt.image.BufferedImage').TYPE_BYTE_GRAY /> | |
<!--- create custom config. See http://barcode4j.sourceforge.net/2.1/symbol-ean-13.html ---> | |
<cfset configXml = '<barcode> |