Supressing Field Printing When There Is No Data S’abonner

0
Avatar
Legacy Poster

I have a label that is getting it's data via BTXML.  What I want to do is the following:

 

Print data in fields 1..5 and IF field 6 and 7 are not empty, print fields 6 and 7.

 

Fields 6 and 7, when printed, will be superimposed over another field, obscuring it.  When fields 6 and 7 are not present, there is no trace of them and the other field is not obscured.

 

I'm thinking this must be possible somehow.  Is there a way?  I'm running Bartender Enterprise Automation 10.0 SR4.

 

The application is a field indicating that an item is on QC Hold.. the QC Hold message will be printed in white-on black so it cannot be ignored.

 

 

4 commentaires

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Here's some more info...  The fields below that say "QC HOLD" and "testing QC hold reason" are set up with background color white, not "none".  Yet the background is transparent and the barcode shows through.  I want it to knock out the background when there is data in the QC Hold fields.  Is it impossible?

 

[attachment=564:1-qclabel1.jpg]

0
Avatar
Ian Einman
Actions pour les commentaires Permalien

In version 10.0, you can accomplish this with VB Script.  We have a whitepaper called "Dynamically Changing Objects at Print Time using VBScript" which would help you get started with this.

 

In version 10.1, this can be done without VB Script, by using the recently introduced "conditional printing" feature.  You can additionally use different layers for fields 6 and 7, versus the object they're obscuring, to make it much easier to design a label where parts are changing like that.  I'd  recommend you check it out because the VB Script approach will take you longer to implement and maintain.

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

I would agree it would be good to avoid VB altogether, but I've been trying not to find out how much this upgrade is going to cost us - they'll love me asking for an upgrade before we get to production.

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Turns out I did have upgrade rights, and the conditional layer printing was just what the doctor ordered.  Took me about half an hour to get it working the way I want.  Thanks!

Vous devez vous connecter pour laisser un commentaire.