Use PDFStitch to stitch more PDF pages into a single PDF page, stitch multiple PDF files together, stitch several PDF pages into one big canvas-like PDF

Using Windows 7 and pdfstich v2.1 dated 20130322 (is that the latest version?)

Using the command-line version, I run something like:

pdfstitch.exe -rt 0 -order H -scale 100 infile.pdf outfile.pdf

It comes back immediately with this error message:

Error input file format. Please try again.

But the input file is legitimate; I can view it in any old pdf viewer.

Help!
Customer
-------------------------------------

Hi folks
 
Time to time I have to merge PDF pages (pages 2-3 to one double sized page etc.). I have always done that by printing multiple pages per sheet... in my case 2 pages per sheet, but instead of printing, I have saved my work as PDF.
 
Now I have upgraded to MacOS X 10.6 and that doesn't work any more. If I try, I get warning "Saving a PDF file when printing is not supported, use File>Save instead".
 
My problem is that there is no option "Save multiple pages per sheet"... so there′s no use to save it.... Is there some workarounds? I really need this feature and I can′t believe it has been taken away....

Customer

-------------------------------------

Thanks for your message, you can use VeryPDF PDF Stitcher to stitch more PDF pages into one single PDF page, you may download and install VeryPDF PDF Stitcher from this web page,

http://www.verypdf.com/app/pdf-stitch/try-and-buy.html
http://www.verypdf.com/dl2.php/verypdf-pdf-stitch.exe

I have tried following command line just now, it works fine,

"C:\Program Files (x86)\VeryPDF PDF Stitch v2.1\pdfstitch.exe" -rt 0 -order H -scale 100 D:\downloads\VeryPDF.pdf D:\downloads\_out.pdf

you may use full path for both input and output filenames to try again, we hope the full path will work fine to you.

Please look at following screenshot for the stitched PDF file,

image

Here is the full command line options which supported by PDF Stitcher Command Line application,

C:\>"C:\Program Files (x86)\VeryPDF PDF Stitch v2.1\pdfstitch.exe"

=============================================================================
VeryPDF PDF Stitch
Copyright (C) 2005-2013 VeryPDF.com, Inc.
Web: http://www.verypdf.com/app/pdf-stitch/
Email: support@verypdf.com

VeryPDF PDF Stitch can help you stitch multiple PDF pages onto a sheet. You can specify how the pages are ordered, either in vertical columns or horizontally across the sheet.

Usage: pdfstitch [options] <input file> <output file>

Options:
-plan <string> <path>  : Use a plan file instead of other options. <string>
                         refers to the plan file type: "lua" or "legacy".
                         <path> refers to the path of the selected plan file.
                         Please do not use other options when used this
                         option.
-pr <int,int,...>      : Select the page range, e.g., 1,3,5-10. Or you can use
                         -even or -odd.
-even                  : Select only the even pages.
-odd                   : Select only the odd pages.
-rt <int>              : Rotate the input PDF pages. (0, 90, 180, or 270.
                         Default is 0.)
-per <int*int>         : Set pages per sheet, e.g., 2*4 refers to put 8 pages
                         per sheet: 2 pages a row and 4 pages a column.
-addline <int,int,int> : Add lines. <int,int,int> refer to the RGB values.
                         0<int<255.
-order <string>        : Specify the page order on each sheet.
        H              : Horizontal (default value)
        V              : Vertical
        HR             : Horizontal-reverse
        VR             : Vertical-reverse
-gx <int unit>         : Specify the width of each vertical gutter.
                         Unit is in, mm, or pt.
-gy <int unit>         : Specify the height of each horizontal gutter.
                         Unit is in, mm, or pt.
-t <int unit>          : Define the top margin for each output sheet.
                         Unit is in, mm, or pt.
-l <int unit>          : Define the left side margin for each output sheet.
                         Unit is in, mm, or pt.
-r <int unit>          : Define the right side margin for each output sheet.
                         Unit is in, mm, or pt.
-b <int unit>          : Define the bottom margin for each output sheet.
                         Unit is in, mm, or pt.
-size <string>         : Specify the sheet size. For instance, A3, A4, B3, and
                         letter. Cannot be used with -scale.
-scale <int>           : Enlarge or shrink sheets by an exact percentage,
                         e.g., -scale 100 is to retain the original size.
-$ <regcode>           : Register the application.

