New Split File Before Search Text Feature in Win2PDF

We recently had a hospital contact us with a request for Win2PDF. Due to new California regulations regarding how to provide notice for medical bills, they needed to modify their notification processes. One step was searching through a single large output PDF that had bills from hundreds of different patients, and then splitting the PDF into separate pages each time it encountered a “FINAL NOTICE” tag.

Win2PDF already had the ability to split a PDF file AFTER a search term, but in this case the search text appeared on the first page of the bill so the customer needed the file split BEFORE the “FINAL NOTICE” search term.

So, we added this to Win2PDF.

Win2PDF 10.0.133 supports a new “splitpagesbeforesearch” command line. It works the same as “splitpagesaftersearch“, but splits on the page before the search text. It can be used through the Win2PDF Desktop app or through the command line.

The second change needed to accomplish this customer’s issue is a new “getcontentsearches” command line. It works the same as “getcontentsearch“, but continues searching the entire PDF and outputs all matching text to standard output.

This is another example of adding or extending Win2PDF features based on customer requests. If you’re looking for a feature not supported by Win2PDF (or other PDF software), let us know! We may be able to adapt Win2PDF to meet your needs.

Win2PDF Pro Enhancements for Adding Watermarks and Security Changes to Existing PDFs

Our latest 10.0.132 update to Win2PDF Pro adds two new features to the Win2PDF Desktop app – the ability to modify an existing PDF file to either set (or change) security settings, and the ability to apply a background or watermark to an existing PDF.

Win2PDF Desktop File Menu Options
Win2PDF Desktop PDF Security & PDF Watermark File Menu Options

PDF Security…

The first added feature allows you to apply or change security options to an existing PDF file. Previously, if a user wanted to add encryption to a PDF file, set a password, or change security options to limit printing or copying text and images, they would have to re-print the PDF and make these changes in the Win2PDF Pro Options. Now, they can simply open the existing PDF file in Win2PDF Desktop and make these changes directly without having to reprint.

PDF Watermark…

The second added feature allows you to add a watermark or background to an existing PDF file. Again, instead of having to re-print the existing PDF, you can now just open the file in Win2PDF Desktop and apply the watermark or background directly to the existing file.

The Win2PDF Desktop interface and available options for setting security and watermarks are the same options that are available in the Win2PDF Pro printer options.

Both of these features are only available in the Win2PDF Pro version of the software. If you do not currently have Win2PDF Pro but would like to trial these features, please request a Win2PDF Pro trial license. (Make sure you specify you want the Win2PDF Pro trial license in your request).

Win2PDF “Watch Folder” Feature Continuously Monitors and Converts Files

The latest Win2PDF automation tool is the new Watch Folder* feature. This feature allows you to select a local or shared folder to monitor or “watch”. Whenever a supported file type is added to this folder it will automatically be converted to an output file in a different format.

If the watch folder is a shared network folder, multiple users can convert files by copying files into the shared watch folder.

Note: This feature is only available in the Win2PDF Pro Terminal Server Edition (TSE) version.

For example, suppose you have fax software that allows you to save incoming faxes as .TIFF files. And what if you’d like to take all of your faxed image files and convert them into searchable PDF file

In this case, you’d simply set up a Watch Folder where you’d save your faxed .TIFF files, and whenever a .TIFF file appears in this folder it is automatically converted to a searchable PDF file.

There are two primary ways of setting up the Watch Folder.

The first way of starting the Watch Folder is through the Win2PDF Desktop App. When you start the Win2PDF Desktop App, a new menu named “Watch Folder and Convert…” appears in the File menu. (You can also launch this directly by running “Win2PDF Watch Folder and Convert” from the Windows start menu.)

When Watch Folder and Convert… is selected, you’ll be able to select the folder to watch, the folder to save your output files to, and an option to either move or delete the original files. You’ll also be able to choose the format of the converted files.

