ZF(-100) and qpdf
Hi,
I have seen your post on using qpdf with the zf(-100) function and was wondering if you could be so kind to share an example line of code. I can use pdf from the DOS command line no problems with the following:
qpdf --encrypt test123 test123 256 -- c:\test\basement.pdf c:\test\basementenc.pdf
Trying the following from the iris terminal I get a RET=2 in messages.log and the PDF is not created.
d $ZF(-100,"/logcmd", "qpdf", "--encrypt test123 test123 256 --", "C:\test\basement.pdf", "c:\test\basementenc.pdf")
Kind Regards,
Jason
Product version: HealthShare 2019.1
$ZV: IRIS for Windows (x86-64) 2019.1.1 (Build 612U) Mon Oct 28 2019 11:29:24 EDT [HealthConnect:1.1.2]
Discussion (1)2
Comments
You need to pass each argument separately, this will work:
d $ZF(-100,"/logcmd", "qpdf", "--encrypt", "test123", "test123", "256", "--", "C:\test\basement.pdf", "c:\test\basementenc.pdf")