Customised Report Message

Post Reply
User avatar
DJS
Member
Posts: 54
Joined: Wed May 01, 2024 11:27 am

Customised Report Message

Post 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 157 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
bens
Advanced member
Posts: 286
Joined: Thu Mar 03, 2011 10:13 am

Re: Customised Report Message

Post 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.
User avatar
DJS
Member
Posts: 54
Joined: Wed May 01, 2024 11:27 am

Re: Customised Report Message

Post by DJS »

Thank you
Post Reply