When the Watch button is selected, the Watch Folder actively monitors this folder for any new files that get added. You’ll know it’s active because the interface will be ‘grayed out’ and a ‘Watching…” indicator appears. If any files are added to the watch folder, they are automatically converted

You can turn off the Folder Watch feature by simply clicking on the Stop button.

The second way iis to open a command prompt and start the watch folder through the following command line.

win2pdfd.exe watchconvert "watchfolder" "completedfolder" "convertedfolder" destformat

This watches the folder specified by “watchfolder” and automatically converts all compatible files to the specified format, and saves the converted files using the same base filename to “convertedfolder“. Upon successful conversion, the source file is moved from the “watchfolder” to the folder specified by “completedfolder“. If the “completedfolder” is empty (“”), the source file is deleted after conversion.

Compatible file formats in the “watchfolder” can have the following file extensions:The “destformat” can be one of the following file types:
.PDF
.HTML
.HTM
.XPS
.TIF
.TIFF
.JPG
.JPEG
.JPE
.PNG
.BMP
.DIB
.GIF

(other file types will be ignored)
pdf
pdfimagemono
pdfimagegrayscale
pdfimagecolor
pdfcompressed
pdfsearchable
textformatted
textunformatted
jpggray
jpg
tiffmono
tiffgray
tiff
pnggray
png
ocrtextformatted
ocrtextunformatted

To stop the folder watching, simply enter CTRL-C in the command prompt window and it will stop watching the folder.

As noted earlier, this feature is only available in the Win2PDF Pro Terminal Server Edition (TSE) version of Win2PDF. If you want to try this feature, you can request a 30-day evaluation license.

Any questions or feedback? Let us know at [email protected]

A Better XPS Viewer for Windows 10 & Windows 11

Though Microsoft’s XPS Viewer is still available in Windows 10 and Windows 11, it is no longer enabled by default. Users who still need an XPS viewer, however, can now use the most recent update to the Win2PDF Desktop app which supports viewing (and manipulating) XPS files directly. You can even directly convert XPS to PDF for better long term archiving. This is more useful than having to install the Microsoft XPS Viewer manually (by adding it via the optional features in Windows settings) and be limited to only viewing XPS files.

By using Win2PDF Desktop as an XPS Viewer, You can open and view an XPS file, extract or split pages, and export to a different file format like PDF, text or image formats.

XPS Viewer support is included as a free update to our 10.0.124 Win2PDF download.

* For more details on the XPS (XML Paper Specification) file format definition, you can read the subject article on Wikipedia.

Win2PDF Pro Adds New Batch Convert Files Feature

Our latest update to Win2PDF Pro (V10.0.122) adds a new capability to batch convert certain types of files directly into PDF (or another image/text format). The types of files that can be converted are:

[Note: This feature is only available in the Win2PDF Pro version of the software. If you do not have Win2PDF Pro but would like to try this feature, you can request a 30-day trial license.]

Win2PDF Batch Convert can be accessed in 2 different ways. First, it can be accessed from the Windows Start menu under the Win2PDF program group.

Second, Batch convert… can be accessed from the File menu of the Win2PDF Desktop app, as shown below:

Once selected, the user will be able to select 3 options: 1) The input folder containing the files to convert, 2) the output folder where the converted files will be placed, and 3) the file type format for the converted files. The output folder must be different from the input folder.

The conversion process can be canceled if you have a large number of files and wish to abort the operation, or it will convert all files and notify the user when finished.

Only files with supported extensions will be converted (PDF, HTML, XPS, TIFF, JPG, PNG, BMP, GIF). Other file types will be ignored.

Here’s an example: Suppose you had a folder of logo samples in different image formats, and you wanted to convert all of them to grayscale PDF files. You could do so very easily by choosing the input and output folders and then choosing the output file format as “PDF Image Only (Grayscale)”.

You can read more at the Batch Convert section of our online user guide, or try it out for yourself. And finally, the Batch Convert feature can be accessed from a command line interface.

Win2PDF Not Affected by Log4j Remote Code Execution Vulnerability

