A Win2PDF Step-by-Step Guide: Reformatting File Names with Microsoft PowerRename

What do you do when you need to convert a PDF document into multiple images (1 per page), but with a very specific file name format? Consider this recent customer situation:

The customer had a PDF product manual (i.e., ‘Widget Manual.pdf’) and wanted to convert each page of the manual to a JPG image file. And, each JPG file needed to be named in a format that included its corresponding page number and with a uniform file name length (e.g., “Widget_Page001.jpg”).

While they were able to convert the PDF file to JPG (using the File ➔ Export ➔ JPEG option in Win2PDF Desktop), they weren’t able to control how the resulting file names would be formatted.

Rather than add complexity to the Win2PDF Desktop interface, we suggested using the free Microsoft PowerRename utility.

You can use this same methodology for other situations as well, so we can generalize the procedure. Here’s how:

Step 1) Download and install Microsoft PowerToys.

The easiest way is to just search for this app in the Microsoft Store and click Install.

Make sure you have the latest version of PowerToys installed, as older versions may not support regular expressions which will be necessary in our example.

Step 2) Save the multi page PDF file to a series of JPG files

The easiest way to convert the PDF to JPG is to use the Win2PDF Desktop Export feature, as shown here:

When exporting, the base file name defaults to the name of the PDF file, which can be changed if needed.

Upon file Save, multiple JPG files are created.

Win2PDF Desktop creates one JPG file for each page in the PDF and names them with the base name of the PDF file and increments of 1 (with preceding/following ‘.’characters). So, this is what you get:

Widget Manual.pdf ➔ Widget Manual.1.jpg, Widget Manual.2.jpg, Widget Manual.3.jpg, …

What you need, however, is to have it look like this:

Widget Manual.pdf ➔ Widget_Page001.jpg, Widget_Page002.jpg, Widget_Page003.jpg, …

Step 3) Select the JPG files and open PowerRename

After the files have been converted to JPG, you can select all of them in Windows explorer and right-click to choose PowerRename.

Step 4) Search and replace text using a regular expression

This step shows how regular expressions can be used to augment the file name. In many cases, a simple “search and replace” will be sufficient. But, since the customer in our example wants each JPG file to be a page number in a specific format (3 digits long padded with zeros), we can use the regular expression shown below to accomplish our goal.

Note: the icon for Enumerate items under Text formatting must be selected.

You’ll see a preview of the file name conversions on the screen, and when it looks correct you can select Apply. And that’s it! If you make a mistake after you’ve applied the rename, you can go back to Windows explorer and select the “” option shown below and choose Undo.

This is obviously a very specific example but it shows how it can be done. We highlighted this example using a regular expression because it is such a powerful and expansive tool that most programmers are familiar with.

If you’re renaming PDF files, the Win2PDF Pro Auto-rename feature is an easier to use solution that also supports renaming based on the content of the PDF.

If you need assistance with renaming files with specific criteria, let us know. Just as in the case of this customer, we can usually help, even if it requires finding a solution from another source.

Celebrating 15 Years of Excellence: Dane Prairie Systems, LLC and the BBB

In today’s rapidly evolving business landscape, it’s a remarkable feat for a company to not only survive but thrive for over two decades. Dane Prairie Systems, LLC has achieved this impressive milestone, marking 23 years of unwavering commitment to its customers and innovative solutions. Additionally, the company has proudly been a member of the Better Business Bureau (BBB) for 15 years, earning an A+ rating. This achievement speaks volumes about Dane Prairie Systems’ dedication to ethical business practices and outstanding customer service. This rating not only highlights Dane Prairie Systems’ integrity but also gives customers the confidence that they are dealing with a company that values their trust.

From all of us at Dane Prairie Systems, LLC, we thank our customers for their continued support! We appreciate your business and we look forward to serving you for many years to come. You can always reach out to us for customer support, feedback, or requests through the Win2PDF online support portal.

PDF Bookmarks, Import/Export Win2PDF Settings & More in Latest Win2PDF Update

