Is there a way to export the data (file name, page count, file size, information) to an excel spreadsheet?

Is there a way to export the data (file name, page count, file size, information) to an excel spreadsheet? I need to run some calculations on the Page Count.

Customer
-------------------------------------------------------
Thanks for your message, what is the input file format? is it TIFF or PDF format?

If your source file is TIFF format, you can download "VeryPDF TIFF Toolkit" from this web page, you can use "VeryPDF TIFF Toolkit" to count the page number in TIFF files easily,

http://www.verypdf.com/tifftoolkit/try-and-buy.html
http://www.verypdf.com/dl.php?file=verypdf-tifftoolkit.exe

You can use "tiffinfo.exe" in "VeryPDF TIFF Toolkit" to count the page number in a multi-page TIFF file easily, for example,

"C:\Program Files (x86)\VeryPDF TIFFToolkit\tiffinfo.exe" E:\multipage.tif
TIFF Directory at offset 0xd178 (53624)
  Subfile Type: (0 = 0x0)
  Image Width: 2000 Image Length: 2388
  Resolution: 300, 300 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 4
  Photometric Interpretation: min-is-white
  FillOrder: msb-to-lsb
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 99999999
  Planar Configuration: single image plane
  Software: Oi/GFS, writer v00.06.01P
  Group 4 Options: (0 = 0x0)
TIFF Directory at offset 0x165d8 (91608)
  Subfile Type: (0 = 0x0)
  Image Width: 2000 Image Length: 1888
  Resolution: 300, 300 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 4
  Photometric Interpretation: min-is-white
  FillOrder: msb-to-lsb
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 99999999
  Planar Configuration: single image plane
  Software: Oi/GFS, writer v00.06.01P
  Group 4 Options: (0 = 0x0)
TIFF Directory at offset 0x1ebca (125898)
  Subfile Type: (0 = 0x0)
  Image Width: 1912 Image Length: 2004
  Resolution: 300, 300 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 4
  Photometric Interpretation: min-is-white
  FillOrder: msb-to-lsb
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 99999999
  Planar Configuration: single image plane
  Software: Oi/GFS, writer v00.06.01P
  Group 4 Options: (0 = 0x0)
TIFF Directory at offset 0x29654 (169556)
  Subfile Type: (0 = 0x0)
  Image Width: 2004 Image Length: 2000
  Resolution: 300, 300 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 4
  Photometric Interpretation: min-is-white
  FillOrder: msb-to-lsb
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 99999999
  Planar Configuration: single image plane
  Software: Oi/GFS, writer v00.06.01P
  Group 4 Options: (0 = 0x0)
TIFF Directory at offset 0x37afa (228090)
  Subfile Type: (0 = 0x0)
  Image Width: 1984 Image Length: 2628
  Resolution: 300, 300 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 4
  Photometric Interpretation: min-is-white
  FillOrder: msb-to-lsb
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 99999999
  Planar Configuration: single image plane
  Software: Oi/GFS, writer v00.06.01P
  Group 4 Options: (0 = 0x0)

If you want export the data (file name, page count, file size, information) from PDF file, you can use Advanced PDF Tools Command Line software,

http://www.verypdf.com/app/advanced-pdf-tools/try-and-buy.html#buy-cmd
http://www.verypdf.com/pdfinfoeditor/advanced_pdf_tools_cmd.zip

You can run following command line to extract information from PDF file easily,

pdftools.exe -r -i D:\test.pdf

After you get these information, you can insert them into an excel spreadsheet by manual or by a script easily.

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 Advanced PDF Tools, TIFF Toolkit | Tagged , | Leave a comment

How to replace text in PDF file with Embedded Subset Fonts?

Hello,

Attached you can find the example. I wrote the document with word 2013 and printed it with pdfcreator. I know that there are many pdf printers available, but we need to use pdfcreator for several reasons. Switching to another pdf printer is only the last option.

The command i used is,

pdftr.exe -contentreplace "text=>test" test.pdf _textreplace_test.pdf

For some reason overlay works, but "-contentreplace" fails. Overlay is a good option, but "-contentreplace" would be better on many situations.

I hope you can help, so we can use your text replace tool for our needs.

Thanks
Customer
---------------------------------------------
We have checked your PDF file, your PDF file contains Embedded Subset font, please look at following screenshot,

image

this PDF file doesn't contain any valid text contents, the following picture does show the contents of the PDF page, as you see, the characters are become the garbage characters, so it is impossible to replace text contents in PDF page with "-contentreplace" option,

image

