Win2PDF Plug-Ins Extend Features Specific to Customers’ Needs

Last month we introduced a new Win2PDF Plug-In for Slack, and this month we’re back with several new Win2PDF Plug-Ins.

A Win2PDF Plug-In is simply a small customizable program that can be created, modified, or installed that will give the user an option to automatically take some action with the PDF file after it has been created. It allows Win2PDF’s functionality to be extended to address specific customer needs or workflow integrations. For example, it has already been used by customers to upload PDF files to a content management system, automatically make archival copies of PDFs, store PDF in cloud-based services, delete blank pages, split PDF files into single page documents, use multiple watermarks, and send a PDF file to a specific email program.

Why use Plug-Ins? Why not just add these features directly to Win2PDF?

The Win2PDF Plug-Ins were created specifically to add capabilities that might be unique to each customer. Most of the new Plug-Ins were unique or very specific to a customer request, so they may not be useful to the user base at large. Rather than clutter the main Win2PDF program with these types of unique features, we allow them to be created, customized and added as needed for each customer.

As of today, there are 8 additional Plug-Ins available for download at our GitHub page. [GitHub is a central code repository for our Plug-In samples — you can download compiled Plug-Ins that are ready to use, or, if you are a developer, you can download and modify the source code to build your own Plug-Ins specific to your needs. These examples show what can be done with Win2PDF, and provide a template for future solutions.]

The new Plug-Ins are:

  • PDF Send To Outlook – Add a “Send To Outlook” option to Win2PDF File Save window to automatically attach a PDF to an Outlook email message.
  • PDF Duplicate File – Automatically make a duplicate copy of the newly created PDF file in a designated duplicate file folder which may reside on a shared network location or in a cloud based folder (OneDrive, DropBox, Google Drive).
  • PDF Print Logger – Automatically log files created by Win2PDF to the Windows Event Log.
  • PDF Archive File – Automatically archive newly created PDF files created by Win2PDF in a designated archive file folder which may reside on a shared network location or in a cloud based folder (OneDrive, DropBox, Google Drive). Files are appended to an archive PDF named based on the current date.
  • PDF Delete Pages – Automatically deletes extra pages from a newly created PDF.
  • PDF Split Pages – Automatically splits a multi-page PDF into separate one page PDFs.
  • PDF Apply Multiple Watermarks – Automatically apply different watermarks to separate sections of a PDF [Requires Win2PDF Pro].
  • PDF Image Only Flattener – Automatically merge watermark layers into a single layer Image Only PDF [Requires Win2PDF Pro].

A few other notes:

  • The samples only allow one Win2PDF Plug-In used for each instance of the Win2PDF printer.
  • If you wish to remove a particular Win2PDF Plug-In, you can use the Windows Add/Remove Programs feature to uninstall.
  • All of the Win2PDF Plug-Ins hosted on this page can be used at no charge. Some only work with licensed versions of Win2PDF. Contact [email protected] for a 30 day evaluation license.
  • An evaluation version of Win2PDF can be downloaded for free at https://www.win2pdf.com/download/

If you have any requests for Plug-Ins, let us know. We’re interested in building out this capability with more examples, so if you have a particular integration or special need, send an email to [email protected] and tell us about your requirements. If it’s something we can assist with, we’ll be happy to help.

For now, hop over to the Win2PDF Plug-Ins page and take a look.

It’s Greek To Me: Case Study for PDF Image Only Files

We recently received a unique support question that illustrated a real-world case where the PDF Image Only file save option saved the day. Here was the issue our customer came to us with:

I am trying to help my wife who is teaching ancient Greek language classes online. The problem is that there is no standard universally recognized font for ancient Greek – they all render the language in different ways. And ancient Greek is quite different from modern Greek. She can create documents on her Windows PC using one of a number of specialized TrueType (TTF) fonts. And she can convert documents to Unicode for pasting into web content and/or she can print or export Unicode documents to PDFs. For most of her students these processes are successful. However some students see only gibberish. She has no control over the various platforms her students are using, Windows, Mac OS, iOS, Android, Chrome, etc.

By Hesiod / Houghton Library, Public domain, via Wikimedia Commons

Is there a way Win2PDF can handle this situation? The best option would be if she could print/export her multi-page documents to non-searchable, graphics only PDFs.

For this case, the solution was easy. Win2PDF can create multi-page image only PDFs that render the TTF fonts as graphics. It’s just a standard Win2PDF file save type the user can select when printing.

While this particular customer was able to make the conversions using other programs, this was the easiest method since it was just a single step to save the PDF file.

