@@ -30,10 +30,11 @@ import javax.print.attribute.standard.PrinterName; /* * @test * @bug 8032693 + * @key printer * @summary Test that lpstat and JDK agree whether there are printers. */ public class CountPrintServices { public static void main(String[] args) throws Exception {