Views:

Product: LABELVIEW Pro, CODESOFT Enterprise

Version: 2014 and newer

 

Important Notes:

  • This will NOT change any text objects that are locked. 
  • This can be used in any subroutine (Sub) except Sub OnBeforeLoad
1. With your label open, go to File > Properties

2. Go to the Visual Basic Scripting tab

3.  Check the checkbox Activate call event

4. Choose a subroutine, such as Sub OnBeforePrintJob

5. Copy and paste the script below, changing the font name to match your desired font. Please ensure the syntax exactly matches how it appears in the fonts list.

VBscript:

Dim i

For i =  1 to Document.DocObjects.Texts.Count

Document.DocObjects.Texts.Item(i).Font = "Arial"

Next

6. Click the play button and you should receive a message that the script is running successfully. Once that has been done, you can erase this script and uncheck the Activate call event.

If you require a more customized script, please contact technical support at (414) 837-4800 and our professional service team can work with you to create a specially tailored script