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
#51583 - 05/11/15 05:02 AM QR Code Visible Based on Variable Content
Gary Thornton Offline
OL Newbie

Registered: 10/30/14
Posts: 2
Loc: UK
Hi All,

I need to create a output that sometimes contains a QR Code... However, not every pages has a QR code on it.

Therefore I need to stop the QR appearing on some of the output PDF, something like...

IF([SKU]= "SS000001", [QRValue],"Don't Print QR Code")... but still print everything else on the page.

Regards
Gary

Top
#51584 - 05/11/15 07:11 AM Re: QR Code Visible Based on Variable Content [Re: Gary Thornton]
Jeff_K
Unregistered


Gary,
You can use that logic on the barcode object, or as a condition which is applied to the bespoke object.

Top
#51585 - 05/11/15 10:49 AM Re: QR Code Visible Based on Variable Content [Re: ]
Gary Thornton Offline
OL Newbie

Registered: 10/30/14
Posts: 2
Loc: UK
Hi Jeff,

Thanks for your help... If I use the logic described, as there is an image behind the QR Code I end up with a blank white square were the QR Code should have been, if not required and a good QR code if required.

The problem is compounded by the fact that the back ground image also changes for each variable.

The best solution I've thought of so far, is to have another image laid over the QR Code area... and then make this visible or not depending on whether the QR code need to be seen or not.

I was hoping I could set the "print" option true or not.

Regards
Gary

Top
#51586 - 05/11/15 11:28 AM Re: QR Code Visible Based on Variable Content [Re: Gary Thornton]
Jeff_K
Unregistered


Gary, My apology. I was referring to the wrong product.
you are correct, PSM renders a white space when the input value is lacking.

Your manner of accomplishment is appropriate for this scenario.

The PRINT option is for the layout,not an object.
http://help.objectiflune.com/en/printshop-mail-user-guide/7.2/Default_CSH.html#/425.html

[You could make two pages, one with, one without the barcode, and toggle between them with opposite logic.
If( (Field NE "",print, blank)
If( (Field EQ "",blank, print)
]

Top