Monthly Archives: April 2019

Running the SQL Image Viewer command line interface in batch files

The SQL Image Viewer Professional Edition includes a command-line interface that you can use to run your export jobs unattended.  If you use batch files to run your export jobs, you would need to ensure that the working directory is folder where the SQL Image Viewer command-line executable (SQLImageViewerCmd.exe) is located.

So say the executable files are located in this folder:

Our batch file (which is in another folder) calls the executable, and provides the export definitions as the first parameter.

This is the error that will be raised when we run the batch file.

This is because the working directory is the folder where the batch file is located.  To fix this issue, use the CD command with the /N flag in the batch file to set the working directory to the SQL Image Viewer folder i.e.

In this way, when SQL Image Viewer runs, it can find all the files that it requires to run successfully.

Convert PDF to JPG fast

Easy PDF Explorer is a WIndows application that can help you convert your PDF  to JPG images.   You can also export your PDF pages to PNG or bitmap files.  It works with batches of files, and can easily convert hundreds or thousands of PDF files.

We start by first selecting the PDF files we want to convert.  In the example below, we have selected 6 PDF files to convert.

Next, click on the Export pages as images button:

to bring up the export options page.

We enter the folder we want to store the exported images in, and also the naming convention for the image files.  In this example, we will use the PDF file name without the extension, and append the page number.  In this way, for a PDF file named contract.pdf, the exported pages will be named

  • contract_0001.jpg
  • contract_0002.jpg
  • contract_0003.jpg

You can easily modify the naming convention to suit your needs.  In addition to the JPEG format, you can also export your pages as PNG or BMP files.


You can also choose the size of the image relative to the on-screen size.  Finally, you can choose which pages to convert to images.

Here, we are choosing to export pages 1 to 5.  In addition to explicitly listing the page numbers, we can use the FIRST and LAST tags.  For e.g. to export the last 3 pages, use the <LAST:3> tag.

You can provide multiple values for the page numbers.  For e.g. to export the first 3 and last 3 pages, we will enter the following:

Download a 14-day trial now, and see how Easy PDF Explorer can help you convert your PDF pages to JPEG images fast and easily.

How to merge PDF files

Easy PDF Explorer is a WIndows application that can help you merge hundreds or thousands of PDF files fast and easily.  It works with batches of files, and can easily merge one or more PDF files into your existing file, and at specific pages.

Let’s start off by adding a PDF file containing a copyright page to 2 PDF files.  We first select the 2 files so that they appear in the file details list.

select the files to merge

Next, click on the Add pages button:

the button to open the merge options

to bring up the merge options.

the merge options page

We want to merge a PDF file containing copyright messages to the beginning and end of each of the  2 files.  To do this, we select the PDF file we want to insert, and enter the insertion points as ‘beginning, end‘ e.g.

indicate which file to combine with, and at which pages

Click on the Start button, and Easy PDF Explorer will add the pages from copyright.pdf file to our files.  That’s all there is to it.

Easy PDF Explorer doesn’t limit you to a single PDF file to merge.  For e.g. say we want to combine another PDF file containing our company information.  We simply add the file to the list of files to add e.g.

specify more than 1 file to combine with

You can also provide the exact pages at which to merge the PDF files.  For e.g. if we wanted to insert the copyright.pdf file at pages 2 and 6, we would do this:

indicate which pages to combine the files into

Download a 14-day trial now, and see how Easy PDF Explorer can help you save time merging  PDF files.