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.

New Win2PDF Features for Converting Word (.docx), Open Document Text (.odt), and Rich Text Format (.rtf) to PDF

Win2PDF has always been able to convert Microsoft Word (.docx), Open Document Text (.odt), and Rich Text Format (.rtf) files by printing from the programs that can view/print these types of documents. With the most recent 10.0.144 release, however, it is now possible to natively view and export in the Win2PDF Desktop App, do batch conversions, use command line options, and use the watch folder with these standard word processing documents. This native support does not depend on any external programs such as Microsoft Word, and requires Win2PDF Pro.

Here’s a summary of the new capabilities:

  • Open .doc, .docx, .rtf, .odt, and .txt files in the Win2PDF Desktop App

When you open the Win2PDF Desktop App, you can now open .doc, .docx, .odt, .rtf, and .txt files. This allows you to export these files to PDF, searchable PDF, image files, or other formats.

  • Export to .docx, .odt, and .rtf from the Win2PDF Desktop App (Win2PDF Pro feature only)

  • Batch convert .docx, .odt, .rtf, and .xps files in the Win2PDF Desktop App (Win2PDF Pro feature only)

The Win2PDF Desktop App’s batch conversion feature now supports the additional input formats:

.docx, .doc, .rtf, .odt, .txt

And supports the following output formats

.docx, .rtf, .odt, .xps
  • New Command Line Options for .docx, .odt, .rtf, and .txt  (Win2PDF Pro feature only)

DOCX2PDF

DOC2PDF

RTF2PDF

ODT2PDF

TXT2PDF

  • Enhanced ‘convertto’ command line option for other formats

There are new input and output formats in the convertto command.

This allows for more unusual combinations such as “TXT to JPG” or “DOCX to PNG”.

  • Use Win2PDF Watch Folder to dynamically convert .docx, .odt, .rtf, and .xps files that are added to a folder. (Win2PDF Pro TSE feature only)

The current version of Win2PDF can be installed from the Win2PDF download page, and this update is available at no charge for registered Win2PDF 7 and higher version users. If you have the standard Win2PDF and want to use the new Pro only features, you can upgrade to Win2PDF Pro.

Win2PDF 10.0.144 is now available

The latest release of Win2PDF (10.0.144) is now available on the Win2PDF Download site.

The biggest additions to this release are specific to the Win2PDF Pro version of the software, which now supports the ability to batch convert standard word processing documents (Microsoft Word, Open Document Text, and Rich Text Format) to PDF.

Here’s a summary of changes in this new version:

This Win2PDF 10 update is a free upgrade for all Win2PDF 7 and Win2PDF 10 users. If you have an existing Win2PDF standard edition license and wish to use any of the new Win2PDF Pro features, you can purchase a Win2PDF Pro Upgrade.

We’ll be posting more specific information on some of these features next week, with more details on changes to the interface and how these new features can be used. In the meantime, 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.

Name or Rename PDF Files Based on Content Below a Search Term

In previous blog posts [see 1, 2], we showed how Win2PDF can name (or rename) PDF files based on data contained within a file. This feature has been especially useful for users needing to manipulate invoices, as this twitter user has noted:

Brainsweat. Lots of it. We’ve been talking with a lot of users that are spending a lot of time trying to sort through massive numbers of PDF invoices and renaming them based on content, attaching them to emails, splitting them apart, etc.

We now have a free update (Win2PDF 10.0.141) that expands on the capability to make this happen. Namely, it adds the capability to capture the search field below a search term. Previously it only allowed you to select text that followed after a search term. As many of you may know, it’s not uncommon for the invoice number to reside on a different line, so now both types of searches are possible, as shown below:

To use this feature, you’ll first need to open a sample PDF document in the Win2PDF Desktop App to define the Auto-Name Search Field.

Then, based on the example file shown above, you’d enter in the Content Search Word of “Invoice #”, choose the search direction to be “Search Below”, and it will show you what the found search field is:

After you have defined this search field, you can do a few things.

One, you can use this term to rename a batch of PDF files if they already exist. You simply need to select the Auto-Rename menu option from the Win2PDF Desktop App, and then choose your Auto-Name variables including the “Search Field 1” text as shown below.

Two, instead of renaming existing PDF files, you can set your current printing method to use this Auto-Name method for new PDF files. You’ll just need to go to the Configure Win2PDF Auto-Name Settings page to set up how you’d like the PDF files to be named.

And three, you can use this feature via the command line interface for more advanced users. Previously we used the command line command “getcontentsearch” to find search text that immediately follows the search word. Now we’ve added the “getcontentsearchbelow” command, which finds the search text that is directly below the search word.

Hopefully, this is one additional feature to reduce the amount of brainsweat required for managing your invoices.

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.

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 Update Supports PNG and TIFF Background Transparency Formats

We recently had a specific customer request that started with,

“I need to convert a large number of PDF files into PNG image files. My original PDF files have transparent backgrounds. However, after using the Win2PDF Convert To Format command line, I get PNG files with white backgrounds. But I don’t want to change the background; I want the PNG files to have transparent background layers just like the PDF.

Could you please help me to solve that problem?”

It’s not uncommon to get some variation of this type of question. Frequently we can offer some advice or workaround that the customer may not be aware of.  In other cases, we can research the feature request and add it into our main Win2PDF software.  In this case we were able to implement this feature quickly and solve the customer’s problem.

The Win2PDF 10.0.129 update now includes support for the PNG and TIFF Background Transparency formats when converting from PDF files that have transparent backgrounds.  It can be accessed in a few different ways:

  1.  To convert a individual PDF file to a PNG or TIFF with a transparent background, you can open the PDF file in Win2PDF Desktop App and then Export as shown below.

  1. To convert a group of PDF files with transparent background layers, you can use the Win2PDF Convert To Format command line from a command window to convert the files to PNG or TIFF with transparency preserved.  This is documented in the WIn2PDF online help.
  1. And lastly it is available as new output options in the Win2PDF Pro Batch Convert feature.

One thing we urge customers to do is not assume that Win2PDF can’t do something if it’s not readily apparent.  Sometimes, just reaching out with your questions to [email protected] (or through our online support portal) will allow us to give you that “missing thing” you need for your PDF solution.

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