Just a quick note since we’ve received several questions about the recent Log4j exploit and the alarm its causing in IT departments around the world.

Question:

The Apache Software Foundation has released a security advisory to address a remote code execution vulnerability (CVE-2021-44228) affecting Log4j versions 2.0-beta9 to 2.14.1.

A remote attacker could exploit this vulnerability to take control of an affected system. Log4j is an open-source, Java-based logging utility widely used by enterprise applications and cloud services.

Does win2PDF use this software? 

Answer:

No. Win2PDF does not use Java or Log4j.

Win2PDF is not vulnerable to CVE-2021-44228.

Microsoft’s Windows 11 has Arrived!

Earlier this week Microsoft announced the availability of their latest operating system — Windows 11 .

This is not a universal upgrade like Windows 10, however. Many PCs won’t be able to upgrade to Windows 11 due to hardware limitations. You can check if your PC can be upgraded using Microsoft’s PC Health Check app.

Win2PDF supports Windows 11, and continues to support older operating systems like Windows 7, Windows 8, Windows 10, and even Windows XP.

While you may be using Windows 11 as the default OS if you purchase a new PC soon, we expect many organizations to continue with Windows 10 as most of the changes in Windows 11 are centered on the user interface and user experience.

If you do upgrade or get a new PC, make sure you are using the latest Win2PDF update for best results.

New Win2PDF 10 Update Now Available!

We have just released a significant new update (Win2PDF 10 build 116) to our Win2PDF download page. As with other recent updates, this is a FREE upgrade for all Win2PDF users using Win2PDF 7 or higher software.

While we’ve previewed several of these features in blog postings over the past several months, now they have all been collected into an official release with enhanced usability features, new and improved command line features to assist with automated PDF workflows, and bug fixes and performance enhancements. It includes:

Windows explorer ight-click context menu for Win2PDF
Right-click context menu in Windows explorer

1) Usability

  • Added support for directly converting image files and HTML files from a Windows Explorer Convert with Win2PDF context menu. To convert a JPG, PNG, TIFF, GIF, BMP, or HTML file to PDF, right click and choose “Convert with Win2PDF (see image above).
  • Added support for viewing PDF files from a Windows Explorer View with Win2PDF context menu. To view a PDF with Win2PDF Desktop, right click and choose “View with Win2PDF”.

2) Command Line Usage and Automation Enhancements

  •  Added support for using web addresses (URLs) for input files in most command line features.
  •  Added PDF/A output support to TIFF2PDFA, JPG2PDFA, PNG2PDFA, BMP2PDFA, GIF2PDFA, and Image2PDFA command lines.
  •  Added support for GETCONTENTSEARCH command line to return text after a search term in a PDF file. This can be used to rename PDF files based on the contents of the file in a Microsoft Power Automate Script.
  •  Added “Web Page To PDF” and HTML2PDF command line features.
  •  Added support for SPLITPAGESAFTERSEARCH command line to split pages based on a PDF search field.
  •  Added support for SIGN command line to sign a PDF using a digital certificate.

3) Bug Fixes and Performance Improvements

Please download this free update and let us know if you have any questions.

Win2PDF will support the new Windows 11 operating system

Microsoft announced details of its latest version of Windows operating system last week. Windows 11, as it will be called, will have some new features and interface changes, and will be a free update to existing Windows PCs. It will be available later this year.

Will Win2PDF support it?

Yes! Win2PDF will fully support Windows 11* when it is officially released. We intend to release Win2PDF on the same day that the Windows 11 software is made available.

* Just as with Windows 10, Win2PDF will only support Windows 11 with the Intel and AMD processors (which accounts for most PCs); it will not support Windows 11 on the Qualcomm (ARM) processors.

Will my current PC be able to run Windows 11?

Microsoft has an overview of how to find device specification requirements, versions, and languages available for Windows 11. They also have an app you can download to see if your existing PC will be capable of installing Windows 11.

Will there be a charge for the Windows 11 Win2PDF update?

