Hello PDF Creator users.
Add stationery is not always easy to add a word document. especially if the end result must be another PDF. Templates in Word are not neat and users have influence on the classification of the document. special font is not standard for every user.
PDF creator has already been made an easy time for me but now I am for the next challenge.
More users are using them and I want to be sure that they all use the same stationery.
Word documents print to a printer with multiple paper trays possible today to get the first sheet in a different key. so the first on a cover sheet correctly. and the rest follow on paper.
AddWatermarkToPDF.vbs the script works well for type 1 paper. but not for me.
in a batch script I have now pdftk tasks are split on the document. then adding a background. and put everything back together.
the batch Script:
SET SourceFile=%1 pdftk.exe A=%SourceFile% cat A1 output tmp1.pdf pdftk.exe tmp1.pdf stamp Trisum_Voorblad.pdf output tmp3.pdf pdftk.exe A=%SourceFile% cat A2-end output tmp2.pdf pdftk.exe tmp2.pdf stamp Trisum_Vervolgblad.pdf output tmp4.pdf pdftk.exe tmp3.pdf tmp4.pdf cat output out2.pdf MOVE out2.pdf, %SourceFile% DEL tmp1.pdf /Q DEL tmp2.pdf /Q DEL tmp3.pdf /Q DEL tmp4.pdf /Q DEL out2.pdf /Q
On a SBS server without anyone logged want the script to run.
Is there a way to make a functioning add2Pdf.vbs script of it?
VBS tryout based on AddWatermarkToPDF.vbs :
WshShell.Run PathToPdftk & " A=""" & fname & """ cat A1 output """ & tfname1 & """ ",0,true WshShell.Run PathToPdftk & " """ & tfname1 & """ stamp " & WatermarkPDF1 & " output """ & tfname3 & """ ",0,true WshShell.Run PathToPdftk & " A=""" & fname & """ cat A2-end output """ & tfname2 & """ ",0,true WshShell.Run PathToPdftk & " """ & tfname2 & """ stamp " & WatermarkPDF2 & " output """ & tfname4 & """ ",0,true WshShell.Run PathToPdftk & " """ & tfname3 & """ """ & tfname4 & """ cat output """ & tfname5 & """ ",0,true
Any suggestions or improvements are appreciated
Thanks,
RWest