GroupDocs.Signature for Node.js via Java

Generate and add Barcodes in PDF effortlessly

Employ GroupDocs.Signature for Node.js via Java to incorporate barcodes into your business documents, placing them precisely where needed. Our solution offers extensive customization options to tailor barcode signatures to your requirements.

How to generate and embed barcodes in PDF file

GroupDocs.Signature enables the generation and placement of barcodes in a variety of popular formats on PDF pages. With support for over 60 types of barcodes, Node.js via Java applications can be easily enhanced with barcode signing features by integrating our library.

  1. Provide the PDF file or stream for processing.
  2. Pass the barcode text to a BarcodeSignOptions instance.
  3. Adjust barcode settings such as position, size, etc.
  4. Save the document with the newly added barcode.
const signatureLib = require('@groupdocs/groupdocs.signature')

// Instantiate a Signature object with the document path
const signature = new signatureLib.Signature('input.pdf');

// Utilize BarcodeSignOptions to integrate a barcode into the document
const options = new signatureLib.BarcodeSignOptions('Business data');

// Configure the barcode type and additional parameters
options.setEncodeType(signatureLib.BarcodeTypes.Code128);
options.setLeft(100);
options.setTop(100);

// Save the signed document
signature.sign('output.pdf', options);
npm i @groupdocs/groupdocs.signature
click to copy
copied
More examples Documentation

Augment and secure your documents with advanced signature options

The GroupDocs.Signature for Node.js via Java library is designed to streamline the signing and subsequent management of popular document formats. Quickly and easily add, modify, verify, or remove a wide range of signatures.

Key Functionalities of GroupDocs.Signature

Dynamic document signing

Sign any page of your documents using a variety of signature types, including text, images, barcodes, QR codes, and stamps. Additionally, you can embed hidden metadata, such as EXIF data in images, or secure the document against unauthorized edits using digital certificates.

Robust signature verification and search

Our solution provides extensive tools for managing signed documents. Verify the authenticity of signatures to ensure document integrity, and utilize the search feature to list all signatures embedded within a document.

Easily edit signatures

Most signatures added previously can be effortlessly modified. Update the text, reposition, or change the appearance of the signature to match your needs.

Streamlined signature removal

With comprehensive support for CRUD operations, our tool allows for the efficient removal of signatures from your documents, ensuring that only the most relevant signatures remain.

How to apply a barcode signature

This example illustrates how to embed a customized barcode on PDF document pages.

JavaScript

const signatureLib = require('@groupdocs/groupdocs.signature')

// Provide the document to be signed
const signature = new signatureLib.Signature('input.pdf');

// Utilize BarcodeSignOptions to integrate a barcode into the document
const signOptions = new signatureLib.BarcodeSignOptions('Accepted');
signOptions.setEncodeType(signatureLib.BarcodeTypes.Code39FullASCII);

// Configure the barcode type and additional parameters
signOptions.setVerticalAlignment(signatureLib.VerticalAlignment.Bottom);
signOptions.setHorizontalAlignment(signatureLib.HorizontalAlignment.Left);

// Define the barcode padding from the page edge
const padding = new signatureLib.Padding();
padding.setLeft(20);
padding.setTop(180);
signOptions.setMargin(padding);

// Choose the bar color
signOptions.setForeColor(signatureLib.Color.RED);

// Specify the font style for the message
const font = new signatureLib.SignatureFont();
font.setSize(12);
font.setFamilyName('Arial');
signOptions.setFont(font);

// Indicate the position of the message
signOptions.setCodeTextAlignment(signatureLib.CodeTextAlignment.Above);

// Sign and save the document
signature.sign('output.pdf', signOptions);
npm i @groupdocs/groupdocs.signature
click to copy
copied
More examples Documentation

An introduction to GroupDocs.Signature for Node.js via Java

GroupDocs.Signature for Node.js via Java is a powerful document signing tool, supporting a diverse range of signature types including text, images, barcodes, digital certificates, and stamps. With compatibility across more than 60 file formats, such as PDFs, MS Office files, images, and ZIP archives, it allows for comprehensive document management. Signatures within documents can be searched, verified, altered, or removed as required.
Learn more
About illustration

Ready to get started?

Download GroupDocs.Signature for free or get a trial license for full access!

Useful resources

Explore documentation, code samples, and community support to enhance your experience.

Dive into our primary features

Experience a broad array of signature types and tools we provide

Sign across multiple document formats

The Node.js via Java API empowers you to sign over 60 different formats. Whether adding signatures to specific pages or positioning them precisely, our tool makes it easy to apply various signature types.

Temporary license tips

1
Sign up with your work email.
Free mail services are not allowed.
2
Use Get a temporary license button on the second step.
 English