Merge "Complete implementation of the advanced print options." into klp-dev