public int print(Graphics g, PageFormat pf, int pgIndex) {
if (pgIndex > 0) {
return Printable.NO_SUCH_PAGE;
} else {
// "aware" client code can detect that its been passed a
// PrinterGraphics and could theoretically print
// differently. I think this is more likely useful than
// a problem.
applet.printAll(g);
return Printable.PAGE_EXISTS;
}
}
PSPrinterJob.java 文件源码
java
阅读 31
收藏 0
点赞 0
评论 0
项目:OpenJSharp
作者:
评论列表
文章目录