Examples:
pdfstitch -plan "lua" "test.plan" input.pdf _plan.pdf
pdfstitch -pr 1-5,6,9 input.pdf _pr.pdf
pdfstitch -even input.pdf _even.pdf
pdfstitch -odd input.pdf _odd.pdf
pdfstitch -rt 90 input.pdf _rt.pdf
pdfstitch -per 2*2 input.pdf _per.pdf
pdfstitch -addline 0 255 255 input.pdf _addline.pdf
pdfstitch -order V input.pdf _order.pdf
pdfstitch -gx 50 mm -gy 50 mm input.pdf _gxgy.pdf
pdfstitch -t 10 mm -b 10 mm -l 10 mm -r 10 mm input.pdf _tblr.pdf
pdfstitch -size A4 input.pdf _size.pdf
pdfstitch -scale 50 input.pdf _half.pdf

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in PDF Stitcher | Tagged , , , , | Leave a comment

Right margin cut off when print a PDF file

Hi,

We are using the pdfprintsdk.dll (v2.2.0.1) in our program for pdf printing task. Recently we found an issue that sometimes the right margin and bottom margin of printed page is cut off. In our program we use the command below:

pdfprint -$ "XXXX-XXXX-XXXX-XXXX" -printer "Konica Level 6" -papersource "Auto" -raster2 D:\test.pdf

But when we print the pdf document from Adobe Reader, the page is printed very well.

I tried the latest pdfprint.exe file downloaded from your website but still got that issue. I can provide the pdf file to VeryPdf for testing.

We have been trouble-shooting a few days. Could you please help fix that issue? Thanks.

Customer
---------------------------------------------------

image

You didn't mention how closely your printing is to the edge of your paper.

Another thing to consider is the physical limits of printers. If your margin is too close to the edge of the paper, then the printer absolutely will not print it--regardless of what any program says. Different printers can print different distances from the edge.

However, you can use pdfprint.exe to scale the paper during printing. Please run following command lines to try again, these command lines will scale the PDF page contents during printing, we hope these command lines will solve "Right margin cut off" problem to you,

pdfprint.exe -printermargins -raster2 -printer "Konica Level 6" -papersource "Auto" C:\test.pdf

pdfprint.exe -printermargins -raster2 -scalex 95 -scaley 95 -printer "Konica Level 6" -papersource "Auto" C:\test.pdf

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in PDF Print | Tagged , | Leave a comment

How to convert HTML file to PDF file from ASP code on 64bit Windows Server?

This article will let you know how to convert HTML files to PDF files On Web Servers With "VeryPDF HTML Converter Command Line" and "VeryPDFComRunCmd COM Component", you can convert HTML files to PDF files from ASP, PHP, C#, ASP.NET etc, program languages.

VeryPDF HTML Converter Command Line can be downloaded from this web page,

http://www.verypdf.com/app/html-converter/try-and-buy.html#cmd
http://www.verypdf.com/htmltools/htmltools.zip

after you download and unzip it to a folder, you can run following command lines to convert a web page to PDF file first,

htmltools.exe -$ XXXXXXXXXXXXXXXXXX test.htm _test1.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX http://www.verypdf.com _web1.pdf

htmltools.exe -$ XXXXXXXXXXXXXXXXXX -html2pdf2 test.htm _test_html2pdf2.pdf

htmltools.exe -$ XXXXXXXXXXXXXXXXXX -webkit test.htm _test_webkit.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX -webkit http://www.verypdf.com _web_webkit.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX -webkit http://www.verypdf.com/artprint/docprintsdk.htm _verypdf_webkit.pdf

htmltools.exe -$ XXXXXXXXXXXXXXXXXX -webkit2 test.htm _test_webkit2.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX -webkit2 -width 1080 -height 1080 http://www.verypdf.com _web_webkit2.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX -webkit2 -width 1080 -height 1080 http://www.verypdf.com/artprint/docprintsdk.htm _verypdf_webkit2.pdf

VeryPDFComRunCmd COM Component can be downloaded from this web page,

http://www.verydoc.com/exeshell.html#VeryPDFComRunCmd_COM_Component
http://www.verypdf.com/dl2.php/VeryPDFComRunCmd.zip

after you download and unzip it to a folder, you can run install.vbs to install "VeryPDFComRunCmd.exe" into your system, install.vbs file contains following line,

VeryPDFComRunCmd.exe /regserver

You can also run this command line in CMD window with administrator privilege to register "VeryPDFComRunCmd.exe" into your system.

Now, you can call "VeryPDFCom.RunCmd" from your ASP code to convert from HTML file to PDF file, you can use a simple code at like below,

<%
set VeryPDFCom = Server.CreateObject("VeryPDFCom.RunCmd")
dim nRetVal, bRet
strRet = VeryPDFCom.RunCmd2("D:\VeryPDF\htmltools.exe -webkit http://www.verypdf.com D:\out.pdf", 5)
Response.Write strRet & vbCrlf
%>

You may encounter "Permission denied" error message, like below,

