renamed IPRINT_API to CPRINT_API