so you have to use "-searchandoverlaytext" option to replace text in this PDF file, for example,

pdftr.exe -searchandoverlaytext "text=>test" -overlaytextfontsize 10 D:\dow
nloads\test.pdf D:\downloads\test2.pdf

You can use above command line to replace "text" to"test" in this PDF file correctly.

image

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 Text Replacer | Tagged , , | Leave a comment

What’s the difference between veryOpen and veryOpenEx functions in PDFStamp SDK product?

Hi,

Continue to this article,

http://www.verypdf.com/wordpress/201701/how-to-use-pdfstamp-com-interfaces-how-to-install-pdfstamp-sdk-into-my-system-43273.html

Further to my email just a few minutes ago, I have it working now, so please ignore most of that email, my remaining questions are only:

1. I notice in the manual that the command is veryOpen, but in your example it is veryOpenEx? Do I need to add Ex to all the commands in the manual?

2. In the manual for veryOpenEx it says that to stamp the original document the second parameter should be NULL, but I have not found a syntax that works, I tried omitting the second parameter, with and without the comma, setting it to NULL , but I only got errors. What is the syntax in this case?

Thanks in advance for your help.

Regards,
Customer
----------------------------------------
Hi,

Thanks for the detailed information, I am further along but not fully working.

I confirm that I am only working in 64 bit (i.e. Win Server 2012 R2 and IIS 8.x 64 bit, classic asp).

PDFstampCOM is registered, when I run a modified version of your test code (as you provided below) with error reporting I can see that the object is created and is not empty.

But after pdfstamp.VeryOpenEx the error code is -1 which I understand from the manual means "Open the PDF file Failed".

The pdf file I am using is within the website folder structure so that IIS can access it i.e.

id = pdfstamp.veryOpenEx("C:\QMS\doc\test_IN.pdf", "C:\QMS\doc\test_OUT.pdf")

Is the error message referring to the input file or could it be referring to the output file (which does not exist)?

Can you see anything wrong with that command?

Could it be something to do with permissions?

As it is a webserver, should the name not include the Drive letter and Web root folder?

On another topic I notice in the manual that the command is veryOpen, but in your example it is veryOpenEx? Do I need to add Ex to all the commands in the manual?

In the manual for veryOpenEx it says that to stamp the original document the second parameter should be NULL, but I have not found a syntax that works, I tried omitting the second parameter, with and without the comma, setting it to NULL or "NULL", but I only got errors.

Thanks in advance for your help.

Regards,
Customer
----------------------------------------
>>But after pdfstamp.VeryOpenEx the error code is -1 which I understand from the manual means "Open the PDF file Failed". The pdf file I am using is within the website folder structure so that IIS can access it i.e.
>>id = pdfstamp.veryOpenEx("C:\QMS\doc\test_IN.pdf","C:\QMS\doc\test_OUT.pdf")
>>Is the error message referring to the input file or could it be referring to the output file (which does not exist)? Can you see anything wrong with that command? Could it be something to do with permissions?

Maybe pdfstamp COM hasn't read permission to "C:\QMS\doc\test_IN.pdf" file, you may write a VBS code to call following code to try again,

id = pdfstamp.veryOpenEx("C:\QMS\doc\test_IN.pdf", "C:\QMS\doc\test_OUT.pdf")

Can you get it work outside of IIS? if yes, it is indicate this problem caused by IIS permission problem, you may give enough permissions to PDFStamp COM to try again.

If you don't know how to give enough permissions to PDFStampCom.exe, please look at following web page for more information,

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

>>As it is a webserver, should the name not include the Drive letter and Web root folder?

Yes, you need include the Drive letter and Web root folder.

>>On another topic I notice in the manual that the command is veryOpen, but in your example it is veryOpenEx? Do I need to add Ex to all the commands in the manual?

veryOpen() function is provided by pdfstamp.dll library.
veryOpenEx() function is provided by PDFStampCom.exe and PDFStampOcx.dll COM Components.

If you will use the pdfstamp.dll library, you need use veryOpen() function.
If you will use the PDFStampCom.exe and PDFStampOcx.dll COM Components, you need use veryOpenEx() function.

>>In the manual for veryOpenEx it says that to stamp the original document the second parameter should be NULL, but I have not found a syntax that works, I tried omitting the second parameter, with and without the comma, setting it to NULL or "NULL", but I only got errors.

You can use following code to try again,

id = pdfstamp.veryOpenEx("C:\QMS\doc\test_IN.pdf", 0)

OR