------------------------------------------
Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied: 'CreateObject'
/html2pdf.asp, line 22
------------------------------------------

In order to solve "Permission denied" error message, you need give "Full Control" Permission to "Everyone" to "VeryPDFCom.RunCmd", please look at details at following web page,

http://www.verydoc.com/blog/verydoc-release-notes-verydoc-releases-an-exe-com-of-verypdfcomruncmd-exe-today-verypdf-exe-com-does-allow-you-to-call-ms-office-and-any-exe-application-from-asp-php-c-net-etc-program-languag.html

After you give "Full Control" Permission to "Everyone" user account to "VeryPDFCom.RunCmd" DCOM, the "Permission denied" error in ASP will be solved completely, you will able to convert from HTML files to PDF files from ASP code without any problem.

Here is a PHP example to call htmltools.exe application by VeryPDFComRunCmd COM,

<?php

$comobj = new COM("VeryPDFCom.RunCmd") or die("Couldn't create the COM Component");
$strCmd = $comobj->RunCmd2("D:\VeryPDF\htmltools.exe -webkit http://www.verypdf.com D:\out.pdf", 5);
echo("Output is:\r\n" . $strCmd);

?>
 
ASP.NET example to call htmltools.exe application by VeryPDFComRunCmd COM,
<%

dim VeryPDFCom = Server.CreateObject("VeryPDFCom.RunCmd")
dim strCmd = "D:\VeryPDF\htmltools.exe -webkit http://www.verypdf.com D:\out.pdf"
Response.Write(strCmd & vbCrlf)
dim strRet = VeryPDFCom.RunCmd2(strCmd, 5)
Response.Write(strRet & vbCrlf)

%>

If you encounter any problem with htmltools.exe application and VeryPDFComRunCmd COM, please feel free contact us, we will assist you asap,

http://support.verypdf.com/open.php

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in HTML Converter (htmltools) | Tagged | Leave a comment

How to split a large PDF into multiple documents with keyword? Split PDF based on keyword

I want to know how to divide a PDF file into multiple files with unique keywords?

I have a large PDF that has been combined from multiple documents.

How can I split the PDF back into multiple documents with a keyword delimiter?

Customer
---------------------------------------------
PDF Content Split is a a powerful software to split PDF to pages based on content!

  • A standalone program requires no Adobe Acrobat.
  • Split batch of PDF at the same time with ease.
  • User-friendly interface and simple operation.
  • Accurately recognize and identify content within PDF file.
  • Packed with varied practical and impressive features.

VeryPDF Content Splitter Command Line is a utility that lets you split Acrobat PDF files into multiple smaller pdf files based on location and text information within the files. It can be used to split composite PDF documents (such as invoices, reports or payroll) into separate files by keywords such as invoice number, account number or employee name.

PDF Content Splitter Command Line can be downloaded from this web page,

http://www.verypdf.com/app/pdf-content-splitter/try-and-buy.html#buy-cmd
http://www.verypdf.com/dl2.php/pdf-content-splitter-cmd.zip

After you download it, you can run following command lines to get the words and their positions,

  pdfcs.exe -searchtext "keyword" C:\in.pdf
  pdfcs.exe -searchtext2 "keyword" C:\in.pdf
  pdfcs.exe -searchtext2 "keyword" -opw 123 -upw 456 C:\in.pdf
  pdfcs.exe -searchtext2 "keyword" -casesensitive C:\in.pdf

such as,

pdfcs.exe -searchtext location E:\pdf-content-splitter-cmd\test.pdf
===== Search keyword in page 1 =====
[90.00, 215.64, 135.31, 226.44] 'Location'
===== Search keyword in page 2 =====
[90.00, 215.64, 135.31, 226.44] 'Location'
===== Search keyword in page 3 =====
[90.00, 215.64, 135.31, 226.44] 'Location'
===== Found Nothing for keyword (location) in page 4 =====
===== Search keyword in page 5 =====
[90.00, 215.64, 135.31, 226.44] 'Location'
===== Search keyword in page 6 =====
[90.00, 215.64, 135.31, 226.44] 'Location'
===== Search keyword in page 7 =====
[90.00, 215.64, 135.31, 226.44] 'Location'
===== Search keyword in page 8 =====
[90.00, 215.64, 135.31, 226.44] 'Location'
===== Search keyword in page 9 =====
[90.00, 215.64, 135.31, 226.44] 'Location'

after you get the position for this keyword, you can run following command lines to split this PDF file by location easily,

pdfcs.exe -$ XXXXXXXXXXXXX -mode 0 -x 422 -y 139 test.pdf "_out.pdf"

pdfcs.exe -$ XXXXXXXXXXXXX -mode 1 -x 422 -y 139 test.pdf "_out.pdf"

