compression and printing subsets