No. It will be a free update to all Win2PDF 7 and later versions of Win2PDF.

If I get a new Windows 11 PC, will I be able to transfer my license to a brand new PC?

Yes. Just install Win2PDF on your new PC and use your existing license code to activate the software.

We’ll have further announcements prior to the release of both Windows 11 and Win2PDF later this year. If you have any questions in the meantime, just let us know.

Digital Signatures, Digital Certificates, and PDF Authentication

For centuries people used a wax seal on letters to prove to the recipient that the letter was from a trusted source and had not been tampered with.  Did you know there is a way to do this digitally with your PDF file?

We recently added a feature that allows you to apply a digital certificate to a PDF file when it is created by Win2PDF. The certificate — which can be created by you, or purchased from a certificate authority — allows the recipient to verify that the file was ‘signed’ from the sender and that it hasn’t been altered or modified.

Before we get into the specifics of this feature, we should probably do a little explanation of terms surrounding digital signatures and what is commonly known as “digitally signing” documents, because it can be a confusing topic.

There are several ways of doing this that largely break down into 2 categories.

  1. Electronic Signatures (or e-signatures):  This method of signing a PDF allows the user to apply a simple image representing a person’s handwritten signature.  It is simple and easy to implement, and is legally permissible for many types of documents, but also not very sophisticated.  For example, it would be easy for someone to scan a signature of someone else, and then use it to apply to PDF files without the signature owner ever even knowing about it.  Aside from the representation of the signature, there isn’t a formal way of authenticating the creator is who they say they are.
  1. Digital Signatures: This method of signing is more sophisticated and preferred by companies that require a greater level of source authentication.  With this type of digital signature, an encrypted certificate is embedded within the PDF file.  The recipient of the file can view the certificate and verify exactly “who” created it.  For example, if I create a trusted certificate as John Doe from Win2PDF Sales and applied it to a PDF file, the receiver of that file would be able to verify that “John Doe” really was the creator of the file and that the document hasn’t been modified since it was signed.  There are also different types of certificates that can be used, from simple digital IDs that you can create yourself in Adobe Reader, to more advanced ones that can be purchased and verified by an approved certificate authority (CA).

The new Win2PDF feature utilizes this second method — digital signature, or digitally signing documents using certificates.  It requires a valid Win2PDF Pro software license (request a trial version if you want to try this), and it assumes that you have already either created or obtained your own digital certificate.  Adobe’s web site provides documentation on how to create your own Digital ID in Adobe Reader.

Here is an overview of the steps needed to apply a digital certificate to a PDF file using Win2PDF:


  1. Download and install Win2PDF Pro 10.0.108 or later software. [Note: This links to the Win2PDF Pro Service Pack for the latest version.]
  1. Download and install the PDFSignWithCertificate Plug-In.
  1. Once these 2 components are installed, you will see a new checkbox on the Win2PDF file save window.  If this box is checked, you will get a pop-up to select a certificate when the PDF file is saved.

  1. When the PDF file is saved, choose your Digital Certificate.  If you used Adobe Reader to create your digital ID certificate, for example, the file would have a .pfx file extension and be located on your hard drive folder named:

C:\Users\[your username]\AppData\Roaming\Adobe\Acrobat\DC\Security


  1. When the Digital Signature file is applied, it will require you to enter in a password to complete the certificate application to the PDF file.  This password is something you set up when creating your Digital ID or obtained from a certificate authority.

  1. Lastly, when you open the PDF file in Adobe Reader, Adobe recognizes the PDF file as being signed with a valid digital certificate.  You can see how this is displayed in Adobe below.
  1. If you examine the certificate in the Adobe Reader software, it will show the details that were used. Here, the recipient could verify that the file was signed by John Doe from Win2PDF Sales. 


For advanced users, Win2PDF Pro also supports a command line to sign PDF files with a digital certificate.

This has just been an overview of the new Digital Signature feature in Win2PDF Pro.  If you have any questions please let us know and we’ll be glad to provide more assistance.