Screenshot Preview

jPDFPrint

经 Qoppa Software - 产品类型: 构件 / Java类

‏请注意: 除非另有说明,此为英语产品

*

Print Acrobat PDF documents directly from your Java programs or applets with or without user intervention. jPDFPrint is a Java library that can load and print PDF documents. jPDFPrint is built on top of Qoppa Software's proprietary PDF technology so there is no need for any third party software or drivers. Simply call the library from your Java programs and documents can be sent to the printer. You can print documents from files, URLs or Java input streams. jPDFPrint integrates easily into applications, applet, J2EE application servers or any other server environment.

 *

With jPDFPrint, your application or server can print PDF documents automatically and efficiently from local files, URL's and even Java input streams. This allows you to print documents that are created at runtime or that are served from web servers or database servers. jPDFPrint is built around a main object, com.qoppa.pdfPrint.PDFPrint that provides printing functions. To print a PDF file, the host application will typically create a new instance of the object and then tell the object to print. In the simplest case, only two lines are needed to print a PDF file.

jPDFPrint Main Features

  • Print any PDF documents.
  • Print with or without user intervention (silent print).
  • Print documents from files, URLs or Java input streams.
  • Support for PDF 1.7 (latest PDF format).
  • No third party software or drivers necessary.
  • Flexible printing options.
  • Tested on JDK 1.4.2 and above.

jPDFPrint Printing Silently
jPDFPrint provides the ability to print PDF documents without showing the printer dialog or any other user intervention. This is implemented by providing a version of its print method that takes a printer name as its first parameter.

jPDFPrint Print Settings
When printing with jPDFPrint, the printing methods take a PrintSettings object as a parameter. This parameter is used to control the way that jPDFPrint will print each page. The object has several properties that can be set by the calling application:

  • AutoRotate - This setting tells PDFPrint to detect the orientation of the PDF document and to print appropriately to the printer page. i.e. If the document is in landscape mode, the library will send it to the printer in that mode. Setting this to false will always use portrait mode when sending to the printer.
  • ShrinkToPage - This setting tells PDFPrint to shrink the page to fit within the printer's margin if the document page is larger than the printer page. This option has no effect if the document page is smaller than the printer page.
  • ExpandToPage - This setting tells PDFPrint to expand the page to fit within the printer's margin if the document page is smaller that the printer page. This option has no effect if the document page is larger than the printer page.
  • CenterInPage - This setting tells PDFPrint to center the page within the printer's page. This option only has an effect when the document page is smaller than the printer page and the ExpandToPage option is set to false.

注意

还未完成翻译的产品说明, 我们提供了Google 翻译的连结方便您使用. 但请注意, 自动翻译有时候可能会有翻译错误.
强力驱动
在Firefox 和Opera 需要Flash.

产品搜索

输入搜索词:

为什么从ComponentSource购买?

ComponentSource 提供独特的全球国际服务, 在世界各地共有超过1,000,000开发者客户.

更多讯息 | 关于我们