Cover V10, I05

may2001.tar


Listing 4 intermec.h

 * Intermec label format and print commands
 * Author:  Ed Schaefer
 */

/* Intermec label format commands */
static char *load_intermec_label[] =
   {
   "<STX><ESC>C<ETX>", /* Select Advanced Mode */
   "<STX><ESC>P<ETX>", /* Enter Programming mode */
   "<STX>E4;F4;<ETX>", /* erase and choose label format 4 */
   "<STX>H0;o0020,0032;f0;c2;h004;w004;r0;b0;d1,10;<ETX>",   /* field 1*/
   "<STX>B1;o0020,0090;c0,0;f0;h060;w002;r1;i0;d1,10;<ETX>", /* field 2*/
   "<STX>H2;o0020,0162;f0;h002;w002;c0;r0;b0;d1,10;<ETX>",   /* field 3*/
   "<STX>B3;o0020,0184;c0,0;f0;h054;w002;r1;i0;d1,10;<ETX>", /* field 4*/
   "<STX>H4;o0020,0258;f0;h002;w002;c0;r0;b0;d1,10;<ETX>",   /* field 5 */
   "<STX>B5;o0020,0285;c0,0;f0;h058;w002;r0;i0;d1,10;<ETX>", /* field 6 */
   "<STX>H7;o0450,0040;f0;c0;h002;w002;r0;b0;d3,TEST TEST;<ETX>",   
   "<STX>U9,CEMARK;o0450,0285;f0;c0;<ETX>",
   "<STX>R<ETX>",      /* save and exit to Print Mode */
   (char *) NULL
   }; 

/* print Intermec label commands, label No. 1 */
static char *print_intermec_label1[] =
   {
   "<STX><ESC>E4<ETX>", /* Select Label 4 */
   "<STX><CAN><ETX>",   /* Erase all old data */
   "<STX>PRODUCT1<CR><ETX>", /* Human Readable */
   "<STX>PRODUCT1<CR><ETX>", /* Bar Code */
   "<STX>VERSION-1<CR><ETX>",/* Human Readable */
   "<STX>VERSION-1<CR><ETX>",/* Bar Code */
   "<STX>SN001<CR><ETX>",    /* Human Readable */
   "<STX>SN001<CR><ETX>",    /* Bar Code */
   "<STX><ETB><ETX>",    /* Print the label */
   (char *) NULL
   }; 

/* print Intermec label commands, label No. 2 */
static char *print_intermec_label2[] =
   {
   "<STX><ESC>E4<ETX>", /* Select Label 4 */
   "<STX><CAN><ETX>",   /* Erase all old data */
   "<STX>PRODUCT2<CR><ETX>", /* Human Readable */
   "<STX>PRODUCT2<CR><ETX>", /* Bar Code */
   "<STX>VERSION-2<CR><ETX>",/* Human Readable */
   "<STX>VERSION-2<CR><ETX>",/* Bar Code */
   "<STX>SN002<CR><ETX>",    /* Human Readable */
   "<STX>SN002<CR><ETX>",    /* Bar Code */
   "<STX><ETB><ETX>",    /* Print the label */
   (char *) NULL
   };  /* end intermec.h */

/*