DEVELOPER'S ZONE 

 SHOP 


 SEARCH 

 LIVE HELP 
[logo]
 Products
 Demos
 Stories
 Solutions
 Support
 Download
 Customers
 Partners
 Company
 Sitemap

 Overview


 1003 Loan Application (live)


 ACORD Insurance


 Business Graphics


 Chess Viewer


 DiType Examples


 DocBook Service


 Dynamic Barcodes


 Dynamic W-9s


 Examples with sources


 FO Test Suite


 FO Tips & Tricks


 Hammer Art


 How It Works


 HP "Design & Print"


 Legal Documents


 Oracle Dynamic Reports


 XML RG Report Generator


 PDF Examples


 Sample Books


 W3C Specifications


 Proceedings



Download Now!





RenderX offers all our software on a trial basis so that our prospects can easily see why thousands of customers have selected XEP to meet their needs.

Why not download a trial version today and see for yourself!

Barcodes

Barcodes are simple to represent as black rectangles separated by white spaces, but they have proved to be difficult to generate accurately. Bar and space widths are often computed in a complex manner and check digits complicate the picture. Our approach uses XSLT to implement the computational part and SVG to draw the image. Using this technique, it becomes possible to integrate barcodes into XSL-based workflows in a natural way.

The following barcode types are available:

Barcode generation templates can be called directly from within XSL stylesheets with no need for special barcode fonts or third-party image-drawing software. Compared to other methods of producing bar codes in XSL FO, this technique has obvious advantages:

  • printed output is the sharpest possible since it is a vector graphics;
  • image size is reduced;
  • every aspect of the barcode pattern can be controlled - stroke widths, colors, lengths, etc.

The links below lead to examples and XSLT stylesheets for several popular barcode types. Each stylesheet exports a named template that takes a string as input and creates an SVG image of the barcode that represents that string. Additional parameters specify details of code format and presentation. Resulting SVG images can be used as embedded graphics in XSL FO and rendered to PDF and PostScript with RenderX XEP.

All generators except for Australian 4-State Barcode can control common barcode properties:

  • width and height of the bars;
  • size of vertical and horizontal 'quiet zone' (amount of blank space left around the actual barcode to ensure reliable scanning);
  • text and font settings for human-readable representation of barcode data (text string printed under the bars).

For Australian 4-State Barcode, visual parameters are strictly defined by specification and therefore need not be parameterized.

More details about stylesheet usage and parameters can be found in the comments inside stylesheets themselves.

Each generator description also features a pair of sample XML/XSL files, and an online demo. To use the demo, enter a valid value string into the form field and click "Barcode It!" button. A PDF file will be returned.

News

September 17, 2008
RenderX at Oracle
OpenWorld 2008


Visit us in Booth #3730 in
San Francisco at Moscone
West September 21-24.

More news...

August 19, 2008
XEP 4.13 released

'Transpromo' and 'watermark'
extensions and bug fixes.

More news...

July 25, 2008
DiType 2.2 Release

PDF and PS backend
configuration options,
improved TTF, faster
rendering of tables.

More news...

June 20, 2008
DiType 2.1 Release

SVG backend, XML Catalogs,
updated style sheets for DocBook
and DITA, unicode annotations,
external resources' size limitation.

More news...