code: public void setPrint(String subtype, boolean printstate) {
          PdfDictionary usage = getUsage();
          PdfDictionary dic = new PdfDictionary();
          dic.put(PdfName.SUBTYPE, new PdfName(subtype));
          dic.put(PdfName.PRINTSTATE, printstate ? PdfName.ON : PdfName.OFF);
          usage.put(PdfName.PRINT, dic);
      }
docs: Specifies that the content in this group is intended for
  use in printing
  @param subtype a name specifying the kind of content controlled by the group;
  for example, <B>Trapping</B>, <B>PrintersMarks</B> and <B>Watermark</B>
  @param printstate indicates that the group should be
  set to that state when the document is printed from a viewer application