In this tutorial, we will show you how you can add a Barcode to PDF files by choosing a specific area. We assume that you have done the Barcode generation step on Zapier. In case you don’t, here’s a tutorial on how to generate a Barcode using Zapier https://pdf.co/how-to-generate-barcode-using-zapier

  1. Open PDF.co and Select PDF Filler Function
  2. Customize PDF Filler
  3. Test & Review
  4. Copy & Paste URL to Browser to See Output

For this demo, we will use this sample Google Invoice and add a QR code at the bottom right.

Screenshot of Source PDF
Sample Invoice To Add Barcode

NOTE: Aside from QR Code, you can also add Datamatrix, PDF 417, Code 128, and other supported Barcode types.

1. Open PDF.co and Select PDF Filler Function

Let’s start by choosing PDF.co as the app and select PDF Filler as the action event. The PDF Filler makes it possible for us to fill out PDF forms and add texts and images to a PDF file.

Set PDF Filler As The Action Step

2. Customize the PDF Filler

In here, we will enter and specify the Google Invoice location, the Barcode Image, and the area we want to put the Barcode in.

  • In the Direct Link to Source PDF field, enter the source PDF file link. In this case, we will enter the Google Invoice direct link.
  • In the Images field, enter x;y;pages;urltoimage.

x and y are coordinates of a page. pages refer to the page number. A page number starts from 0. urltoimage is the location of the image or Barcode. For urltoimage, we picked the Barcode Generator in PDF.co link. Keep on tweaking the coordinates until you get your desired location.

Customize PDF Filler With Invoice And Barcode Data

3. Test & Review

We are now ready to Send our data for Test & Review.

Send PDF Filler Data To Test And Review

4. Copy & Paste URL to Browser to See Output

A successful test will return a URL of the file. Copy and paste the URL link to see the PDF file output.

PDF.co Processed Request Successfully

Yay! We have successfully added a QR code in a specific place in the Google Invoice PDF file.

Screenshot of Output PDF
PDF Invoice With Barcode At Specific Area

NOTE: You can set up the next step to save the generated file in Google Drive or Dropbox depending on your requirement.

Here, we’ve shown how to add a barcode to PDF in a specific area of the document. We’ve used PDF.co and Zapier integration.

Related Pages:

Related Samples: