Automated PDF Printing and Adding Signature to PDF Documents Significantly Improved Productivity

About WHITE RABBIT EXPRESS

White Rabbit Express logo

We run White Rabbit Express, a Tokyo-based proxy buying service. We’ve helped tens of thousands of people in over 100 countries buy-and-ship Japanese products which are difficult to get outside of Japan.

Our order fulfillment operations were very inefficient and manual labor-intensive. This was especially painful during Black Friday and Cyber Monday events which increased orders by several times our normal volume resulting in delays and an overworked staff.

Taking cues from Toyota’s process management principles, we were able to eliminate huge amounts of waste by allocating roles differently, creating custom software to manage the workflows, integrating barcode label printers & scanners, and reducing wasteful motions by replacing keyboards and mice with touch-screen monitors throughout the department.

Problem

Aspose.PDF for .NET came to our aid in two key areas: programmatic printing of PDF documents and automatically adding signatures to PDF documents.

Part of our shipping process involved submitting data to a Japan Post API. The API returned several shipping documents–dispatch note, customs declaration, and commercial invoices–in PDF format. Printing these documents from our web application has been time-consuming for users, who need to open the PDF in a new window, open the print dialog, click print, then close the tab. Since this activity was highly mechanical, it was clearly something we wanted to reduce.

Furthermore, once these documents were printed, our shippers need to sign as many as seven pages per shipment using a ballpoint pen. We decided to see what could be done to get signatures digitally inserted into the shipping documents.

Solution

We built a .NET application using C# to handle the printing of PDFs using Aspose.PDF for .NET. Our application executed as a web server on the local machine, listening over localhost port. The PDF documents were posted from our Meteor web application to the localhost port where the .NET application received them and handled the printing operations. There were no print dialogs, no extra buttons to click, and no browser tabs for the user to close.

Next, we took the photo of a signature and saved it as a PNG image file with a transparent background. While using Aspose.PDF for .NET search tools, we programmatically iterated through each page of the PDF documents, while looking for keywords that indicated a signature as a required field. The signature image file was then inserted into the PDF before we saved and printed it.

Preview of order fulfilment application
Image 1:- Our in-house order fulfillment web application. Shipping document files in PDF format were passed to a .NET app running Aspose.PDF for .NET.
Preview of signature being placed in PDF file
Image 2:- Signatures like these are inserted on shipping documents automatically before being sent to the printer.

Experience

Finding a solution

We evaluated several solutions before selecting Aspose.PDF for .NET. Acrobat Reader lacked an API and was hard to the remote control. GhostScript was very low-level, so it required a lot of work to do simple things. PDFSharp was basically a wrapper for Adobe Acrobat.

Implementation

By using the trial version of Aspose.PDF for .NET, I was able to start printing PDFs programmatically in minutes and had a working solution deployed within half-a-day. The signature image merge feature was implemented in about 3 hours of work. The code examples in the online Developers guide at Aspose.PDF for .NET were very valuable in helping us quickly build our solutions.

Outcome

We believe making many small improvements to a process can result in large improvements. Speeding up a process by just one minute when shipping 10-20K packages resulted in several hundred hours of time-saving. Aspose.PDF for .NET allowed us to very rapidly deliver an automated solution, freeing our team from the manual grind of repetitive tasks.

Max Hodges, CEO
White Rabbit Japan