.
  • .

Appligent Docs

Appligent Docs

  • .
  • Appligent Home
  • Docs Home
  • Desktop Software
    • Redax
    • StampPDF
    • AppendPDF Desktop Edition
    • APSplit Desktop Edition
    • StampPDF Desktop Edition
  • Server Software
    • APCrypt
    • APGetInfo
    • AppendPDF
    • AppendPDF Pro
    • APSplit
    • FDFMerge Lite
    • FDFMerge
    • pdfHarmony
    • Redax Enterprise Server
    • SecurSign
    • StampPDF Batch
  • Frequently Asked Questions
    • APCrypt FAQ
    • AppendPDF Pro FAQ
    • AppendPDF FAQ
    • FDFMerge FAQ
    • FDFMerge Lite FAQ
    • Redax FAQ
    • SecurSign FAQ
    • StampPDF FAQ
    • StampPDF Batch FAQ
x

Common Error Checklist

  • Remember to decrypt documents that have security features already applied. If the documents you are working with already have some security features applied, they will need to be decrypted with -d <ownerpass> for APCrypt to use them.
  • When using the log file option, -l <logfile>, be sure to give a logfile name. If this is not done, APCrypt will recognize the text string immediately following the -l as the name of the log file. For example, if your command line is accidentally:
    apcrypt -l -nomodify -nocopy -keylength 40 file.pdf

    the log file will be called “-nomodify” and the correct encryption features will not be applied.

  • Make sure all file and pathnames are correct. If you are working in one directory and APCrypt lives in another, you must account for that on your command line. This goes for all files: input and output files and log files. The best practice is to use full paths for all files.
  • If you get an error from APCrypt that the file was unable to write, check to make sure the file isn’t open in Adobe Acrobat or any other application. Also make sure you have write permissions in the directory and confirm the file is not read-only if you are trying to overwrite it.
  • Only PDF documents can be secured. APCrypt will fail if you try to secure a document that is not a PDF document. Be particularly aware of this if you are using wildcards to specify filenames. You may wish to include the .pdf suffix in all wildcards, such as file*.pdf, *.pdf, etc.

 

Cleaning Up PDF Documents

Not all PDF files are created equal. The way in which a PDF document is generated makes a difference, and PDFs generated by third party tools in particular can vary in quality. PDF documents can also become corrupted.

To check how the file was created:

  • In Acrobat X, XI and DC select File > Properties… and click Description. Under Advanced, look at PDF Producer.

If the PDF Producer field is blank, consider the file suspect.

Making a Clean PDF

If you are having problems with a specific PDF, try to create “clean” version of your document. There are two ways of doing this using Adobe Acrobat. If you use other PDF manipulation software, check the documentation for functions that may be equivalent to those found in Adobe Acrobat.

Method 1: “Optimize” your PDF

  • In Acrobat X, XI and DC > File Menu > Save As > Optimized PDF

If saving as optimized does not work, distill the document by following the steps below.

Method 2: Distilling PDF Documents

Distilling a document will remove all comments and form-fields from the PDF. If the PDF contains these items and you wish to preserve them, you must save them before Distilling.

To save existing comments

  • In Acrobat X, XI and DC select Comments > Comments List > click the Options icon > Export All to Data File… In the Export Comments dialog box, select a name and location for the Forms Data File (.fdf), and click Save.

See the additional step below for saving form fields (if any):

Delete all comments:

  • In Acrobat X, XI and DC select all the comments in the Comments List pane and press the Delete key.

To save form fields (if any):

  • Save a copy of the original file. You will copy and paste the form fields from the original file into the new file after the distilling procedure.

Distilling the document

To distill a PDF document do the following:

  • In Acrobat X and XI select File > Save As > More Options > PostScript. Choose a name and location for the file and click Save.
  • In Acrobat DC select File > Export to > PostScript. Choose a name and location for the file and click Save
  • Open Acrobat Distiller > select File > Open… In the Open PostScript File dialog, locate the PostScript file created in the previous step and click Open.

The distiller will create a new PDF file with the same name and location as the PostScript file.

Restoring comments

To restore the comments:

  • In Acrobat X and XI, select Comments > Comments List > click the Options icon > Import Data File… In the Import Comments dialog box, locate the Forms Data File (.fdf) previously saved and click Select. In the next pop-up box, click Yes. The comments are restored.
  • In Acrobat DC, select Tools > Comments > Comments List > click the Options icon > Import Data File…In the Import Comments dialog box, locate the Forms Data File (.fdf) previously saved and click Select. In the next pop-up box, click yes. The comments are restored

Restoring form fields

To restore form fields:

  • Open the original PDF file that includes form fields.
  • In Acrobat X and XI select Tools > Forms > Edit Form)
  • In Acrobat DC > select Tools > Prepare Form > Form fields will automatically appear
  • The form fields will appear, do a Control-A to select all the form fields.
  • Open the new distilled PDF file which has no form fields.
  • Do a Control-V to paste all the form fields onto the page.

You may need to reposition the fields by selecting them again with the Select Object Tool and moving them to the correct position. For multi-page forms you must do this for each page separately.

Contact Information

22 E. Baltimore Avenue
Lansdowne, PA 19050
Phone: (610) 284-4006
Fax: (610) 284-4233

Sales

sales@appligent.com

Technical Support

support@appligent.com

Terms of Use

Privacy Policy

Site Accessibility

LinkedIn

YouTube

Facebook

© 2023 Appligent, Inc.

Top