Listing 5 zebra.h
* Zebra label format and print commands
* Author: Ed Schaefer
*/
/* Zebra label format commands */
static char *load_zebra_label[] =
{
"^XA",
"^DFGZEBTEST^FS",
"^LH0,0",
"^FO60,60^AF,,40,28^FN1^FS", /* Field 1, Product */
"^FO60,135^B3N,N,50,N,N^FN2^FS",/* Field 2, Product */
"^FO60,200^AF,,19,15^FN3^FS", /* Field 3, Version */
"^FO60,235^B3N,N,50,N,N^FN4^FS",/* Field 4, Version */
"^FO60,300^AF,,19,15^FN5^FS", /* Field 5, SN */
"^FO60,335^B3N,N,50,N,N^FN6^FS",/* Field 6, SN */
"^FO500,80^AF,,19,15^FDTEST TEST^FS", /* TEST TEST*/
"^XZ",
(char *) NULL
};
/* print Zebra label commands, label No. 1 */
static char *print_zebra_label1[] =
{
"^XA",
"^XFGZEBTEST^FS",
"^MD30",
"^LH0,0",
"^FN1^FDPRODUCT1^FS", /* Field 1, Human Readable */
"^FN2^FDPRODUCT1^FS", /* Field 2, Bar Code */
"^FN3^FDVERSION-1^FS",/* Field 3, Human Readable */
"^FN4^FDVERSION-1^FS",/* Field 4, Bar Code */
"^FN5^FDSN001^FS", /* Field 5, Human Readable */
"^FN6^FDSN001^FS", /* Field 6, Bar Code */
"^FO500,350^XGR:CEMARK.ZPL,1,1^FS",
"^XZ",
(char *) NULL
};
/* print Zebra label commands, label No. 2 */
static char *print_zebra_label2[] =
{
"^XA",
"^XFGZEBTEST^FS",
"^MD30",
"^LH0,0",
"^FN1^FDPRODUCT2^FS", /* Field 1, Human Readable */
"^FN2^FDPRODUCT2^FS", /* Field 2, Bar Code */
"^FN3^FDVERSION-2^FS",/* Field 3, Human Readable */
"^FN4^FDVERSION-2^FS",/* Field 4, Bar Code */
"^FN5^FDSN002^FS", /* Field 5, Human Readable */
"^FN6^FDSN002^FS", /* Field 6, Bar Code */
"^FO500,350^XGR:CEMARK.ZPL,1,1^FS",
"^XZ",
(char *) NULL
}; /* end zebra.h */
/*
|