Print When S’abonner

0
Avatar
Legacy Poster

Hi all, I'm working with Bartender 10.1 and I stumbled across the "Print when" setting for a text data source field in my label. However, after closing the open window I now can't locate it again. The help file just tells me it's in a different place depending on the object, and I've been searching the web for ages trying to figure out where I saw it.

 

Sorry to ask, but can someone tell me how to open this setting. I'm grateful for the help.

4 commentaires

0
Avatar
Ian Einman
Actions pour les commentaires Permalien

When you have the properties of an object open, the tree on the left has a "root node" at the top labeled as the name of the object, e.g. "Barcode 1".  This is where you control the visibility of the object as well as changing the object name.  (In 10.0 there was a "Do Not Print" checkbox here, but this has been replaced by "Print When" which allows setting more complex print conditions).

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Thanks so much for your help Ian. I had just written a response saying how I still couldn't find it and needed more help, but I had did one last check before I posted and finally noticed the "Print When" - and I can't believe I had so much trouble re-locating it. I'm very grateful, thanks again.

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

So now that I've found Print When, it doesn't seem to work in the way I expect.

 

I have 2 fields that I only want to print if they are not blank. So I've set the Print when condition to "Conditionally, based on data source" and tried setting to when the [fieldname] is empty as well as when it equals blank (""). However, in both cases I get an error when I try to print from bartender that says:

 

"BarTender: Error Message #3757

 

The following places reference a nonexistant field "[fieldname]":

 

  Print condition of object "objectname"

 

These conditions will not evaluate as expected"

 

When I try to print from my application it fails as well. The Bartender service log gives me no helpful information.

 

I also tried referencing a separate bit field that just specifies whether or not I should print "objectname" and referencing that in print when, but I still get the same error.

 

When I turn off all Print When settings, the label prints out fine.

 

Please someone help me out with using this functionality... thanks very much.

0
Avatar
Ian Einman
Actions pour les commentaires Permalien

It should work, as you described it.  Please contact technical support, sending them a sample of your label as well as the database you are using (if it is a text file).  It may be something specific to your database connection, so the more info you can provide the better.

Vous devez vous connecter pour laisser un commentaire.