Re: DOS Copy/Append pdf files


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Frank Caton on November 04, 2013 at 13:54:54:

In Reply to: Re: DOS Copy/Append pdf files posted by Barbara Brazil on November 01, 2013 at 08:19:04:

barb,
I tried the code below. It compiled fine but when I run it it says "can't run this type of file".

===============================================================
! //IB// SRC("PDFMERGE","XQS") OBJ("PDFMERGE", "xap")opt(L)
length dynamic & local TheFile$,TheFullPathIn$,TheFullPathOut$
clear

TheFullPathIn$ = "G:\WEBSITE\XAP\xap-document\DNA.pdf"
TheFullPathOut$ = "G:\WEBSITE\XAP\xap-document\DNAx3.pdf"
TheFile$ = InputFile(TheFullPathIn$) ! TheFile$ now contains the contents of the entire file

TheFile$ = TheFile$ + TheFile$ + TheFile$
PrintFile TheFullPathOut$ TheFile$

end
============================================================================================


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]