Bug fixes and enhancements from ACTPrinter 4.0.2