If you have changed Win2PDF from the default settings and want to preserve them when you move to a new computer (or group of computers), there is a new feature in our most recent Win2PDF 10.0.140 release that will help. You can now export your Win2PDF settings to a file, and then import that file on a new machine once you have reinstalled Win2PDF.

Win2PDF Desktop Settings Export/Import

This is accomplished through the Win2PDF Desktop Application (shown above). It can also be used from the Win2PDF command line with the EXPORTSETTINGS and IMPORTSETTINGS commands.

The ability to export/import settings can be very useful if you use Win2PDF with multiple printers with different settings; this feature will export/import multiple Win2PDF printers if they are configured.

It is also useful if you have configured Win2PDF with the Auto-name feature, or have made numerous other changes to the standard Win2PDF settings. Once you’ve established your desired settings, you can use this feature to backup your configuration settings, or use it to copy to a group of other machines using Win2PDF (if you wanted all users to Auto-name files in the exact same way, for example).

Also included in this release is support for PDF bookmarks. Bookmarks are a quick and easy way to jump to a certain section of a PDF file with a single click from a bookmarked word or phrase. You can see an example of a PDF file with bookmarks in the following image (using Adobe Reader).

Bookmarks in PDF – Shown in Adobe Reader

You can now add or delete bookmarks using the following command line options:

  • The ADDBOOKMARK command line allows you to specify a title and page number to insert into a PDF file.
  • The ADDBOOKMARKAFTERSEARCH command line allows you to search through a PDF document for a keyword (like “Chapter” or “Invoice”, for example), and then add a bookmark to that section of the PDF file. This is probably the most useful bookmark command because it lets you add bookmarks without knowing what page the anchor text resides on. It makes it easy to create bookmarks on dynamically generated reports with anchor text that may vary when each report is generated.
  • The DELETEBOOKMARKS command line can be used to remove bookmarks from any PDF file.

Lastly, we added the ability to remove a trial license to the Win2PDF Desktop Application through the Help menu.

Win2PDF Desktop – Remove Win2PDF License

This makes it easy to enter a purchased license without having to uninstall and reinstall the software after the evaluation period.

If you would like to evaluate Win2PDF or Win2PDF Pro, contact us for a free 30 day trial.

This Win2PDF 10.0.140 update is a free upgrade for Win2PDF 7 and Win2PDF 10 users.

Microsoft Print to PDF Missing in Windows 7

Many people have tried the limited “Microsoft PDF Printer” capability that Microsoft has made available in Windows 10 and have asked how to use the PDF writer in Windows 7.  The short answer is:  You can’t.  It’s not available in Windows 7.

A couple of months ago we posted that Win2PDF still supports the Windows XP operating system.  The same holds true for Windows 7: All of the features in Win2PDF 10 work the same in both Windows 7 and Windows 10 & 11.

Win2PDF is especially useful for XP and Windows 7 users who need a PDF writer, but what about Windows 10 and Windows 11 users?  If they already have access to “Microsoft Print to PDF”, why would they need Win2PDF?

Many reasons.  Here is a summary of features that are available in Win2PDF that are NOT available in the Microsoft Print to PDF printer.

If your organization uses a mix of different versions of Windows, standardizing on Win2PDF allows you to support all versions from Windows XP through Windows 11.

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.

Remote Works Podcast from Citrix

The good news is that over the past year, most of us have had to adapt to at least some level of remote or at-home work. Technology has scaled up and companies have invested in tools for collaborative workflow, teleconferencing (e.g., Zoom calls in your pajamas), and converting paper-dependent processes to electronic documents (PDFs everywhere!).

The bad news is that we may need to rely on these tools and processes for the foreseeable future, as the pandemic lingers and pushes more employers to continue the work-at-home model.

One podcast we’ve found interesting is the Remote Works podcast produced by Citrix. It’s a podcast focussed on the changing nature of remote work, with insightful interviews and topics (sustainability, burnout, security, etc.) related to our new work-at-home reality. Each episode is about 25 minutes long and centers around a unique challenge of remote work. If you are a fan of podcasts, it’s worth adding to your subscribe lists.

