Convert CSV to PDF Files Easily with 'Convert XLS' from Softinterface


Customers
 

convert CSV to PDF software, adobe customer

Adobe Systems Inc. Chooses 'Convert Doc'.  A custom site license has been signed by Adobe allowing them to install 'Convert Doc' on their servers.  They will be using it specifically to do Doc to HTML conversions. "We look forward to using your product and potentially working together in the future", Bob Free, Adobe

convert CSV to PDF IBM Customer

Great customer service, prompt attention to our requirements and lightening speed development has been my experience with the staff at Softinterface Inc. Within a few hours of installing... Bruce King, IBM Canada, Toronto, Ontario


Click for the BBB Business Review of this Computers Hardware, Software & Services in Santa Monica CA

convert CSV to PDF software, no viruses


You need to convert from

CSV to XLS

CSV to XLSX

CSV to Fixed Width Text (ASCII/ANSI/Unicode)

CSV to PDF

XLSX to CSV (Unicode/ASCII/ANSI)

XLSX  to Fixed Width Text (Unicode/ASCII/ANSI)

XLS to CSV (Unicode/ASCII/ANSI)

XLS  to Fixed Width Text (Unicode/ASCII/ANSI)

Excel to PDF

Text File to XLS Conversion

Text File to XLSX Conversion

Text File to CSV Conversion

More... 

Convert CSV To PDF or XPS

(Batch Conversion of CSV Files to PDF or XPS)

English, Deutsch, Franįais, Italiano, 日本語, Brazilian Portuguese, Espaņol, Other Languages

Convert CSV to PDF using 'Convert XLS'

Note: A CSV file can be any character delimited file, see CSV File Definition for details.

Do you need software to convert CSV to PDF?  If so, we got just the tool you need. 'Convert XLS' can convert CSV to PDF as well as XLS, HTML, XML, or a fixed width text file. To be able to convert to PDF or XPS, you will have to install a licensed version of MS Office 2007 (or greater) and the “Microsoft Save as PDF or XPS” add in. Go to Microsoft’s web site and search for “Microsoft Save as PDF or XPS Add in”.

Note: We can easily handle HUGE CSV file sizes (gigabytes). Unicode and other text encodings (ASCII, ANSI, UTF8 etc.) are supported.

Furthermore, all our conversion tools allow you to automate the process by using the built in scheduler, command line (batch files, command prompt etc.), or for you programmers a COM/ActiveX interface.

CSV to PDF Conversion Download button

Office 2019 Compatible!

Though we only discuss PDF on this page, everything is also applicable for the XPS file type  For details on how to specifically convert from CSV to PDF please continue reading below.  See the bottom of this page for some examples showing how to convert CSV to PDF from the command line.

Convert CSV to PDF with the User Interface

What Conversions Are Possible With CSV Files

Below we show you exactly what you can convert CSV files to/from when using ‘Convert XLS’:

Convert from CSV to these file types Convert To CSV file from these file types

 

 ** Requires the use of the ‘MS Excel’ conversion method.  Unicode, UTF8 and ASCII/ANSI supported.

Convert CSV to PDF Files From the User Interface

 See an  online video. Convert csv to pdf files video

1.  Select the ‘Convert Files’ Action To Do

2. Select the input file path. For a whole folder be certain to use the *.ext format.  For example if you want to convert the folder of csv files located in “C:\input folder\” then use “C:\input folder\*.ext” where ext is the extension used for the files.  Typically, *.ext will be *.csv but not always.

     Choose the ‘MS Excel’ conversion method. 

     Click on the Options button. Here you can specify numerous options such as

·          Range within the CSV file to convert. For example if you wanted only the 2nd column you could specify "B:B".

·          Single/multiple file output (not applicable when converting from a CSV file)

·          Optimization: Use ‘Optimize for Web’ to create a smaller file.

·          Page Range: You can specify a page range using the From and To page settings.  If From is left blank, it will start from the beginning. If the To is left blank it will go to the last page.

·          Ignore Print Areas: Enable this to ignore print areas.

·          Include Document Properties: Document properties can be included in the PDF, XPS file if you enable this option.

3.  Now specify the Target (output) file path. If you are doing a whole folder, then specify the whole folder using the “*.ext” format (for example "c:\output\*.PDF").  Finally, specify the ‘Convert To File Format” target (output) file type.  In this case it is “[-1] PDF (*.PDF)”. Note that you will have more choices available if you choose the ‘MS Excel’ conversion method.

4. Click the CONVERT button on the tool bar to start converting.

 

 

Command Line Examples: Conversion of CSV to PDF

NOTE: 'Convert XLS' can be used simply with the graphical user interface (GUI).  If you've never heard of 'Command Line' before, we would recommend not reading this section and instead download and try the software.

This is just a sample from the documentation.   If you have trouble running these examples please see Helpful Hints For Creating a Command Line within the documentation.

Although the discussion below refers to PDF, everything is similarly applicable to the XPS file type.

There is a great amount of flexibility when converting files to PDF. You can specify:

·          Sheets to convert (not applicable when converting from a CSV file)

·          Range within the sheet(s) to convert

·          Single/multiple file output (not applicable when converting from a CSV file)

The items above are handled with the /N{sheets^range} and /U switches. Further PDF specific options are available:

·          Optimization: Use ‘Optimize for Web’ to create a smaller file.

·          Page Range: You can specify a page range using the From and To page settings.  If From is left blank, it will start from the beginning. If the To is left blank it will go to the last page.

·          Ignore Print Areas: Enable this to ignore print areas.

·          Include Document Properties: Document properties can be included in the PDF, XPS file if you enable this option.

The items above are specified using the /E"{^^^^PDFOptimization^PDFFromPage^PDFToPage^PDFIgnorePrintAreas^PDFIncludeDocProperties}" switch.

