Changes between Version 4 and Version 5 of Ticket #897, comment 6
- Timestamp:
- Jul 20, 2016, 9:25:33 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #897, comment 6
v4 v5 5 5 * Barcode generation: Open source java library Barcode4J (http://barcode4j.sourceforge.net/) uses the Apache License, version 2.0, and allows creation of barcodes using a number of variants and standards, including the required "Code 128". A downside is that there has not been much active development since release of the current version 2.1 2010-12-15. However, since the library was able to produce the needed barcodes, it was decided to use the former in the first version of referral form generation. The library allows several ways to configure the barcode generation, one being use of the Avalon Framework (project now closed), also released under the Apache License, version 2.0. Use of the latter was originally to allow configuration via XML files, but can also be used to configure Barcode4J dynamically. It was therefore included in the solution. 6 6 * Barcode human-readable text: Library Barcode4J allows several alternatives to draw an optional human-readable version of the barcode text over or under the barcode image. However, since the `iText` library also offers these possibilities, it was decided to use the latter via the `PdfUtil` class to enter human-readable text for barcodes. 7 * Production of referral forms from the created PDF files: The intention is that the Adobe Reader application should be used to open a created form batch PDF file, and the final referral forms should be printed from this application. Tests printing the unmodified referral form template PDF files this way, revealed:[[BR]]a. Output of referral form template PDF files saved from !BarTender(r) were identical to those produced by printing directly from the latter program.[[BR]]b. Output of the template PDF file saved from a word processing program (patient info) was NOT identical to the one produced by printing directly from the latterprogram, but differed both in scale and offset at the left and top margin.7 * Production of referral forms from the created PDF files: The intention is that the Adobe Reader application should be used to open a created form batch PDF file, and the final referral forms should be printed from this application. Tests printing the unmodified referral form template PDF files this way, revealed:[[BR]]a. Output of referral form template PDF files saved from !BarTender(r) were identical to those produced by printing directly from the latter program.[[BR]]b. Output of the template PDF file saved from a word processing program (patient info) depended on the print settings:[[BR]]i. ''Actual size'': Output was identical to that produced by printing directly from the word processing program.[[BR]]ii, ''Shrink oversized pages'': Output was NOT identical to the one produced by printing directly from the word processing program, but differed both in scale and offset at the left and top margin. 8 8 9 9 Notes on the PDF templates: