Counter with a start value from a datasource

When designing my label, I created a counter and set a starting value.
But how can I change this value dynamically, without having to edit each time the properties of my counter?

In order to perform this easily in standalone mode, you need:

  1. To create a prompt field asking the start value.
  2. To insert a basic counter of numeric type.
  3. Then to add together both values with a formula.

Counter with a dynamic start value

And to go further, here is a more complex design in formular mode with:

  • a decremental counter.
  • a dynamic formatting in relation to the number of digits entered.
  • an automatic reset of the counter, when the current value reaches 1.

Decremental counter

Attention: if an operation of the “Math” category is calculated directly on the printer (for example using operands from a datasource), the result is printed by default with 2 digits after the comma.
To change this behaviour, you have as in these cases, to add a “Formatting” operation.

Download example files for cablabel S3 Pro:

cablabel S3 Lite or cablabel S3 Pro?

You want to create your labels with cablabel S3, but you don’t know which version to choose?

In order to help you to make this decision based on your needs, here is a summary of the main differences and exclusive possibilities:

cablabel S3 Lite cablabel S3 Pro
Delivered with every printer License per computer on request
Compatible with
cab printers only
Supports all printers
detected and installed on Windows
Multiline texts Additional text options:
max width and hyphenation
Text box with various markups
by keyword detection (e.g. allergens)
Character map wizard
for inserting special characters
Raster graphics only
of type bmp, jpg, tif, …
Also vector graphics
of type dxf, plt, svg, …
About 30 types of barcodes
linear, 2D, GS1 and composite
About 35 types of barcodes
including the EAN 18/128 variants
Barcode wizard for creating
GS1/EAN /UCC-128, FACT/MH10 and QR
Barcode verifier option
Prompt fields with free entry Additional prompt field options:
input mask and choice list
Wizard for creating
compound prompts
Counters basic of type
numeric and increment +/-1
Counters advanced of types
alphanumeric and increment +/-n
Additional counter options:
frequency, resetting
and saving of the value
Date and time including offsets
and wizards for creating the format
Formula: mathematical operations,
manipulate strings, etc.
ABC basic compiler
with code library
Variables: data sources with
information about the label,
the printer, the computer, etc.
Connection to:
Access, Excel files,
OLE DB, ODBC, ASCII databases,
Database Connector in stand alone mode
JScript code viewer
for an overview on the fly
Import of JScript files in LBL format
Saving only in
STC format
Also export to
PDF format and PNG image

More information is also available on our website:

How to correctly set the layout of my label? (part 2)

The gap

Another property to check in the layout is the “gap”, even if the default value of 3 mm is suitable for most of the labels.

This dimension corresponds to the distance between the labels, and is also measured in the printing direction or in the unwinding direction of the label roll.

Label Creator WizardThereby, the gap added to the label height, determines the total height of the page and therefore also the minimum material feed during printing.

In case of using a material with a gap, you have therefore to be careful that the value indicated in the layout is simply lower or equal to the value measured between the labels:

Layout
Label roll

This avoids some detection problems by the label sensor of printer and especially the emergence of non-printed labels.

And in case of using a continuous material, you are free to set a gap value:

  • for example to print the labels one after the other.
  • or to intentionally leave more space between each label.
Continuous printing 1
Continuous printing 1

Error message “ACE OLEDB” when connecting to an Excel or Access file

When you try to connect with cablabel S3 Pro to an Excel or Access file, created with the version 2007 or later, and you get the following error message:

Error Message

Then it is necessary to download and install the 32-bit version of the OLE DB provider “Access Database Engine” from the following Microsoft website:

Notice: if the setup of Access Database Engine warns you that a 64-bit version of Microsoft Office is already installed, you must start it manually by the command prompt “cmd”, from the file location and also with the parameter “/quiet” behind the file name.

Command Promt

How to correctly set the layout of my label? (Part 1)

The size

Let’s see some tips, to find more easily the size of a label and especially to avoid mixing the measures.

Label Creator WizardThe easiest way is, to use the information given in the label designation, or if applicable on the packaging and inside the roll.
The first number corresponds to the width and the second to the height.

Label formatThereby, with a:

  • Format 60×40 mm ⇒ width = 60 mm and height = 40 mm
  • Format 100×150 mm ⇒ width = 100 mm and height = 150 mm

You can also directly measure the size of the label. But in this case, you must be careful to correctly identify the width.

Printing width
Label width
compared to
Printing width
compared to
Label roll width
Label roll

The height coincides then with the label feed, in the printing direction or in the unwinding direction of label roll. The size of the label is therefore independent of its orientation and also of the reading direction!

Click on the following link, to see some examples of measurements:

Install and configure a printer connected to the network

You will use cablabel S3 with a cab printer connected to the network?

To connect the printer, you need first to:

  1. Connect the cab printer to the network with a not provided Ethernet cable or if appropriate by Wi-Fi.
  2. After that restart the printer.
  3. And search in the « Short status » menu, the information about the IPv4 address corresponding to your used connection type.

Short status information

Attention: for the assignment or reservation of an IP address, please contact your system administrator.

To configure cablabel S3 you need to:

  1. First, install or update your cablabel S3 version.
  2. After that add a new device corresponding to your model.
  3. Then select the « TCP » port type and fill in the IP address previously collected on the printer.

Port settings

Notice: the installation of the Windows driver is only necessary for the MACH1 and MACH2 printers, or if you want to use a cab printer from the network with any other software.

For more information or for an installation of the Windows driver, download the detailed guide:

Reset a label’s serial number on the memory card

You want to store a label with a serial number on the memory card of your cab printer? And for example in case of a date change, automatically reset the serial number?

Therefore, offers cablabel S3 Pro since version 1.1.0.2 the new type of formulas “Standalone files”.

With these, it is possible to read .log and .tmp files that are already stored on the memory card, to update them with the corresponding day, month or year, and then to save them again on the card. The programming manual of your cab printer provides more information on these commands.

Download the programming manual at:

See the following label samples with serial number resets:

Double sided labels

You want to print a label on a double sided printer?

In this case, the label width needs to be defined as the double of the real width. First half of the label matches with the back (verso) of the label and the second half with the front (recto).

Double sided labels

Notice: this « XD4T.stc » label is available in the samples folder provided with your version 1.1.0.2 of cablabel S3 Lite and Pro.

Download example file:

How can I change the display order of the prompt fields?

The display of several prompt fields, is simply ordered according to their positions in the layers.

Promt order

This same order will then also be used in the prompt list of cablabel S3 Print, as well as on the printer in standalone mode.

Stand alone

Attention: depending to their embedding, in for example a formula or a query, the order will be defined automatically.