Archive for the 'Adobe Acrobat' Category

Converting Adobe Designer Static forms to Acrobat PDF Forms

In Ted Padova’s post, he said,

Adobe Designer 8 supports two different types of forms: Static forms and Dynamic forms. If a form is created as a static form you can easily convert the form in Acrobat 8 to a PDF form.

and he give the steps on how to convert Adobe Designer forms to Acrobat PDF Forms.

This let me thought that I have also done this kind job before, but I did not rely on Adobe Acrobat, just rely iTextSharp, I have used it in my demo software FormServer, and it also have a online demo, Fill and Save PDF Form online, in fact they are the clone of commercial software.
Here is some features about FormServer,

  • support automatically convert static PDF forms created by Adobe Designer to Acrobat Form.
  • support save data to PDF Forms without Adobe Acrobat, only Adobe reader is enough.
  • support save data to FDF

And a HK company found my FormServer, and asked for the source code of “Converting static PDF forms created by Adobe Designer to Acrobat Form”, finally I sold they on US$400.

PS.
With the examples of Bruno Lowagie,Using iText to Fill PDF Forms Created by Adobe Designer, iText can both support Dynamic Forms and Static Forms created by Adobe Designer now.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • BlinkList
  • blogmarks
  • blogtercimlap
  • connotea
  • DotNetKicks
  • Fark
  • Fleck
  • Gwar
  • Haohao
  • IndianPad
  • Internetmedia
  • LinkaGoGo
  • MyShare
  • Netscape
  • NewsVine
  • Rec6
  • Reddit
  • Scoopeo
  • Slashdot
  • StumbleUpon
  • Technorati
  • Webride

Using iText to Fill PDF Forms Created by Adobe Designer

There are two example codes focus on how to fill Adobe Designer Forms(XFA Forms, Interactive Forms) with iText written by Bruno Lowagie in answer to questions that were posted to the iText mailing list.
FillDynamicXfa and FillDynamicXfa2
From the java name, we can notice they only support dynamic PDF Forms created by Adobe designer.

btw, I have compiled FillDynamicXfa into native byte code, so they can run without jre installed, and only 1.72M, and will release lately.

P.S.

Adobe LiveCycle Forms
Livecycle forms are XML-based and can be either static or dynamic. They are deployed securely to a user’s browser over any platform and are viewed using Adobe Reader (version 7.0.5 is the minimum version for full functionality). The quality of submitted information is improved through instant data validation and calculations. Captured data can also be transferred directly into an organisation’s core systems, streamlining form-driven business processes as well as improving data accuracy.

More info about XFA from wikipedia

XFA (also known as XFA forms) stands for XML Forms Architecture, a family of XML specifications that was suggested and developed by JetForm to enhance the processing of web forms.
XFA’s main extension to XML are computationally active tags. In addition, all instances created from a given XFA form template keep the specification of data capture, rendering, and manipulation rules from the original. Another major advantage of XFA is that its data format allows compatibility with other systems, and with changes to other technology, applications and technology standards.
According to JetForm’s submission to the World Wide Web Consortium, “XFA addresses the needs of organizations to securely capture, present, move, process, output and print information associated with electronic forms.”[1] The XFA proposal was submitted to the W3C in May 1999.
In 2002, the JetForm Corporation was acquired by Adobe Systems, and the latter introduced XFA forms with PDF 1.5 and the subsequent Acrobat releases (6 and 7) in 2003.[2]
XFA forms are saved internally in PDF files or as .XDP files which can be opened in Adobe’s LiveCycle Designer software.
XFA forms are synonymous with SmartForms in the Australian government.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • BlinkList
  • blogmarks
  • blogtercimlap
  • connotea
  • DotNetKicks
  • Fark
  • Fleck
  • Gwar
  • Haohao
  • IndianPad
  • Internetmedia
  • LinkaGoGo
  • MyShare
  • Netscape
  • NewsVine
  • Rec6
  • Reddit
  • Scoopeo
  • Slashdot
  • StumbleUpon
  • Technorati
  • Webride

How to use Adobe Acrobat to Optimize and Reduce PDF File Size

Because I am working on porting pdfsizeopt to windows, so I am also keeping an eye on other solution about how to optimize and reduce PDF file size, and now I like to introduce an article written by the Creative Team at Adobe.