When we recommended this solution to the customer, he gave us the following reply:

While the Covid-19 pandemic lasts and much teaching is being done online, you might want to share this information with university departments of Classics and Religious Studies and theological colleges (and other academic institutions that teach archaic languages for which there are no universally standard means of rendering them as computer-created text). My wife cannot be the only university instructor with this problem.

Consider it done.

NEW! Win2PDF “Send to Slack” Plug-In

One of the requests we get is how to take some action after a PDF file is created, and do it automatically. The most common example is to take the PDF file and attach it to a new email message. While Win2PDF has supported this feature since the beginning, many customers want to expand this capability to integrate the PDF files with other applications. And since these processes may be unique to each customer, we’ve expanded our support into a flexible new feature called Win2PDF Plug-Ins.

A Win2PDF Plug-In is simply a small customizable program that can be created, modified, or installed that will give the user an option to take some action with the PDF file after it has been created.

Here’s one example we’ve created for our own internal software development team using the Slack business communication platform. When we download and install the Win2PDF “Send to Slack” Plug-in, it allows our users to check a box on the Win2PDF file save window and automatically send the PDF file into a specific channel in Slack.

Slack allows teams of users to share comments, images, files, etc. in different channels. [A slack channel is simply a topic-based message board that allows any team members who are subscribed to that channel a way to share and exchange information related to that topic. Examples might be channels like #features or #support or #sales.]

With this Win2PDF “Send to Slack” Plug-In installed and configured, it gives our Win2PDF development team an easy way to share PDF files without using email, and they will all be archived in a common channel for all team members. There are a few one-time steps to configure this Win2PDF “Send to Slack” Plug-In to work with your specific Slack workspace and channel.

This is just the first of many Win2PDF Plug-Ins we have in development, and we’ll also be providing more details in future posts on how users can create their own Win2PDF Plug-Ins, or modify ones that we’ve created.

Create PDF Documents With Searchable Text from Google Chrome and Microsoft Edge

Win2PDF now has a feature that allows you to print documents that would normally contain non-searchable text to PDF files with searchable text.

Why this feature? When would you use it?  Well, there is one area in particular where this is useful, and that’s when it comes to printing PDF files from Google’s Chrome web browser, Microsoft’s newest Edge browser, or from other Google apps like Docs. Due to the way Google and Microsoft have developed their browsers and apps, printing from these programs creates PDF files that are image-based and not-searchable (or selectable) as actual text. When documents or web pages are printed to a paper printer, this isn’t noticeable or an issue. However it is a problem if you are using Win2PDF or another PDF printer since the files will be larger, non-searchable, and non-selectable.

We’ve solved this problem by adding a new save format called “Portable Document Format – Searchable (OCR PDF)”. When you use this save option when printing from Chrome, Edge, or Google Docs, the resulting PDF file will contain searchable text. It applies Optical Character Recognition (OCR) to the file and converts the image-based text into searchable text automatically.

This has been frequently reported to our Win2PDF help desk as a problem for users and prior to this feature we had to explain a multi-step process to get the desired results. Now, it’s just a single save like it would be from any other application.

This feature is still in our pre-release testing phase, but we want users to try this and give us some feedback. To try this feature, please do the following:

    1. Download and install Win2PDF 10.0.78 (or higher). This version can be downloaded from the Win2PDF 10 Update section of our knowledgebase.
    2. Download and install the Win2PDF Desktop with OCR Download.
    3. After you install the separate Win2PDF Desktop with OCR package, Win2PDF displays an extra save as type labeled “Portable Document Format – Searchable (OCR PDF)

While this is useful when you are creating new PDFs from Chrome or Edge, what about existing files that had previously been saved as image only, or that you received as email? Is there a way to “fix” those so that they are searchable?

Yes. Just open the original PDF in the Win2PDF Desktop App and Select Export  -> PDF – Searchable (OCR) from the File menu.

make-pdf-searchable-menu

The Searchable OCR PDF is only available in our pre-release software and we’re working on improvements, but give it a try and if you have any feedback or issues, let us know by sending an email to [email protected] or opening a ticket at our Helpdesk page.

How to Create a Non-Searchable PDF File

When you create a PDF file from most applications, the result is a PDF that contains both text and images. The text can be searched from PDF viewers like Adobe Reader, can be cut & pasted into other documents, and it can also be indexed and searched by search engines like Google or Bing.

However, some people want to create PDF files that are NOT searchable for a variety of reasons.

We posted an example some time ago where some sensitive documents were redacted in the PDF, and even though they displayed correctly (where the text appeared blacked-out), the actual text in the PDF file was searchable and selectable. Whoops!

There are also situations where lawyers litigating cases need to share documents with the opposing side, and they have an interest in dumbing down the PDF file. That is, making it very difficult to search through the documents.

Whatever the reason, the easiest way to create non-searchable PDF files is to use the PDF Image Only file save option with Win2PDF. This will save all text in the document being printed as an image, so that it can’t be searched or indexed by search engines. You can save the output as either a monochrome image, or a color image depending on your needs.

One caveat with this feature is that it will make the file sizes larger, which is usually not desirable.

Unless, that is, you’re a lawyer litigating a case…

Win2PDF Release 10.0.72 Now Available

A new version of Win2PDF (a free update to existing Win2PDF 7 or Win2PDF 10 users) is available now at the Win2PDF download page. In addition to bug fixes and stability improvements, it adds several new features to Auto-Naming PDF files, command-line options, and the Win2PDF Desktop App. Win2PDF 10.0.72 includes the following new features:

  • Adds a Configure Win2PDF Auto-Name shortcut to the start menu to make configuring the Auto-name features easier.

  • Adds Send File and Print File actions to the Configure Win2PDF Auto-Name menu to automatically email or print a PDF. See How to Automatically name and send PDF files by email for an example of automatically naming and sending invoices to email recipients based on the contents of the PDF.

  • Performance and stability improvements

Again, if you have a license for Win2PDF 7 or Win2PDF 10, you can download this new version at no charge.

How to automatically name and send PDF files by email

Here is a more advanced example of using our new content-based naming feature in Win2PDF.

Suppose you want to name a PDF file based on some value within the PDF file, and then email the PDF file to an email address that also resides within the PDF file. This could be useful if a customer wanted to send out invoices to customers based on an email field in the invoice, or to send a report unique to an individual client based on their specific information.

The latest version of Win2PDF 10.0.71 includes new features that allows you to search for up to three different values within the PDF file, and then use those values for Auto-naming and for sending the email.

Let’s show this feature using the following example: Here is a sample invoice from an ERP system. It includes both an invoice number (which we’ll use for the naming of the PDF file) and it contains an email address for each invoice (which we’ll use for addressing the email).

We’ll start by opening the sample file of the invoice in the Win2PDF Desktop app. Once opened, you can use the Auto-Name ➜ Define Auto-Name Search Field menu to define up to 3 search fields.

We’ll define two of the search words as follows:

“Search Field 1” = “Invoice #:”
“Search Field 2” = “CUSTOMER EMAIL:”

When you select the Define Auto-Name Search Field, you’ll get a window where you can enter the text you wish to search for (see image below). The value immediately following this search field will be used in the configuration screen.

After you have defined the search fields, Win2PDF will display the values of the search in the current document as a confirmation.

Using our sample document as a reference, the values (the text immediately following) for the search fields are:

“Search Field 1” value = “01357”
“Search Field 2” value = “[email protected]

These values can and likely will change for each document being printed.

Next, when you go to the Auto-Name ➜ Configure Auto-Name… menu, these two search fields will the be used for the file name, and for the email recipient.

Now when you print an invoice to Win2PDF from the ERP system, the files will be automatically named and attached to a new email message as shown below.

You could take this one step further and set up these PDF files to be sent automatically using our Win2PDF Mail Helper add-on application.

There are many options available for naming and emailing PDF files automatically — more than we can reasonably cover in this post. So, if this does sound useful and you need help configuring this for your own reporting applications, let us know and we’d be happy to assist you setting this up for your needs.

Win2PDF Report Server for Legacy Reporting Applications

We’ve recently added new capabilities to our Win2PDF Terminal Server Edition (TSE) software that allows it to be used with legacy applications that were originally designed to create paper reports.

What do we mean by legacy reporting applications? In this context, what we are referring to is a class of (typically) older software programs that sent text or special printing data directly to a dedicated paper printer. Essentially, these reporting applications would stream the data directly to a laser printer connected to the local area network, and the paper printer would print whatever information was sent.

“Now more than ever, with employees working remotely or from home, it’s important for companies to adapt their interfaces to legacy programs so that the reports can be captured and shared electronically as PDF files.”

The new Win2PDF Report Server component of Win2PDF TSE does the following:

  1. Creates a dedicated copy of the Win2PDF printer named Win2PDF Report Server
  2. Installs a Windows AppSocket Service that uses the AppSocket printing protocol, also known as Port 9100, JetDirect, or RAW printing mode. The service accepts print data from a legacy application and then routes it to the Win2PDF Report Server application installed on the server*.
  3. Installs a console monitor program called the Win2PDF Report Server. This program is added to the startup folder and takes data routed from the Win2PDF Appsocket Server and converts it to PDF using the Win2PDF Report Server printer.

* Note: The Win2PDF Report Server has the capability to support additional printing protocols based on need. If you have an application that relies on a protocol other than AppSocket, let us know and we can provide more information.

The Win2PDF Report Server currently accepts data in text or Printer Control Language (PCL) format, and the created PDF can be named and saved on the customer’s network using any of the numerous Win2PDF Auto-name options.

If you have a need for this type of PDF reporting solution for legacy applications, contact [email protected] for more details.

Content-Based File Naming with Win2PDF

One new capability of the Win2PDF Auto-name feature is the ability to define and save PDF files based on defined content that resides “within” the document to be printed.

For example, suppose you have a reporting application that spits out a report, and you want to name this report based on the document number, or invoice number, or customer name, or some other value that exists inside of the report.

There are a couple of different ways to set the Content-Based File Naming within Win2PDF.

The first method is to use a search word.  Using this option, you would define a word to search for in the document (like document # or invoice # or customer name), and then the software would use the following word or set of characters to be used in the file name of the PDF file.

The second method is to use a defined content field.  Using this option, you would define a particular fixed location on the page where the content field always exists, and this would be used in the file name of the PDF file.  The following animation shows the basic process, but more detailed instructions can be found at the content field section of our online user guide.

Content based naming 1

How would you know which method to use?  Well, the search word option works when you know the content field value always follows a particular word, but the exact position on the page or length of this value may be variable.  The content field option works when the content field value always exists at the exact same location on the page.

Grabbing the name from a printed purchase order may use the search word option, since the length of the purchase order number may change from customer to customer.  On the other hand, grabbing a Tax ID number from an IRS form may use the content field option, since the number and location on the form will always be fixed.

As more customers are working to digitize their reporting functions (without any user interaction), we feel like this content-based file naming will become an increasingly popular tool for automating reports.

Using Auto-name to Save Reports to PDF

As the Coronavirus problem persists and more and more employees work from home, we’re getting questions from customers who are trying to adapt reporting applications to generate PDFs. Specifically, they are looking at ways of automatically saving these PDF reports without any user intervention.

The easiest way to do this is to enable our Auto-name Files feature. It can be found by clicking on the PDF Options… button on the main Win2PDF file save window as shown below.

Here are a few tips on using the Auto-name Files feature:

  • There are a variety of predefined options to use which allow you to include the document title, date, and time in the naming of the file. However, there is also a User Defined option which gives you much more flexibility. You can use any number of variables to make a customized file name based on document titles, as well as the time and date.
  • Not only can you use these User Defined variables to customize the file name, but you can also customize the folder(s) you are trying to save to. For example, if you used the following variables as the User Defined name:
%PDFYear%\%PDFMonth%\SalesReport-%PDFMonth%-%PDFDay%-%PDFYear%.pdf

You’d end up with the following results whenever you saved the PDF file.

[Default Save-to folder] \ [Current year] \ [Current Month] \ SalesReport-MM-DD-YYYY.pdf

In other words, folders will automatically be created (if they are not already present) for the year and month, and the appropriate sales report for the day will be placed in each location.

  • You can also create multiple Win2PDF printers and set auto-name for specific departments/people. For example, suppose you want to keep the normal Win2PDF printer for use with day-to-day PDF creation, but you want to make a copy named “Reports from Win2PDF” that will be used to generate PDF files from a specific application (without any user interaction). You’d simply need to
    1. Add a copy of the Win2PDF Printer and name it “ Reports to Win2PDF”
    2. Turn on the Auto-name feature (as discussed earlier in this post) for this new copy of Win2PDF
    3. You can repeat steps 1-2 to create any number of specialized Win2PDF printers that save PDF files automatically, with names and locations defined by an application, department, location, etc.
  • You can also apply Auto-Name settings to all users. To do this:
    1. Configure Auto-Name in PDF Options…
    2. Open the Win2PDF Admin Utility. The file name definition shows up on the File Name tab.

    1. Check Apply to all users
    2. Click Apply, and Auto-Name will apply to all users

The Auto-name feature is very powerful.  If you have reports you want generated on a regular basis, and you want to define your file names and eliminate any input from the user, use these tips and let us know if you have any questions.