PNG JPG BMP TIFF PCL
Aspose.PDF  for Java

Merge PCL Formats in Java

Native PCL document merger using server-side Java APIs.

How to Merge PCL Files Using Java

In order to merge PCL file, we’ll use Aspose.PDF for Java API which is a feature-rich, powerful and easy to use merger API for Java platform. You can download its latest version directly from Maven and install it within your Maven-based project by adding the following configurations to the pom.xml.

Repository


<repository>
<id>AsposeJavaAPI</id>
<name>Aspose Java API</name>
<url>https://repository.aspose.com/repo/</url>
</repository>

Dependency

<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-pdf</artifactId>
<version>version of aspose-pdf API</version>
<classifier>jdk17</classifier>
</dependency>

Steps for Merging PCL Files in Java

A basic document merging and concatenating with Aspose.PDF for Java APIs can be done with just few lines of code.

  • Create object of PdfFileEditor class.
  • Create the array of all files that will be merged.
  • Use concatenate() method to merge all files.

System Requirements

Aspose.PDF for Java supports on all major platforms and Operating Systems. Please make sure that you have the following prerequisites.

  • Microsoft Windows or a compatible OS with Java Runtime Environment for JSP/JSF Application and Desktop Applications.
  • Get latest version of Aspose.PDF for Java directly from Maven .
 

Merge PCL Files - Java

// Create PdfFileEditor object
PdfFileEditor fileEditor = new PdfFileEditor();
String[] files = new String[] { "file1.pcl", "file2.pcl", "pdf3.pcl" };
// Merge multiple PCL files
fileEditor.concatenate(files, "merged-pcl.pcl");
 
  • About Aspose.PDF for Java API

    Aspose.PDF API can be used for PDF document manipulation and parsing within applications. One can create, modify, compress, secure, print or save PDF to TXT, HTML, PCL, XFA, XML, XPS, EPUB, TEX, Images and more formats. Aspose.PDF is a standalone API and it does not depend on any software including Adobe Acrobat.

    Online PCL Merger Live Demos

    Other Supported Merging Formats

    Using Java, One can also merge many other file formats including..

    CGM (Computer Graphics Metafile)
    EPUB (E-book Format)
    HTML (Hyper Text Markup Language)
    MD (Markdown Language)
    SVG (Scalable Vector Graphics)
    TEX (LaTeX Output Text)
    XML (Extensible Markup Language)
    XPS (XML Paper Specifications)
    XSLFO (XSL Formatting Objects)