[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... ») |
|||
Ligne 5 : | Ligne 5 : | ||
|Tags=Zebra, Label, ZPL, Format, Specification | |Tags=Zebra, Label, ZPL, Format, Specification | ||
}} | }} | ||
− | <translate>= Specification for Zebra Printer File Format = | + | <translate>=Specification for Zebra Printer File Format= |
{| class="wikitable" border="1" cellspacing="0" cellpadding="0" | {| class="wikitable" border="1" cellspacing="0" cellpadding="0" | ||
| width="83" valign="top" |'''Extension''' | | width="83" valign="top" |'''Extension''' | ||
Ligne 48 : | Ligne 48 : | ||
<br /> | <br /> | ||
− | == Notes == | + | ==Notes== |
1. DO NOT exceed the maximum field lengths | 1. DO NOT exceed the maximum field lengths | ||
Ligne 60 : | Ligne 60 : | ||
<br /> | <br /> | ||
− | == Example (This is not valid Zebra printer language) == | + | ==Example (This is not valid Zebra printer language)== |
<syntaxhighlight> | <syntaxhighlight> | ||
Z,000000000001,^XA^LH30,30^XA^LH30,30^FO20,10^AD^FDZEBRA^FS^XZ | Z,000000000001,^XA^LH30,30^XA^LH30,30^FO20,10^AD^FDZEBRA^FS^XZ | ||
Ligne 70 : | Ligne 70 : | ||
</syntaxhighlight><br /> | </syntaxhighlight><br /> | ||
− | == Label Size == | + | ==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. | 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. | The standard printer head is 200dpi. | ||
+ | = Checking Output Data = | ||
+ | There is a really useful online tool for checking the output data | ||
+ | http://labelary.com/viewer.html | ||
+ | The output code for a label can be pasted in to the box and it will render the output on screen instantly | ||
+ | <br /> | ||
− | + | = Stuga Controlled Fields = | |
+ | Special field codes are allowed to enable the Stuga machine to replace a given string of characters with live data that is not avalaible when the label file is created, for example the machine build number that produces the part, or the time and date of production. This data is very useful for tracing changes and diagnostics | ||
+ | <br /> | ||
+ | {| class="wikitable" | ||
+ | |+Field Specification | ||
+ | !Field Code | ||
+ | !Replacement on Printing | ||
+ | !Example | ||
+ | |- | ||
+ | |$$BuildNo$$ | ||
+ | |Unique Build number of machine | ||
+ | |Z087 | ||
+ | |- | ||
+ | |$$Date$$ | ||
+ | |Date of production (dd/mm/yy) | ||
+ | |12/08/22 | ||
+ | |- | ||
+ | |$$Time$$ | ||
+ | |Time of Production (hh:mm:ss) | ||
+ | |15:32:17 | ||
+ | |} | ||
+ | The text is replaced in the zebre string so will be subject to whatever formatting the surrounding characters are.</translate> | ||
{{PageLang | {{PageLang | ||
+ | |Language=en | ||
|SourceLanguage=none | |SourceLanguage=none | ||
|IsTranslation=0 | |IsTranslation=0 | ||
− | |||
}} | }} | ||
{{AddComments}} | {{AddComments}} |
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.
Auteur Gareth Green | Dernière modification 25/06/2024 par Gareth Green en cours de rédaction ⧼frevu-button-review-label⧽
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.
Zebra, Label, ZPL, Format, Specification Adding_Machine_Build_Number_to_Label_IMG_1601.jpg
Extension | Description |
449 | Stuga Saw link containing piece sawing and prepping information |
PRN | Stuga Label file to drive standard printers |
ZEB | Additional file to drive zebra printers directly for third-party software barcode tracking |
The file will consist of Zebra print records in the following format:
Z,<PieceNo>,<LabelData>
Field | Length | Description | Example |
Z | 1A | Z signifies a zebra record | Z |
PieceNo | 12A | Piece number from 449 file | 000000000001 |
LabelData | 256A | Data to send to printer | ^XA^LH30,30^FO20,10^AD^FDZEBRA^FS^XZ |
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.
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
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.
There is a really useful online tool for checking the output data
http://labelary.com/viewer.html
The output code for a label can be pasted in to the box and it will render the output on screen instantly
Special field codes are allowed to enable the Stuga machine to replace a given string of characters with live data that is not avalaible when the label file is created, for example the machine build number that produces the part, or the time and date of production. This data is very useful for tracing changes and diagnostics
Field Code | Replacement on Printing | Example |
---|---|---|
$$BuildNo$$ | Unique Build number of machine | Z087 |
$$Date$$ | Date of production (dd/mm/yy) | 12/08/22 |
$$Time$$ | Time of Production (hh:mm:ss) | 15:32:17 |
The text is replaced in the zebre string so will be subject to whatever formatting the surrounding characters are. en none 0
Draft
Vous avez entré un nom de page invalide, avec un ou plusieurs caractères suivants :
< > @ ~ : * € £ ` + = / \ | [ ] { } ; ? #