Batch Converting Folders of OpenDocument Text (.odt) Files to PDF Using Win2PDF

In last week’s post, we announced details on the latest Win2PDF support of various Word Processing formats like Microsoft Word (.doc, .docx), OpenDocument Text (.odt), and Rich Text Format (.rtf).

While MS-Office files have always been an important format for documents, there is an increasing need to support OpenDocument (ODF) files as well, mostly due to its increasing adoption within government and international organizations.  The reason for this is simple:  they’re open and not dependent on changes imposed by a single company.

Microsoft Office Documents (.doc) were originally binary files used by Microsoft as a proprietary format.  Microsoft adapted the format to an standards-based format based on Open Office XML in 2007, and this became the (.docx) format.  Today, both (.doc) and (.docx) formats are maintained by Microsoft.  The OpenDocument format, on the other hand, is an open format that is documented and maintained by an independent non-profit consortium known as OASIS.  

[If you’re interested in more details, here’s Microsoft’s list of differences between (.docx) and (.odt) files].

For these reasons and more, Win2PDF now supports more conversion options with .odt files. 

You can now read .odt files in the Win2PDF Desktop App, and batch convert folders of .odt files into the following formats:

If you want to convert individual files instead of batch converting folders of documents, you can either use the “export to ODT” feature or the “convertto” command line with the source or destination set to an .odt file.

Whether you’re looking to share these documents with others by email or the web, or simply preserve their formatting in another format, Win2PDF can help you batch convert folders of .odt documents to PDF quickly and easily.  If your organization is using OpenDocument Formats and there’s something else you’d like to see in terms of conversion, let us know.  We’re always interested in making the conversion process between different file formats easier and more flexible.

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.

Win2PDF Pro and Command Line Enhancements Available Now

The latest release of Win2PDF 10.0.136 is now available on the Win2PDF Download site. The biggest feature additions are for Win2PDF Pro. You can now add PDF security and watermarks directly to an existing PDF file (without having to recreate it) in the Win2PDF Desktop App. In addition, there have been multiple enhancements to the Win2PDF command line options (based on customer feedback) and bug fixes.

Here is a summary of the enhancements in Win2PDF 10.0.136:

  • Customer reported bug fixes

This Win2PDF 10 update is a free upgrade for Win2PDF 7 and Win2PDF 10 users. If you would like to evaluate one of the new Win2PDF Pro features (PDF watermark, PDF security, batch-convert, auto-rename, or watch folder), contact us for a free 30 day trial of Win2PDF Pro.

Questions or comments? Contact at [email protected] or through the online Win2PDF HelpDesk.

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).

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.

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.

HTML to PDF command line option now available in Win2PDF

Win2PDF.com has offered a free online HTML to PDF converter for some time, but it has limitations. It only works with public web pages, not private pages on an intranet or local HTML files. It also can’t be automated.

If you try our latest free update — Win2PDF 10.0.114 — there’s a new feature to the Win2DPF Desktop App’s command line optionsHTML to PDF. With this option, you can convert a local HTML file or a web URL directly to a PDF file.

From a Command Prompt window, just issue the command:

win2pdfd.exe html2pdf "sourcehtml" "destpdf"

The “sourcehtml” can be a specific local HTML file or a web URL. If the file name or path contains spaces, make sure to include double quotes (“”) around the complete source file name or URL. The URL can be specified as “https://www.example.com” or “www.example.com”.

Using this option from the command line allows users to automate batch conversion of HTML files to PDF using custom scripts or Microsoft Power Automate Desktop flows. Combined with other Win2PDF command line features, developers can build powerful automated solutions based on HTML reports.

Get Into Your PDF Flow using Microsoft’s Power Automate Desktop Software

Soooo many requests:

“I wish there was an easy way to convert all of these text files to PDF automatically.”

“Why can’t I just save an entire series of web pages as searchable PDF files?”

“How can I consolidate weekly reports from different applications and formats to a single PDF file without spending my whole afternoon doing so?”

These and other questions arrive in our email inbox daily. It seems everybody has some level of repetitive PDF processing that they do and are looking for an easier way to get it done. And since many of these issues are specific to a particular application or to your own business process, it’s not easy to find a one-size-fits-all solution that gives you the type of “push button” solution you really want.

That’s one reason why we’ve been so focused on creating tools like Win2PDF Auto-name, Win2PDF command-line processing, Win2PDF Plug-ins, and Win2PDF mail integrations. All of these features give powerful automation control to the user to eliminate repetitive steps and reduce processing errors.

Now, there’s something that combines all of these Win2PDF “tools” into a single problem-solving toolkit that works with all of your files and other applications. And best yet, it won’t cost you a penny!

Microsoft’s new Power Automate Desktop software is a free download for Windows 10 users that allows you to easily automate any repetitive tasks from your desktop, including the creation or manipulation of PDF files using Win2PDF. Once installed, you just need to create a desktop flow (the series of steps that automate a specific action or task). And no, you don’t need to be a coder to use it. Microsoft has a simple interface that most anyone can use.

It’s quite easy to build your first desktop flow using either pre-built drag-and-drop actions or by recording your own desktop flows to run later. For this latter method, it works similar to macros in Microsoft Office, by recording repetitive actions from your desktop across multiple applications—like your web browser, Microsoft Excel, Microsoft Outlook, Win2PDF, etc.—and then lets you replay the automation whenever needed.

For example, a quick desktop flow to convert all TXT files in a folder to PDF using Win2PDF (using the Win2PDF Auto-name feature) might look something like this:

A very simple recipe like this could save you a lot of time if you are currently working with PDF files regularly and in the same manner.

We’ll be diving into this topic in a bit more detail in future posts, including some more detailed examples where this might be useful. In the meantime, get into the flow and download the Power Automate Desktop software today and look at the Win2PDF Power Automate documentation to see what it can do for you.

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.