Distributing documents as Adobe? PDF files can reduce the problems that may occur when you exchange large presentation or page-layout files. In many cases, you can make your Adobe PDF file even more compact without compromising the document’s integrity. The PDF Optimizer in Adobe Acrobat? 7.0 Professional gives you easy access to several options that can help you reduce the file’s size, including compression options that are comparable to the ones available when you create an original Adobe PDF file by using Adobe Acrobat Distiller?.

main_int

1.
Use the Save As command.

After you make any final changes to the Adobe PDF document, choose File > Save As. Save the document with the same name to overwrite the original with your changes.

When you choose Save As, Acrobat rewrites the entire PDF document as efficiently as possible. When you choose Save, changes are appended to the file, meaning the file size might be increased. By default, Acrobat also optimizes a PDF document for faster web viewing when you choose Save As. Documents optimized in this way can be downloaded one page at a time from a web server or network, reducing the time it takes to access and view them.

step01_int

2.
Audit the use of space in the file.

Choose Advanced > PDF Optimizer. Click the Audit Space Usage button. The audit results list the bytes used by each element and its percentage of the document’s total size.

The audit results can help you identify the most effective ways to reduce the file’s size by showing which elements are significantly large. The audit reports the total number of bytes used by fonts, images, bookmarks, forms, and comments, as well as the total file size.

step02_int

3.
Optimize images, scanned pages, and transparency.

If you created your PDF document with a scanner, use the adaptive compression slider in the Scanned Pages panel to balance file size and quality based on the color values in the document. For all other documents, use the Images panel to select compression options for color, grayscale, and monochrome images. (Selecting adaptive compression disables options in the Images panel.)

Downsampling lowers the resolution of images. Compression eliminates unnecessary pixel data. In general, you should use JPEG for photographs and other images in which color changes gradually. ZIP is good for illustrations with large areas of solid, flat color. JBIG2 works well for monochrome images. If you choose JPEG compression, select a quality level to determine how much pixel data is removed.

If your file contains artwork with transparency, you can further reduce file size by flattening transparency in the Transparency panel. Transparent areas are divided into rasterized or vector regions.

step03_int

4.
Unembed fonts, when appropriate.

On the Fonts panel, select the fonts you want to unembed. Ctrl-click (Windows) or Shift-click (Mac OS) to select multiple fonts. Then click the Unembed button. To remove a font from the list of those to be unembedded, select it and click the Retain button.

Fonts often account for a large percentage of a PDF document’s file size. You can safely unembed fonts if you know that they are already installed on the computers of the people who will read your PDF document. If you unembed a font that isn’t available to someone reading your PDF document, Acrobat will display a substitute font when the document is opened on their computer.

step04_int

5.
Remove unused elements and clean up the document.

On the Discard Objects panel, select the version of Acrobat that you want to make the document compatible with, and then remove any additional items that you don’t use.

On the Clean Up panel, choose a compression option and then select which items to remove or discard from the file. The Clean Up panel lets you remove elements from the PDF document that you don’t need. The options that are selected by default don’t affect functionality, but other options may. Use caution when selecting unfamiliar options. If you choose to experiment, save the optimized PDF file with a new name so that you leave the original PDF document unchanged.

step05_int

6.
Save the optimized file.

After you select the options you want, click OK. Then save the optimized PDF document with the same name to overwrite the original—or, if you want to compare the optimized document with the original, save it with a new name or to a new location.

Acrobat retains the settings in the PDF Optimizer dialog box. They appear as default settings the next time you use PDF Optimizer.

step06_int

7.
Optimize files in batches.

If you want to optimize multiple documents at once, consider using a batch processing sequence. For more information, see “Processing Adobe PDF documents in batches” in Acrobat Help for information.

By the Creative Team at Adobe. Copyright ?2005 by Adobe Systems Incorporated.

From: http://www.adobe.com/designcenter/acrobat/articles/acr7optimize.html

Share and Enjoy:
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • BlinkList
  • blogmarks
  • blogtercimlap
  • connotea
  • DotNetKicks
  • Fark
  • Fleck
  • Gwar
  • Haohao
  • IndianPad
  • Internetmedia
  • LinkaGoGo
  • MyShare
  • Netscape
  • NewsVine
  • Rec6
  • Reddit
  • Scoopeo
  • Slashdot
  • StumbleUpon
  • Technorati
  • Webride