id = pdfstamp.veryOpenEx("C:\QMS\doc\test_IN.pdf", NULL)

OR

id = pdfstamp.veryOpenEx("C:\QMS\doc\test_IN.pdf", "C:\QMS\doc\test_IN.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 Stamp | Tagged , | Leave a comment

The printing speed is become slow when I use PDFPrint Command Line with transparent/opacity watermarks

I'm currently working on a PowerShell script to print original pdfs with a dynamic watermark on them. We will probably buy 3 times your product, to put it on three different computers (several places) (see quotation in attachment).

I use the watermarkfile option to create the dynamic watermarks. (see sample attachment Giapetti.ini)

The command line I use in PowerShell is Start-Process -FilePath "C:\Users\admin\Documents\Sources\pdfprint\pdfprint_cmd\pdfprint.exe" -ArgumentList -winfont,-winfont2,-scalex,100,-scaley,100,-pdforient,0,-orient,1,-color,1,-printermargins,-copies,$nombre,-setcopyto,-jobdocname,`"$docname`",-watermarkfile,`"c:\Users\admin\Documents\$settings`",-printer,$Printer,`"c:\Users\admin\Documents\$file`" -wait

It works mostly fine, but sometimes files print slowly at the RIP level.

Jobs are sent rapidly to the printer (EFI RIP in front of a fast RICOH 8120 printer - Driver (EB-32 v2.0 PS)) and the RIP takes a lot of time to process pages with the watermark.
Pages without watermark or original file print like a breeze.
I get different results (time to print) depending on the driver I use , but each has advantages.
Print settings (cover, staples, ...) are tuned via virtual printers on EFI RIP so I must test further to get a working product.

Some questions :
Do you have specific tips related to watermarks for faster printout?
Is there a guideline on the driver to use preferably and additional settings to look at?

I would like to try the raster options for instance (will I get a faster result?), but I've nearly reached the print limit. Is it possible to extend the limit of prints?

How comes that files already stamped with another program loose transparency information for instance? Is it related to the fact that you add another stamp on the evaluation version?

Many thanks for helping me.

Best regards,
Customer
---------------------------------------------------------
PDFPrint Command Line download page,

http://www.verypdf.com/app/pdf-print-cmd/try-and-buy.html#buy
http://www.verypdf.com/pdfprint/pdfprint_cmd.zip
---------------------------------------------------------
This is the contents of Giapetti.ini file,

[watermark1]
type=0
text=Giapetti Giapetti Giapetti
fontname=Times New Roman
x=1000
y=1500
opacity=30
angle=53
width=0
height=186
firstpage=1
lastpage=max
color=000000

[watermark2]
type=0
text=Giapetti Giapetti Giapetti
fontname=Times New Roman
x=4500
y=6500
opacity=30
angle=53
width=0
height=186
firstpage=1
lastpage=max
color=000000

[watermark3]
type=0
text=Giapetti Giapetti Giapetti
fontname=Times New Roman
x=-2500
y=-3500
opacity=30
angle=53
width=0
height=186
firstpage=1
lastpage=max
color=000000

[watermark4]
type=0
text=Giapetti Giapetti Giapetti
fontname=Times New Roman
x=-6000
y=-8500
opacity=30
angle=53
width=0
height=186
firstpage=1
lastpage=max
color=000000
---------------------------------------------------------
>>Do you have specific tips related to watermarks for faster printout?

I have checked your Giapetti.ini file, this .ini file contains some text watermarks, these text watermarks are contain "opacity=30" properties, I guess this option will reduce the printing speed, if possible, you may use "opacity=100" to try again.

>>Is there a guideline on the driver to use preferably and additional settings to look at?

We haven't a guideline on the driver side yet.

>>I would like to try the raster options for instance (will I get a faster result?), but I've nearly reached the print limit. Is it possible to extend the limit of prints?

You can simple copy the entire folder of PDFPrint Command Line application to another system, then you can evaluate it on the new system continue.

>>How comes that files already stamped with another program loose transparency information for instance? Is it related to the fact that you add another stamp on the evaluation version?

Yes, the transparent demo watermark will slow the printing speed too, because the printer will spend additional time to handle the transparent watermarks.

We suggest you may run following command line to try again, will this command line to print your PDF files faster than before?

pdfprint.exe -raster2 -rasterbwtext -rasterbitcount 1 -xres 150 -yres 150 C:\input.pdf

VeryPDF

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

How to use PDFStamp COM Interfaces? How to install PDFStamp SDK into my system?

I am trying to install and use PDFstamp on a Win2012 R2 server for use on a 64 bit IIS webserver running classic asp. After downloading PDFstamp I saw several possible installation files and was not at all sure which I should use. in the root I saw a folder Win64 and in there it said to run "../bin/install_for_x64.bat" to register PDFStampCom.exe first, then you can run "test-pdfstampcom-x64.vbs" to test the stamp functions. I did that and the test seemed to work, several .pdfs were produced, so it looks like the pdfstampcom is registered. I also saw in the bin folder install_for_asp.bat and install_for_x64.bat. As I had chosen to run the one I mentioned above I did not run either of these.

When I try to run a couple of the examples (modified for my drive and folder structures) I get errors. The example_for_html5/canvas.html runs the on screen box and drawing, then when I try to save I get the pop-up that says what input and output pdf files it will use but then but it says "ReferenceError: ActiveXObject not defined" and "This error occurred while trying to load PDFstampCOM". If I try to run the .asp example from your website (modified for my drive/folder/file structure), I get an error "object required" on the line id = oTest.veryOpenEx(szPDFFile, ".. filename .."). These both seem to suggest that it is not finding PDFstampCOM?

What should I do? Am I using the wrong install file given that I want to use in classic asp though on a 64 bit platform? Do I need to give permissions to something or set some configuration option on the website? Something else?

Your product looks like it will do what I need and I have spent hours trying to get it working in test mode, prior to purchasing for production, so I am hoping you can help me out.

I am hoping to do a demo on Friday so if you were able to respond before then it would be most helpful.

Customer
---------------------------------------------------------
We apologize for any inconvenience this may have caused to you.

PDFStamp SDK contains two COM interfaces, one is PDFStampOcx.dll file, another is PDFStampCom.exe file.

PDFStampOcx.dll is a COM interface which based on PdfStamp.dll library, it can only be called from 32bit applications.

PDFStampCom.exe is also a COM interface which based on PdfStamp.dll too, it can be called from both 32bit and 64bit applications.

You can run following command lines with administrator privilege to register them into your system,

regsvr32 PDFStampOcx.dll

PDFStampCom.exe /regserver

If you wish to call PDFStampOcx.dll from a 32bit application, you can use following sample code,
--------------------------
Set oTest = CreateObject("PDFStampOCX.CPDFStamp")
id=oTest.veryOpenEx("D:\verypdf.pdf", "D:\out.pdf")
if id>0 then
oTest.veryAddTextEx id, 2, "This is a test.", 2666666,17, 0, 200, 0, 0, 0, 0, 0, 32, 0, 0, 0
oTest.veryCloseEx id
end if
--------------------------

If you wish to call PDFStampCom.exe from both 32bit and 64bit applications, you can use following sample code,
--------------------------
Set pdfstamp = CreateObject("PDFStampCOM.CPDFStamp")
pdfstamp.veryRegEx "XXXXXXXXXXXXXX"
id = pdfstamp.veryOpenEx("D:\verypdf.pdf", "D:\out.pdf")
If (id <= 0) Then
    WScript.Quit
End If

nRet = pdfstamp.veryAddTextEx(id, 2, "VeryPDF", 255, 0, 0, 0, 0, 0, 0, 300, 0, 10, 1, "http://www.verypdf.com", 0)
pdfstamp.veryCloseEx (id)
--------------------------

As you see, PDFStampOcx.dll is "PDFStampOCX.CPDFStamp" and PDFStampCom.exe is "PDFStampCOM.CPDFStamp", you can call the different version of PDFStamp COM interface from your applications easily.

the test.asp file is using following code,

Set oTest = Server.CreateObject("PDFStampOCX.CPDFStamp")

so, you need run "regsvr32 PDFStampOcx.dll" to register PDFStampOcx.dll into your system first, then you can run test.asp code to stamp PDF files easily.

Please notice, in order to get both PDFStampOcx.dll and PDFStampCom.exe files to work fine, you need keep following files into same folder, because PDFStampOcx.dll and PDFStampCom.exe will load the necessary DLL files from same folder,

cimage.dll
imgconv.dll
Interop.PDFStampCom.dll
pdflayerdll.dll
pdfsdk.dll
PdfStamp.dll
PDFStampOcx.dll
pdftoolsdk.dll
PDFStampCom.exe

If you still can't get it work, please feel free to let us know.

VeryPDF

VN:F [1.9.20_1166]
Rating: 6.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 2 votes)
Posted in PDF Stamp | Tagged , | Leave a comment
Page 5 of 1,380« First...34567...102030...Last »