Skip to main content

Search

Search

Conditional Printing In Pro Edition

Comments

7 comments

  • Avatar
    Ian Cummings
    Moderator

    VB scripting is the way to go with the picture object being of a data sourced type.  The event based VBS could then run a conditional statement the checks the value of the checkbox connected data source, and thereby sets the name of the picture object's data source to be the name of the image file to print, or be empty if nothing is to print.

    0
  • Avatar
    Legacy Poster

    Hi.

    Thanks for the reply.

    is this relevant also to text lines, bar-codes etc.. appears in the label?

    i.e. i want also to implement conditional printing for some text lines.

    0
  • Avatar
    Ian Cummings
    Moderator
  • Avatar
    Legacy Poster

    Hi.

    I tried to implement some objects properties commands in VB editor and it doesn't work .

    I even used the "PrintVisibility" example from the white paper you attached. i got  the same results.

    is it because i use Processional edition and maybe it is supported only in Automation edition or higher?

    0
  • Avatar
    Ian Cummings
    Moderator

    Nope, it should be supported in the Pro edition.  I assume you're using the document level VB script events for this?  What was the script you tried, and what effect did you get or error messages?

    0
  • Avatar
    Legacy Poster

    Hi.

    maybe i am wrong but i found out that Document level events scripting is supported only in Automation Edition so i am not able to write my script under document level VB script events.

    ​see attached files showing the Script window of the same label (using only one text line) in Professional edition and Automation edition.

    i attached also compare table lines related to data processing of both editions 

    0
  • Avatar
    Ian Cummings
    Moderator

    Yeah good point, that is indeed an Automation or higher feature.

    0

Please sign in to leave a comment.