Zum Hauptinhalt gehen

Suche

Suche

Ghs Pictograms Across Multiple Templates

Kommentare

3 Kommentare

  • Avatar
    Ian Cummings
    Moderator

    Unfortunately the GHS sample is really only suitable for a single template document.  As you suspect the GHS pictograms are dynamically arranged at print time by an event based VB script.  The script adjusts template objects by name according to record data supplied on a per label basis.  To do this for more that one template you'd need to copy across a new set of scripted objects (the dynamically printed pictograms) into a layer for the new template, giving them each unique, maybe add a template name prefix/suffix, and lastly adjust the VB script code so that depending on which template is printing that the correctly named pictogram objects are modified.  It seems to me like this would be a pretty big task and doesn't really scale if you want to implement many templates. 

    0
  • Avatar
    Legacy Poster

    Sorry just saw the response didn't get an email notfication. Thank you for your answer I did get to see the VB script code but new to the VB code would you by any chance guide me on which paramaters to switch I did see that the pictograms are printed in the GHS_PictogramArea parameter, which I tried to change on the VB script and no luck am I missing other parameters? again thank you for your help.

    0
  • Avatar
    Ian Cummings
    Moderator
    The VB script for the GHS label is very sophisticated and therefore not really suitable for editing by someone new to VB script programming. To adapt this sample to work over multiple templates is a pretty big undertaking and perhaps a different, less dynamic and sophisticated GHS document design would be easier to implement.

    The below YouTube video is worth watching as it covers how the GHS sample label functions:

    https://www.youtube.com/watch?v=_yXS7HPMo4Y
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.