Page 1 of 1

Customised Report Message

Posted: Thu Jul 17, 2025 1:04 pm
by DJS
Hello

I am trying to get a simple message to be returned on failure

In a preflight ppp

When using CHECK ON > Page > Page size there are 3 default messages:
  • %BoxType% width is %Width%, should be %WidthComparator% %RequiredWidth%
  • %BoxType% height is %Height%, should be %HeightComparator% %RequiredHeight%
  • %BoxType% width is %Width%, should be %WidthComparator% %RequiredWidth%, %BoxType% height is %Height%, should be %HeightComparator% %RequiredHeight%
Screenshot 2025-07-17 at 11.57.17.png
Screenshot 2025-07-17 at 11.57.17.png (169.04 KiB) Viewed 408 times
When running this on documents I get different responses (ie 1, 2 or 3)

What dictates which response is used?

Is there a way I can override the 3 responses and only have 1?

Is there a way I can return the size, ie A5, or A4 etc (obviously %Size% isn't valid)?

Thank you

Re: Customised Report Message

Posted: Fri Jul 18, 2025 11:26 am
by bens
If the height is correct, but the width isn't, you'll get the width message, and vice versa. If both are incorrect, you'll get the long message. You can set all three to the same custom message, but unfortunately you're probably limited to using the variables from the one message that is picked at runtime. That is: you can't use %RequiredWidth% in the height message and vice versa.

Your only option is probably to have separate profiles, one that checks for A4 and also mentions that in the custom message, one for A5, etc.

Re: Customised Report Message

Posted: Fri Jul 18, 2025 12:26 pm
by DJS
Thank you