acrobat

CFPDF add watermark any level of transparency is coming out opaque

喜夏-厌秋 提交于 2021-01-29 02:10:21
问题 When I watermark a pdf onto another pdf any semi-transparency in the watermark PDF is made completely opaque. Is there anything I can do about this or is this a limitation of CFPDF? Server is CF9 with latest hotfixes. Fun bit, when chrome renders the final product the transparency is preserved, but when Acrobat Pro renders it it's opaque. I can print the final product to AdobePDF and it's accurately transparent, but I don't get a consistent page size to send through our print shop which is a

acrobat reduced size pdf with gs/im/other?

我只是一个虾纸丫 提交于 2021-01-28 13:40:10
问题 In Acrobat 11 Pro, I can do File > Save As Other > Reduced Size PDF (setting as Acrobat 10 viewer or later), which cut a PDF to about 40% and looks exactly the same. I am wondering how I can achieve the same result with an open source tool like ghost script, image magick, or some adobe tools on a linux server via CL or PHP. 回答1: gswin64c -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf This works pretty well to reduce

How to export multiple ranges to a single PDF?

断了今生、忘了曾经 提交于 2021-01-28 04:44:03
问题 I want to export multiple ranges from the same sheet to a single pdf. Account 1 starts in column A, account 2 starts in column C, account 3 starts in column E, and so on. Each account can be n rows long, but I only want a maximum of 50 rows for each account on a sheet within the pdf, e.g. Account 1 = 100 rows long Account 2 = 32 rows long Account 3 = 56 rows long In this case, I would want my pdf to look like this: Sheet 1 = first 50 rows of account 1 Sheet 2 = next 50 rows of account 1 Sheet

TypeError: .substring is not a function

房东的猫 提交于 2020-12-12 11:59:07
问题 I'm running Acrobat Pro DC. I have a text field ("CC.CardNumber") with an Action/OnBlur event that runs the following script that produces this error. I've researched this for hours and can't see where my code is incorrect. var fld = this.getField("CC.CardNumber"); var first = fld.value.substring(0,1); fld.value = first; TypeError: fld.value.substring is not a function 3:AcroForm:CC.CardNumber:Annot1:OnBlur:Action1Exception in line 1051 of function AFSimple_Calculate, script byteCodeTool 回答1:

TypeError: .substring is not a function

江枫思渺然 提交于 2020-12-12 11:58:08
问题 I'm running Acrobat Pro DC. I have a text field ("CC.CardNumber") with an Action/OnBlur event that runs the following script that produces this error. I've researched this for hours and can't see where my code is incorrect. var fld = this.getField("CC.CardNumber"); var first = fld.value.substring(0,1); fld.value = first; TypeError: fld.value.substring is not a function 3:AcroForm:CC.CardNumber:Annot1:OnBlur:Action1Exception in line 1051 of function AFSimple_Calculate, script byteCodeTool 回答1:

Documentation for using JavaScript code inside a PDF file [closed]

若如初见. 提交于 2020-04-24 04:21:47
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . Where can I find documentation on running JavaScript code inside a PDF? I've never added a JavaScript action inside a PDF document. However, I've done quite a bit of web development using JavaScript. I have a few questions to whoever has any familiarity with JavaScript inside a PDF

Can't figure out why my PDF signature is not LTV enabled

断了今生、忘了曾经 提交于 2020-02-29 08:53:40
问题 I'm generating a PDF document with signature and I want it to be LTV enabled. For this, I sign the PDF when creating it and then I add the second version containing the DSS with the validation related informations (VRI). As I found in some articles, I need to add the Certificate chain (without the root certificate - Authority) and the Certificate Revocation List (CRL). In my case, both will have 2 elements. After that I add the entry for the VRI which is a SHA-1 hash of the signature content

Saved PDFView with PDFKit IOS not showed properly in Adobe reader

偶尔善良 提交于 2020-02-25 04:33:11
问题 I am creating an app where I open a PDF with form elements, add some data and export it again to a new PDF file. The code to export this file looks like this: @IBAction func exportPDF(_ sender: Any) { guard let url = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first, let data = pdfView.document?.dataRepresentation() else {return} let fileURL = url.appendingPathComponent("test.pdf") do { try data.write(to: fileURL, options: .atomicWrite) print(fileURL) } catch {

Saved PDFView with PDFKit IOS not showed properly in Adobe reader

纵饮孤独 提交于 2020-02-25 04:32:49
问题 I am creating an app where I open a PDF with form elements, add some data and export it again to a new PDF file. The code to export this file looks like this: @IBAction func exportPDF(_ sender: Any) { guard let url = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first, let data = pdfView.document?.dataRepresentation() else {return} let fileURL = url.appendingPathComponent("test.pdf") do { try data.write(to: fileURL, options: .atomicWrite) print(fileURL) } catch {