Stuga Zebra Label Batch File Specification : Différence entre versions

[version en cours de rédaction][version en cours de rédaction]
(Page créée avec « {{Tuto Details |Main_Picture=Adding_Machine_Build_Number_to_Label_IMG_1601.jpg |Description=<translate>The requirement is for a separate file to directly print labels from... »)
 
 
(3 révisions intermédiaires par le même utilisateur non affichées)
Ligne 5 : Ligne 5 :
 
|Tags=Zebra, Label, ZPL, Format, Specification
 
|Tags=Zebra, Label, ZPL, Format, Specification
 
}}
 
}}
<translate>= Specification for Zebra Printer File Format =
+
<translate>21/07/2025 Moved to confluence
{| class="wikitable" border="1" cellspacing="0" cellpadding="0"
 
| width="83" valign="top" |'''Extension'''
 
| width="473" valign="top" |'''Description'''
 
|-
 
| width="83" valign="top" |449
 
| width="473" valign="top" |Stuga Saw link  containing piece sawing and prepping information
 
|-
 
| width="83" valign="top" |PRN
 
| width="473" valign="top" |Stuga Label file to drive standard  printers
 
|-
 
| width="83" valign="top" |ZEB
 
| width="473" valign="top" |Additional file to drive zebra printers  directly for third-party software barcode tracking
 
|}
 
  
 
+
[https://stuga-ltd.atlassian.net/wiki/external/MDg3NjdmNWJmMGViNGI3OGE1NDdlNTIyZmE5ODc1MGY Please click here]</translate>
The file will consist of Zebra print records in the following format:
 
<br /><syntaxhighlight>
 
Z,<PieceNo>,<LabelData>
 
</syntaxhighlight><br />
 
{| class="wikitable" border="1" cellspacing="0" cellpadding="0"
 
| width="83" valign="top" |'''''Field'''''
 
| width="64" valign="top" |'''''Length'''''
 
| width="144" valign="top" |'''''Description'''''
 
| width="302" valign="top" |'''''Example'''''
 
|-
 
| width="83" valign="top" |Z
 
| width="64" valign="top" |1A
 
| width="144" valign="top" |Z signifies a zebra record
 
| width="302" valign="top" |Z
 
|-
 
| width="83" valign="top" |PieceNo
 
| width="64" valign="top" |12A
 
| width="144" valign="top" |Piece number from 449 file
 
| width="302" valign="top" |000000000001
 
|-
 
| width="83" valign="top" |LabelData
 
| width="64" valign="top" |256A
 
| width="144" valign="top" |Data to send to printer
 
| width="302" valign="top" |^XA^LH30,30^FO20,10^AD^FDZEBRA^FS^XZ
 
|}
 
<br />
 
 
 
== Notes ==
 
1.       DO NOT exceed the maximum field lengths
 
 
 
2.       There may be several records / lables for each piece, each record is one label
 
 
 
3.       All piece records must be grouped together. Printing will end when the pieceno group stops.
 
 
 
4.       Records must end with <CR> <LF>.
 
 
 
5.       The file name will be the same as the saw (.449) batch name with a .ZEB extension.
 
<br />
 
 
 
== Example (This is not valid Zebra printer language) ==
 
<syntaxhighlight>
 
Z,000000000001,^XA^LH30,30^XA^LH30,30^FO20,10^AD^FDZEBRA^FS^XZ
 
Z,000000000001,^AD^FDLine1^FS^XZ^XA^LH30,30^FO20,10^AD^FDZEBRA^FS^XZ
 
Z,000000000001,^AD^FDLine2^FS^XZ^XA^LH30,30^FO20,10^AD^FDZEBRA^FS^XZ
 
Z,000000000002,^XA^LH30,30^XA^LH30,30^FO20,10^AD^FDZEBRA^FS^XZ
 
Z,000000000002,^AD^FDLine1^FS^XZ^XA^LH30,30^FO20,10^AD^FDZEBRA^FS^XZ
 
Z,000000000002,^AD^FDLine2^FS^XZ^XA^LH30,30^FO20,10^AD^FDZEBRA^FS^XZ
 
</syntaxhighlight><br />
 
 
 
== Label Size ==
 
If using Stuga standard labels, the label should be formatted to 34mm x 101mm. However this can be any size if the printer and labels are specified correctly.
 
 
 
The standard printer head is 200dpi.
 
 
 
 
 
 
 
 
 
                                                                                                </translate>
 
 
{{PageLang
 
{{PageLang
 +
|Language=en
 
|SourceLanguage=none
 
|SourceLanguage=none
 
|IsTranslation=0
 
|IsTranslation=0
|Language=en
 
 
}}
 
}}
 
{{AddComments}}
 
{{AddComments}}

Version actuelle datée du 21 juillet 2025 à 13:07

Auteur avatarGareth Green | Dernière modification 21/07/2025 par Gareth Green en cours de rédaction

Adding Machine Build Number to Label IMG 1601.jpg

The requirement is for a separate file to directly print labels from the Stuga machinery, driven by the third party software company. To maintain backwards compatibility, a third saw link file will be generated – a Zebra print file written in the zebra printer language. This allows graphic and font information to be transferred to create a more visually appealing label.

Sommaire

21/07/2025 Moved to confluence

Please click here

Commentaires

Draft