Home » December, 2009
  • Create a Datamatrix 2D Barcode with Coldfusion and Barcode4j
    Last few days I had quite nice time trying to create barcodes. This post here, explains how to create a datamatrix barcode with java4less and it helps me to present the project before the deadline. So Thank You Stillnet Studios. Now here is another way to create Datamatrix 2D barcodes with barcode4j, an open source project.You need :1. Barcode4j (download here)2. Administrative access to Coldfusion MX or JavaLoader CFC (download here)3. (more..)
    5 Comments Post Comment Friday 25.12.2009 by Saman W Jayasekara
  • Format Unicode string for InDesign. A Coldfusion UDF.
    I was generating InDesign JSX files with Coldfusion, to create pdfs that happened to have Unicode characters in it. That is not a difficult task, but rather boring one, until I realize, I cannot use Unicode characters inside InDesign JavaScript file. JSX only accept Unicode characters by their "glyph id number" or "code point" or whatever the name you geeks prefer to call it. (more..)
    4 Comments Post Comment Thursday 24.12.2009 by Saman W Jayasekara
  • Dreamweaver hangs at start up? Here is another remedy.
    Dreamweaver have this bad habit of freezing itself once in a while, specially at the start up like a stubborn old horse. I tried all sort of remedies adobe suggested in here, even the most common one, uninstall and reinstall everything, which normally took hour or two of my time every Monday morning. Finally I found this remedy which so far working pretty well for me. (more..)
    1 Comment Post Comment Thursday 24.12.2009 by Saman W Jayasekara
  • Read PDF Text in ColdFusion with PDFBox
    Last week I had to extract text content from around 1 TB worth of PDF files and then match each pdf with database records. First I tried CFPDF method to strip text from pdf, and as usual, it worked wonderfully. But it was bit too slow for my massive load of files – average 2 pdf per a second. I needed soemthing faster. After trying out all sorts of methods, I came across this excellent open source java PDF library call PDFBox. (more..)
    3 Comments Post Comment Thursday 24.12.2009 by Saman W Jayasekara
  • Remove JavaScript and other unwanted codes from a ColdFusion String
    It is quite simple to inject a tags using your form and do something you absolutely don't want to see happening in your webpage. It won't take much, except little bit of luck and a html enabled form, like a FCK Editor enabled form that we all like to use time to time. Here I assembled a simple function to remove all those codes from a given string, so you can clean your input data, before you send it to the database or save anywhere else. (more..)
    0 Comment Post Comment Thursday 24.12.2009 by Saman W Jayasekara
  • Talking to inDesign server with ColdFusion
    I was trying to connect to inDesign server with ColdFusion today, realize there are no code examples in CFM. There are php, java and other language examples in adobe site, but not CFM. This is not the first time I noticed that. When adobe released Spry framework before CF 8, Adobe labs most graciously released php and .net examples, but there were no CFM either. (more..)
    5 Comments Post Comment Saturday 05.12.2009 by Saman W Jayasekara
  • Extract Links from a HTML page
    Here is a simple ColdFusion function to extract URL and link Titles form a given string. This outputs an array of links, URLs and Titles. (more..)
    0 Comment Post Comment Saturday 05.12.2009 by Saman W Jayasekara
  • Google AJAX Search API with Coldfusion
    Google Ajax API is a neat way to create your own little search function inside your webpage, using Ajax. But with few lines of codes, we can do the same inside ColdFusion too. In this example, I'm going to search within this site. So I went to Google advance search and build up my query string for the keyword "coldfusion". (more..)
    1 Comment Post Comment Saturday 05.12.2009 by Saman W Jayasekara
  • Search
  • Teapot : ColdFusion Blog Application Software
  • Kakapo : ColdFusion Exception Manager App
  • An Unofficial ColdFusion Developer Salary Survey
  • Topics
  • Barcode
  • ColdFusion
  • inDesign Server
  • JavaScript
  • Railo
  • Shipping API
  • Teapot Blog
  • This and That
  • Recent Posts
  • Solved – Dreamweaver [The following Translators were not loaded due to errors]
  • DNSPark DDNS update with ColdFusion
  • IIS 7 Generate 404 Error on Large File Upload.
  • Talking to External inDesign server with ColdFusion
  • Create QR Barcode with ColdFusion and Zxing
  • Via Twitter
  • Not only must Justice be done; it must also be seen to be done, in all good dramas. But in courts justice only must to be done.
    Follow me on Twitter
  • Archive
  • 2012 March (2)
  • 2011 November (3)
  • 2011 October (1)
  • 2011 September (1)
  • 2011 July (1)
  • 2011 January (2)
  • 2010 December (4)
  • 2010 November (1)
  • 2010 October (5)
  • 2010 September (4)
  • 2010 August (2)
  • 2010 July (1)
  • 2010 June (3)
  • 2010 May (5)
  • 2010 April (1)
  • 2010 February (1)
  • 2010 January (1)
  • 2009 December (8)
  • 2009 November (2)


  • rss
Powered by Teapot ColdFusion Blog