39
Views
2
Comments
[PDF Helper] [PDF Helper] - Compress PDF doesn't work
pdf-helper
Service icon
Forge asset by Pramod Jain
Application Type
Service

Hi,

I am trying to use PHF Helper Compress action to compress some PDFs that I generate within my application.

The Compress action seems easy to use, I give in input the Binary PDF but the output file is 0K.

This is the output of the two variable that comes with the compress action:

Success: 

False

Error: 

LastMessage: GPL Ghostscript 10.01.1

(2023-03-27) Copyright (C) 2023 Artifex Software, Inc. All rights reserved. This software is supplied under the GNU AGPLV3 and comes with NO WARRANTY: see the file COPYING for details.

Processing pages 1 through 1. Page 1 LastErrMessage: GPL

Ghostscript 10.01.1: Unrecoverable error, exit code 255.


Any Idea what could be wrong?

Thanks

2023-01-11 10-22-40
Domenico Gagliano

I've solved the issue. Basically I downloaded the demo app and I notice that the compress action set the attributes as on the attached screenshot.

Screenshot 2024-06-18 at 12.08.30.png
UserImage.jpg
Francois Gaudet

@Domenico Gagliano : from your screenshot, we see a series of ListAppend before the CompressPDF call, but none of the actual attributes; the demo app does not seem available anymore. 

Can you provide the actual attributes required for the call to work ?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.