For those not familiar with Citrix, many of our Win2PDF Terminal Server Edition customers use the Citrix platform to host their applications (and Win2PDF) for remote access, so they are well positioned to have real-world experience in this area.

In other news, we’re still tracking for a new update of Win2PDF that supports Windows 11 (with full support on day 1), and a few other new features are in the pipeline. We’ll have more details of both in a future post. In the meantime, enjoy the rest of summer!

Windows XP is Dead, Long Live Windows XP!

Or, to paraphrase Mark Twain, “the reports of Windows XP’s death have been greatly exaggerated!”

While Microsoft officially stopped development of its Windows XP operating system in 2014, it’s still used on about 25 million computers. The reason is typically due to the fact that companies still run older (legacy) software programs that were discontinued, or no longer work in newer operating systems and can’t be updated.

So, XP lives on. And for organizations that continue to need PDF reports or output from these legacy programs, they might find themselves outpaced by their PDF solutions. Even customers wanting to purchase any of the current Adobe Acrobat products will find that it is no longer available for Windows XP.

Fortunately, Win2PDF still actively supports XP as a platform with all of our latest feature enhancements and bug fixes.

If you find yourself with such a need, download the free Win2PDF for XP trial version from our web site (make sure to use the Win2PDF for Windows XP download button). Also, while many Windows XP computers are offline for security, the Win2PDF for Windows XP setup program does not require an internet connection.

To further blaspheme the wisdom of Mark Twain:

“Good friends, good PDFs, and a sleepy conscience: this is the ideal life.”

Mark Twain

Co-founder of Adobe who helped develop PDF passes away at 81

Charles “Chuck” Geschke, the co-founder of Adobe who helped develop the PDF format, passed away at the age of 81.

His legacy is considerable, especially when you consider these estimates:

* Over 2.5 TRILLION PDF documents are created each year

* More than 50% of files stored in the cloud are PDF files

* 60% of non-image attachments in Outlook are PDF files

Our condolences to this truly remarkable pioneer of the desktop publishing industry. Rest in peace.

Flattening a PDF file with Win2PDF

We recently stumbled across this article outlining a problem with 2020 tax returns saved as a PDF file.


Q: I’ve been using the free Adobe Acrobat Reader DC to fill-in and save PDF tax forms on my PC. But when I recently called up a stored tax form, the data I’d filled-in appeared for a moment, then disappeared, leaving just a blank tax form. I then called up other tax forms that I’d saved earlier, and found that they still had their data. I then tried using another PC, and found that some stored tax forms contained the data I’d entered, while others had gone blank. Adobe won’t help me with this problem because I’m using a free app. What’s wrong and what can I do?


In this case, there was a glitch in the PDF viewer where the filled-in data appeared to “go missing”, even though the information was saved in the file. This type of problem is caused by PDF layers, and it can be easily fixed by flattening the PDF file.

Basically, flattening the PDF means compressing all of the data onto a single layer. No data or information will appear to be missing — all of it will be visible at all times — so the problem experienced with the “missing data” in the tax forms will be eliminated.

While there are several ways to flatten a PDF file, one of the easiest is to just print the document from Adobe Reader (or any PDF viewer) to the Win2PDF printer using the PDF Image Only option. That will flatten it automatically.

After you print to Win2PDF, the resulting PDF will no longer be searchable. If you want the text in the flattened PDF to be searchable, you can download and install the “Win2PDF Desktop with OCR” add-on and select “Portable Document Format – Searchable” as the Win2PDF “Save As Type”.

How the Lowly PDF Played the Longest Game in Tech

Here’s an interesting article on why PDF has been the de facto digital document format for almost 30 years (with Win2PDF being available for more than 20 years of that time). One secret to the format’s success: “You only think about it when it doesn’t work. And happily, for PDFs, that’s quite rare.”

As the article notes, “the real key to the dominance of the PDF has less to do with its future than with its roots. From the start, it was meant to be lightweight and forward compatible, meaning the format would continue to be readable well into the future.” Even documents created with PDF version 1.0 continue to be readable today with the existing PDF readers.

So, hats off to the lowly PDF. It rarely garners the respect it should.