C++打印功能!

本文介绍了Java中的打印技术,主要涉及java.awt.print和javax.print两个包。内容包括基本的打印程序、使用打印设置对话框、打印多页文档、工作于打印服务和属性,以及如何打印用户界面。示例代码展示了一个名为HelloWorldPrinter的类,实现了Printable接口,用于简单的文本打印任务。
摘要由CSDN通过智能技术生成

 DeveloperWork上分享的一篇讲解Java打印技术的文章 和  Oracle上的关于Printing的Guide : 主要用到两个包 java.awt.print and javax.print

  The basic printing operations are represented in the following sections:

  A Basic Printing Program – this section describes the Printable interface and presents a basic printing program.

  Using Print Setup Dialogs– this sections explains how to display the Print Setup Dialog.

  Printing a Multiple Page Document – this section explains how to use pagination for printing a multiple page document.

  Working with Print Services and Attributes ndash; this section teaches you about print services, how to specify the print data format, and how to create print job using the javax.print package.

  Printing

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值