The first example shows how to convert a whole csv file.  Next we’ll show how to convert specific ranges. Finally we’ll show how to specify PDF attributes.

The examples that follow are shown using csv files for the input file.  To convert to XPS instead of PDF in the examples below simply change the /C -1 to /C-2.

Each switch shown in blue is described in detail below the examples. It is highly recommended you review each switches description before implementing the example, thereby giving you the full power of ‘Convert XLS’.

Example 1 (Whole CSV File Conversion) 

Below we show how to convert the whole workbook (all sheets, and all used ranges) to a single PDF file:

  ConvertXLS /S"C:\in\Y.CSV"   /T"C:\out\Y.PDF" /C-1 /V

To do a whole folder is quite simple:

  ConvertXLS /S"C:\in\*.CSV"   /T"C:\out\*.PDF" /C-1 /V

 

Example 2 (Range Specific Conversions) 

Specifying ranges can be very powerful. For example if you want to only extract the 2nd column you can use “B:B” for the range.  To specify a specific range, say A1 to B5 simply change the /N switch slightly to:

  ConvertXLS /S"C:\in\Y.CSV" /F-4143 /N"^A1:B5" /T"C:\out\Y.PDF" /C-1 /V

Example 3 (Specify Specific PDF Attributes) 

Here we use the /E switch to specify PDF attributes (Optimization, From Page, To Page, Ignore Print Areas, and Include Document Properties). The syntax for the /E switch is shown below:

/E"^^^^PDFOptimization^PDFFromPage^PDFToPage^PDFIgnorePrintAreas^PDFIncludeDocProperties}"

This is a carrot “^” separated string. The first few items in this string are omitted above for clarity, as they are not useful in the case of converting to PDF. Omitting the /E switch from the command line will set the PDF Optimization off (not minimized file size), from and to pages will be from the beginning and to the end of the document, Print Areas will be ignored and Document Properties will not be included.

To convert a whole csv file, yet specify to optimize the PDF for web use (minimize file size), only convert pages 2-5, ignore print areas and include document properties the syntax would be:

  ConvertXLS /S"C:\in\Y.CSV"   /T"C:\out\Y.PDF" /C-1 /V /E"^^^^1^1^5^TRUE^TRUE"

·          The /S and /T switches above specify Source (input) and Target (output) path respectively and are both required when converting a single file.  It is always a good idea to use double quotes around the path especially if there are space characters within the path.

·          The /C-1 switch specifies that the target (output) file to be a PDF. Use -2 for XPS.  See Excel Conversion File Type Constants for all possible values for /C and /F.

·          The /V (for Verbose) switch is used to give instant feedback by having the program report the status of the conversion with a message box.  You can remove this once you have perfected your command line specification.  You can also (or instead of /V) create a Log file that will contain the results of the conversion by using the /L switch.

·          /N"{Sheet^Range^DelimChar^FixedWidth^X}"  Is used when converting to/from an Excel, CSV or fixed width text file. It specifies which Sheets to convert, what Range to convert and what delimitation/separation character to use, and the method to import export to a fixed width text file.  The syntax for this parameter is critical, the items are separated by a carrot character "^".  If you do not include Sheet, Range or DelimChar by leaving them blank they will default to all sheets, all used ranges and the comma delimitation character.  Be certain to include the double quotation character around this parameter like: /N"Apples,Oranges^A2:B20^9"

Sheet:  Only used when an Excel file is the original file. Use "*" or "" for all sheets. You can use names of sheets, or the numeric index. If using numeric indices, you can specify ranges of sheets (i.e. "1,4,10-20" and "4-10,9" etc.). Range and DelimChar are optional.

Range: You could optionally specify a range, say if you only wanted to convert a portion of the input file.  Use the same syntax as an Excel range (e.g. A1:B10).

DelimChar: Not useful in these examples. It is for specifying the ASCII value of the delimitation character used in a CSV file. 44 for comma, 124 for Bar “|”, 9 for the tab etc.

FixedWidth: Not useful in these examples. Here you can specify how to import/export a fixed width text file.  Not used in this example.

·          /E"{UseDoubleQuotes^ UseCustomXML^ RootNode^ RowNode^ PDFOptimization^ PDFFromPage^ PDFToPage^ PDFIgnorePrintAreas^ PDFIncludeDocProperties}" This parameter is used for additional conversion options and compliments /N. Several things are handled in this parameter. The syntax for this parameter is critical, the items are separated by a carrot character "^" and you may not omit any carrots. Be certain to include the double quotation character around this parameter.

UseDoubleQuotes: 0=Never, 1=Sometimes, 2=Always

UseCustomXML: TRUE to enforce custom XML attributes for the Row and Root nodes, else use FALSE

RootNode: Name of the root node. Used if bUseCustomXML is TRUE

RowNode: Name of the row node. Used if bUseCustomXML is TRUE

PDFOptimization: 0 standard, 1 = Minimize for web usage.

PDFFromPage: Page number to start the PDF or XPS output file. Leave blank or set to 0 to start at the beginning.

PDFToPage: Page to end the PDF or XPS output file. Leave blank or set to 0 to go to the end.

IgnorePrintAreas: TRUE to ignore print areas, else FALSE

PDFIncludeDocProperties: TRUE to include document properties, else FALSE

A typical string might look like the following:

/ E “0^TRUE^MyRoot^myRow^0^0^FALSE^FALSE^

Omitting the /E switch will set the PDF Optimization off (not minimized file size), from and to pages will be from the beginning and to the end, Print Areas will be ignored and Document Properties will not be included.

Note: It is highly encouraged that you use the Verbose (/V) switch initially to see what the status of your conversion is and to help you perfect your command line.  When in verbose mode the program will tell you what went wrong or right with your command line using message boxes.