With your sample files, and thank you for these file copies
, I have now fixed a couple of bugs in the stamp tool.
One of these bugs is responsible of the merge fail (despite the fact the merged PDF shows OK in Foxit reader and PDF-Xchange viewer, file is really partially corrupted and fail to show in Acrobat.
If you really need to merge these already stamped files you will need to use a Hex editor, or a text editor with binary edit capabilities (
Notepad++ is a good one) and replace all the "/length 1" occurrences by "Length 1" (without quotes). Already stamped files will merge correctly after this substitution done.
This problem is now fixed and I'll e-mail you the download link for the next patch (beta version) so you can test it. Let me know if you find something else.
BTW - another problem we have had with the image stamps is that when you open a saved stamp, it states "A call to the OS failed" or something like that. The stamp still opens but the details can't be changed. We are using XP SP3.
Is this problem stamp file related or show up every time you open a stamp, even different one, file?
What objects you have on these stamps?
Tested in Windows Vista and XP SP3 and is working fine here. But for sure a bug is causing this at your system, so, please try to discover what steps, stamp file objects, etc.., are need to reproduce the error.
Would there be any way to get the stamp program to remember the last stamp used, so we don't have to load the same stamp up all the time?
No, but now that you mention it, I'm going to replace the open stamp button by one with a drop down menu to easily access last used stamp files.
Even so, and using the versatile PDF-ShellTools
command line interface, the Windows Shell Send To context menu functionality and batch scripts you can easily add new entries to the Shell Send To menu and use it to specifically apply a stamp file to all the PDF's selected.
Here is how:
Let suppose you have a CompanyLogo.stp at C:\Stamps
PDF-ShellToosl is installed at C:\Program Files\PDF-ShellTools
In the C:\Stamps folder, or any other work folder, create a "Stamp.cmd" file, open it in a text editor (Notepad) and enter next lines
@ECHO OFF
:NEXT
set v=%1
SHIFT
IF (%1)==() GOTO STAMPIT
set v=%v%;%1
SHIFT
GOTO NEXT
:STAMPIT
call rundll32 "C:\Program Files\PDF-ShellTools\PDFShellTools.dll",Stamp stamprules=1- Template=C:\Stamps\CompanyLogo.stp %v%
and save it.
Now create a shorcut to the .cmd file you have just created, give it a meaningful name, and icon, and place it in the Send To folder. To do that, cut the shorcut file and in Windows Explorer address bar enter:
%APPDATA%\Microsoft\Windows\SendToto open the send to folder. Paste the shortcut there.
Now you have a new item in the "Send To" Shell context menu. To apply that stamp to a file(s), just select these PDF files and next run your Shell Context menu>Send To>"YourShortcutName".
To apply this technique to other stamps, e.g. StampDraft.stp, StampConfidential.stp, etc.., better change the script file to:
@ECHO OFF
set s=%1
SHIFT
set v=%1
SHIFT
:NEXT
IF (%1)==() GOTO STAMPIT
set v=%v%;%1
SHIFT
GOTO NEXT
:STAMPIT
call rundll32 "C:\Program Files\PDF-ShellTools\PDFShellTools.dll",Stamp Template=%s% stamprules=1- %v%
Now, as before, create a shortcut, but in the shortcut properties target field add the path to the stamp file you want to apply.
To stamp the company logo create a shortcut with target:
C:\Stamps\Stamp.cmd C:\Stamps\CompanyLogo.stp
To stamp the Draft word create a shortcut with target:
C:\Stamps\Stamp.cmd C:\Stamps\StampDraft.stp
To stamp the Draft word create a shortcut with target:
C:\Stamps\Stamp.cmd C:\Stamps\StampConfidential.stp
etc..
Obvious you need to create also these .stp files
Let me know if you don't understand something.