pdfcs.exe -$ XXXXXXXXXXXXX -mode 2 -x 422 -y 139 test.pdf "_out.pdf"

PDF Content Splitter Command Line is a standalone program, it does NOT require Adobe Acrobat Pro, which costs hundreds of dollars.

image

The following is the full command line parameters which included in PDF Content Splitter Command Line application,

C:\pdf-content-splitter-cmd\pdfcs.exe
Web: http://www.verypdf.com
Web: http://www.verydoc.com
Support: http://support.verypdf.com
Email: support@verypdf.com
Build date: Feb 16 2017
VeryPDF PDF Content Splitter Command Line v3.50
Batch split and group PDF pages by keywords.
Copyright 1996-2017 VeryPDF.com Inc.
===========================================
Support input format:
  1. PDF: Adobe Acrobat PDF file format
Support output format:
  1. PDF: Adobe Acrobat PDF file format
===========================================
Usage: pdfcs.exe [options] <Input-file> <Output-file>
  -opw <string>          : owner password (for encrypted files)
  -upw <string>          : user password (for encrypted files)
  -listtext              : list text lines in all PDF pages or selected pages
  -searchtext <string>   : search text in PDF pages and show result to console
  -searchtext2 <string>  : search text in PDF pages, display one word by one word
  -casesensitive         : compare strings with case-sensitive method
  -x <fp>                : set X position to locate text
  -y <fp>                : set Y position to locate text
  -mode <int>            : set PDF Content Splitter mode,
    -mode 0: Group continuous PDF pages which contain same text at special position
    -mode 1: Group valid text at special position and extract pages
    -mode 2: Group all PDF pages which contain same text at special position
  -skip                  : don't overwrite an output file if it already exists
  -h                     : print usage information
  -help                  : print usage information
  --help                 : print usage information
  -?                     : print usage information
  -$ <string>            : input your license key
Examples:
   pdfcs.exe -$ XXXXXXXXXXXXXXXX
   pdfcs.exe -listtext C:\in.pdf
   pdfcs.exe -searchtext "keyword" C:\in.pdf
   pdfcs.exe -searchtext2 "keyword" C:\in.pdf
   pdfcs.exe -searchtext2 "keyword" -opw 123 -upw 456 C:\in.pdf
   pdfcs.exe -searchtext2 "keyword" -casesensitive C:\in.pdf
   pdfcs.exe -x 227 -y 34 -mode 0 C:\in.pdf
   pdfcs.exe -x 227 -y 34 -mode 1 C:\in.pdf
   pdfcs.exe -x 227 -y 34 -mode 2 C:\in.pdf

Batch process examples:
   for %F in (D:\temp\*.pdf) do pdfcs.exe -x 227 -y 34 -mode 0 "%F" "out_%~nF.pdf"
   for %F in (D:\temp\*.pdf) do pdfcs.exe -x 227 -y 34 -mode 1 "C:\test\%~nF.pdf"
   for %F in (D:\temp\*.pdf) do pdfcs.exe -x 227 -y 34 -mode 2 "%F" "C:\test\%~nF.pdf"

Keywords:

PDF Split
PDF Size Splitter
PDF Invoice Split
PDF Page Content Split
PDF Payroll Split
PDF Reports Splitter

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in PDF Split-Merge | Tagged , | Leave a comment

How to extract table and text contents from a PNG image file? Use OCR to convert PNG image to Excel Spreadsheet

I tried your Trial Version to convert a PNG file to Excel. It returned a blank Excel document.

Input: Chose #2 (English)
Output: Tried both xls and xlsx
Attached PNG file is what I was attempting to convert

Does the Trial Version not work with file type PNG?

image

Customer
-----------------------------------------
You can use "VeryPDF Table Extractor OCR" software to extract Table from this PNG image file, please download and install "VeryPDF Table Extractor OCR" software from this web page,

http://www.verypdf.com/app/pdf-to-table-extractor-ocr/try-and-buy.html
http://www.verypdf.com/dl2.php/verypdf-table-extractor-ocr.exe

Please look at attached screenshot for the extracted table.

image

In order to increase the OCR accuracy, you need also do following processes to input PNG image file,

1. Click drop-down button at right of OCR button,

2. Click "Quality" option and select 300% item, this option will increase the DPI quality to input image file,

3. Click "Threshold" option, enter or change this option to 180 or 190 or 210 value, this option will convert from color image file to black and white image, it will improve the OCR accuracy also,

image

VeryPDF

VN:F [1.9.20_1166]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in Table Extractor OCR | Tagged , , , | Leave a comment
Page 1 of 1,38312345...102030...Last »