IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#30702 - 01/28/10 12:20 PM PostScript Errors
Jessica Offline
OL User

Registered: 05/08/09
Posts: 63
Hi,

I am trying to PressTalk Before section of the Document section to set a variable.

set(&ClientCode,(@(1,1,2)))

Then, I set a different variable on a page of the document and am comparing these two variable in a condition.

On screen, I get the exact results I want. The condition appears to be working. However, the pritned output is not what I am trying to achieve. I cannot even get a preview of what I need from the form itself. If I remove the set variable listed above, the conditions do not work but I can atleast get a print preview.

I am getting postscript errors. They are as follows:

1 - 12:12:06 POSTSCRIPT:%%[ Error: undefined; OffendingCommand: t$ ]%% Message
2 - 12:12:06 POSTSCRIPT: Message
3 - 12:12:06 POSTSCRIPT:Stack: Message
4 - 12:12:06 POSTSCRIPT:1 Message
5 - 12:12:06 POSTSCRIPT:0 Message
6 - 12:12:06 POSTSCRIPT:1 Message
7 - 12:12:06 POSTSCRIPT:/&clientcode Message
8 - 12:12:06 POSTSCRIPT: Message
9 - 12:12:06 POSTSCRIPT:%%[ Flushing: rest of job (to end-of-file) will be ignored ]%% Message
10 - 12:12:06 POSTSCRIPT:%%[ Warning: PostScript error. No PDF file produced. ] %% Message
11 - 12:12:10 POSTSCRIPT:%%[ Warning: Empty job. No PDF file produced.]%% Message

Any idea what I am doing wrong?

Thanks for your help, as always. = )

Jessica

Top
#30703 - 02/01/10 04:49 PM Re: PostScript Errors
-nth- Offline
OL Expert

Registered: 04/01/03
Posts: 236
Loc: Lincoln, NE
Jessica,

Are you creating the condition in the document structure? My understanding is that those conditions are resolved at the beginning of the form execution. Think of it as a global condition instead of a local object condition.

If you need a condition to be checked with each page/object, put the actual condition formula in the Condition property (make sure to start it with the "=" sign just like Excel).

Hope this helps,

-nth-

Top