如何在window.print()中删除基于javascript的默认网址,页数和日期?

时间:2015-10-07 12:23:49

标签: javascript

    PdfReaderContentParser parser = new PdfReaderContentParser(pdfReader);
    TextExtractionStrategy strategy;
    StringBuffer sb = new StringBuffer();

    for (int i = 1; i <= pdfReader.getNumberOfPages(); i++)
    {
        strategy = parser.processContent(i, new SimpleTextExtractionStrategy());
        sb.append(strategy.getResultantText());
    }
    String text = sb.toString();
  

如何在window.print()中删除基于javascript的默认网址,网页计数和日期?   浏览器打印设置不仅使用基于代码的删除

0 个答案:

没有答案