This is the help for version 1.0. Open this page in version 1.1, the newest.
Help · version 1.0
Label destinations GESXNQLD
ContentsA destination is where a label goes: a directory that the label files are written into, where a
queue script takes each file and sends it to a printer; or BarTender, which prints a BarTender
label through a connection. Labels comes with an example queue script, XNQL_QUEUE.ps1, which
sends a directory’s files to a printer that takes ZPL, such as a Zebra; the install guide says
how to run it.
Prerequisites. For a file destination, the directory exists on the server that runs X3’s sessions, and X3 is allowed to write there (see the install guide). For a BarTender destination, a BarTender connection.
Header
| Field | What to enter |
|---|---|
| Destination code | Up to 20 characters: A–Z, 0–9 and _, starting with a letter. |
| Description | A description of the destination. |
| Active | Only an active destination can be printed to. |
Tab Transport
| Field | What to enter |
|---|---|
| Type | File or BarTender. Changing it empties and greys the fields of the other type. |
| Path | File: the directory, as the X3 server sees it, such as E:\Labels\Receiving. Required (message 21). |
| BarTender connection | BarTender: the connection to BarTender (BarTender connections). Required (message 90). |
| BarTender printer | BarTender: the printer as BarTender names it, printer:<computer>/<printer> for one a BarTender Print Gateway shares, or PDF. Required (message 90). |
A ZPL label or a data file prints to a File destination, a BarTender label to a BarTender one (message 88).
Printing to BarTender. Each row is one request to BarTender, which prints the label’s document to the destination’s printer with the row’s values and copies. X3 waits for BarTender’s answer up to 30 seconds a row. A row BarTender printed is OK; one it refused is Error with BarTender’s answer (message 94); look at the job in BarTender before printing it again, since a row still running after the 30 seconds may still print. When BarTender cannot be reached, every row of the job gets message 93, and a refused sign-in to BarTender Cloud message 92.
The files. Each printed row is one file named <folder>_<job>_<line>_<time>.zpl, or .csv or
.json for a data file: the X3
folder, the job number, the job line in five digits and the time of the print in UTC, such as
SEED_LJ00000123_00001_20261001T101500Z.zpl. The names sort in print order. A file is written
first as .zpl.tmp and renamed when it is whole, so a queue script that takes *.zpl in name
order never finds half a label. With several copies, the file holds the label that many times.
Files are UTF-8.
Whether X3 may write into the directory is known only when it prints: a directory it may not write gives every line of the job message 45, and a file that cannot be written message 47. The labels are logged first, so nothing is lost: print the lines again from the log once the directory is put right. A destination that a label’s Print from line names cannot be deleted.
Stuck? Ask your Sage partner, or write to info@nortiqo.com.